malloc error trying to run rails 3.1 app on thin
------------------------------------------------
Key: JRUBY-6164
URL: https://jira.codehaus.org/browse/JRUBY-6164
Project: JRuby
Issue Type: Bug
Components: C Extensions
Affects Versions: JRuby 1.6.4
Environment: Mac OS Lion, jruby 1.6.3 (ruby-1.8.7-p330) (2011-10-26
d9009b7) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_26) [darwin-x86_64-java]
Reporter: Mat Schaffer
Assignee: Thomas E Enebo
Error is usually along the lines of:
java(61909,0x10d6e6000) malloc: *** error for object 0x7ff14a8307c0: pointer
being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
JRuby 1.6.3 didn't have this issue, JRuby 1.6.4 and 1.6.5 do.
Git bisect (using `ant clean cext` shows the bad commit as:
d9009b75eb0dc63b17c3583549f9042135737224 is the first bad commit
commit d9009b75eb0dc63b17c3583549f9042135737224
Author: Wayne Meissner <[email protected]>
Date: Mon Aug 15 21:14:51 2011 +1000
Improve cext ruby object -> native handle GC correctness
:040000 040000 cf2e090681f2ab84eded1eda90e5daec26ba0fed
13d9c3697b91e2ed4a7303bf7ab84e9670ab0ef0 M cext
:040000 040000 f5900d637bdbd8cb82cc1f40dfc8afe2841108fd
e4f2e5f9b43b5bd4d8174ff1005f600df6ba7028 M src
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email