Project

General

Profile

This project is closed and read-only.

Actions

Bug #2719

closed

Segfault during multiple calls to C embedded Ruby interpreter through dlopen

Bug #2719: Segfault during multiple calls to C embedded Ruby interpreter through dlopen

Added by marchaland (David MARCHALAND) over 16 years ago. Updated over 15 years ago.

Status:
Rejected
Assignee:
-
ruby -v:
ruby 1.8.7 (2009-12-24 patchlevel 248) [x86_64-linux]
[ruby-core:28095]

Description

=begin
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
=end


Files

testcase.txt (2.17 KB) testcase.txt marchaland (David MARCHALAND), 02/07/2010 11:50 PM

Related issues 1 (0 open — 1 closed)

Has duplicate Backport191 - Feature #2720: Segfault during multiple calls to C embedded Ruby wrapped with dl libraryRejectedActions
Actions

Also available in: PDF Atom