RubySpec #3757: GC bug after loading gem http://redmine.ruby-lang.org/issues/show/3757 Author: Joel VanderWerf Status: Open, Priority: Normal This bug is very general. All you have to do is: 1) require enough of the stdlib 2) require some gem 3) GC.stress=true 4) create a few objects See the attached gcbug.rb. The bug appears on both x86_64-linux and i686-linux. It does not happen with ruby-1.9.2, AFAICT. It does happen with both p302 and p299 of ruby-1.8.7. The bug is typically reported as one of the following: gcbug.rb:24: [BUG] Segmentation fault ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux] gcbug.rb:24: [BUG] rb_gc_mark(): unknown data type 0x18(0x1bbaf00) non object ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
on 2010-08-28 22:54
on 2010-08-30 19:36
Issue #3757 has been updated by Roger Pack. does this occur with 1.9.3dev? -r ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3757
on 2010-08-30 20:20
On 08/30/2010 10:31 AM, Roger Pack wrote: > Issue #3757 has been updated by Roger Pack. > > > does this occur with 1.9.3dev? Is there any reason to suspect it would occur in 1.9.3dev? It doesn't occur in 1.9.2.
on 2010-08-31 19:51
Issue #3757 has been updated by Roger Pack.
> Is there any reason to believe it will occur with 1.9.3dev?
It might. I ran into an odd gc bug once with 1.9.3dev and not 1.9.2 (I
think it's gone, but just checking out of curiosity..).
Thanks.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/3757
on 2010-08-31 21:53
On 08/31/2010 10:51 AM, Roger Pack wrote: >> Is there any reason to believe it will occur with 1.9.3dev? > > It might. I ran into an odd gc bug once with 1.9.3dev and not 1.9.2 (I think it's gone, but just checking out of curiosity..). Good point. I checked 1.9.3 out of svn today. I cannot recreate the bug. Anyone else see this bug on 1.8.7, or is it just me?
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.