From: Will Yeoh Date: 2006-06-15T21:20:19+09:00 Subject: Problems with Ruby and C++ Hi all, I've been using Ruby, SWIG and C++ on Linux for my development work and am encountering some problems. The C++ consists of a built dynamic library and I'm implementing SWIG the standard way http://www.swig.org/Doc1.3/SWIGPlus.html The problem is, I seem to see memory getting corrupted when running the Ruby program which calls the C++ library. When the Ruby program is run on standalone, there are no problems. When the C++ dynamic library is run with an equivalent C++ program, there are no problems. This leads me to believe that there are some "interactions" between Ruby and the C++ library. Also, the Ruby program runs on a different thread than the C++. Has anyone encoutered anything like this before? Out of sorts :( Wooleywoolee -- Posted via http://www.ruby-forum.com/.