Bug #2719: Segfault during multiple calls to C embedded Ruby interpreter through dlopen
http://redmine.ruby-lang.org/issues/show/2719

Author: David MARCHALAND
Status: Open, Priority: Normal
ruby -v: ruby 1.8.7 (2009-12-24 patchlevel 248) [x86_64-linux]

Hi,

I try to embed a Ruby interpreter into an application through a shared library. This application can call more than one time Ruby interpreter. In the attached testcase, first call works as expected but next calls create a segmentation fault.

Any idea of what is wrong in my code or is it really a Ruby bug? I use Ruby 1.8.7-p248.

Thanks for your consideration,
David


----------------------------------------
http://redmine.ruby-lang.org