From: "NARUSE, Yui" Date: 2010-08-24T13:33:35+09:00 Subject: [ruby-core:31838] Re: GC changes from 1.9.2-rc2 to 1.9.2 final 2010/8/24 Jason Roelofs : > A library I maintain (http://rice.rubyforge.org) has been running great through the various 1.9.2 development and release candidates. RC1 and RC2 ran perfectly, but now that 1.9.2 is final, I get segfaults on rb_gc_unregister_address. The same code runs fine under 1.8.6, 1.8.7, and as I mentioned the 1.9.2 release candidates. It's a sad thing... > I've been completely unable to track this down or even build a test case outside of the library, so I'm here wondering what changed between RC2 and final that would cause this method to segfault. The best I can figure is there might be a double-free going on, but I'd love some pointers if anyone can help. Only following change was done in ruby_1_9_2 after RC2: * gc.c (rb_objspace_each_objects): adjust indent. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_9_2/gc.c?view=log So it seems a bug which introduced by some bug fixes. We can't know which is the one, so please make a reproducing code. -- NARUSE, Yui naruse@airemix.jp