Red Hat Bugzilla – Bug 843199
Ruby bindings segfault in event callbacks when the Ruby GC is invoked.
Last modified: 2012-09-28 09:03:20 EDT
+++ This bug was initially created as a clone of Bug #843188 +++
Description of problem:
Initial report is here, with a partial stack trace:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. unknown at present
--- Additional comment from email@example.com on 2012-07-25 17:34:14 EDT ---
Created attachment 600404 [details]
This small script reproduces the bug.
Save it to a file, chmod +x the script and run it. It will
cause a segfault.
If you comment out the line that calls g.set_event_callback
then it won't segfault, proving that the problem is with
We got to the bottom of this bug (see:
and essentially the problem is that the Ruby 1.8 garbage
collector is broken by design.
This problem is unfixable, except by moving to Ruby 1.9
or not using Ruby.