[fxruby-users] "object allocation during garbage collection phase" on Ruby 1.8.7

Melton, Ryan rmelton at ball.com
Fri Aug 8 12:46:39 EDT 2008


Lyle,

 

I am running into this issue using FXRuby 1.6.16 with Ruby 1.8.7-p22 on
Solaris 10.

Programs are dying with the message "object allocation during garbage
collection phase"

 

Here is a similar discussion from other libraries:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487204

 

For now it looks like I will be downgrading to Ruby 1.8.6.

 

Here is the backtrace from ddd:

#0  0xff245bf0 in _lwp_kill () from /lib/libc.so.1

#1  0xff1e4bfc in raise () from /lib/libc.so.1

#2  0xff1c1100 in abort () from /lib/libc.so.1

#3  0x000a774c in rb_bug (fmt=0xac908 "object allocation during garbage
collection phase") at error.c:213

#4  0x00039654 in rb_newobj () at gc.c:422

#5  0x00025540 in rb_call0 (klass=7931952, recv=17548608, id=24785,
oid=24785, argc=6, argv=0xffbfb998, body=0x78f0a8, flags=0) at
eval.c:5945

#6  0x000266bc in rb_call (klass=7931952, recv=17548608, mid=24785,
argc=6, argv=0xffbfb998, scope=1, self=6) at eval.c:6146

#7  0x0002725c in vafuncall (recv=17548608, mid=24785, n=6,
ar=0xffbfba24) at ruby.h:696

#8  0x00027390 in rb_funcall (recv=17548608, mid=24785, n=6) at
eval.c:6240

#9  0xfec1ed24 in FXRbCallVoidMethod<FX::FXTable const*, FX::FXDC, int,
int, int, int> (recv=0xae4ee8, func=24785, arg1=0x184c890,
arg2=@0xffbfd2b0, arg3=10, arg4=10, arg5=106, arg6=20) at
include/FXRuby.h:396

#10 0xfe98f5ec in FXRbTableItem::drawContent (this=0xae4ee8,
table=0x184c890, dc=@0xffbfd2b0, x=10, y=10, w=106, h=20) at
impl.cpp:1011

#11 0xfe29c450 in FX::FXTableItem::draw (this=0xae4ee8, table=0x184c890,
dc=@0xffbfd2b0, x=10, y=10, w=106, h=20) at FXTable.cpp:362

#12 0xfe98f49c in FXRbTableItem::public_draw (this=0xae4ee8,
table=0x184c890, dc=@0xffbfd2b0, x=10, y=10, w=106, h=20) at
impl.cpp:1011

#13 0xfec34c38 in FXTableItem_draw (self=0xae4ee8, table=0x184c890,
dc=@0xffbfd2b0, x=10, y=10, w=106, h=20) at include/inlinestubs.h:1010

#14 0xfeaa92dc in _wrap_FXTableItem_draw (argc=6, argv=0xffbfbf80,
self=17548608) at table_wrap.cpp:917

#15 0x00025bf4 in rb_call0 (klass=5352528, recv=17548608, id=47449,
oid=47449, argc=6, argv=0xffbfbf80, body=0x51a968, flags=0) at
eval.c:5751

#16 0x000266bc in rb_call (klass=5352528, recv=17548608, mid=47449,
argc=6, argv=0xffbfbf80, scope=1, self=6) at eval.c:6146

#17 0x0002725c in vafuncall (recv=17548608, mid=47449, n=6,
ar=0xffbfc00c) at ruby.h:696

#18 0x00027390 in rb_funcall (recv=17548608, mid=47449, n=6) at
eval.c:6240

#19 0xfec1ed24 in FXRbCallVoidMethod<FX::FXTable const*, FX::FXDC, int,
int, int, int> (recv=0xae4ee8, func=47449, arg1=0x184c890,
arg2=@0xffbfd2b0, arg3=10, arg4=10, arg5=106, arg6=20) at
include/FXRuby.h:396

#20 0xfe98f44c in FXRbTableItem::draw (this=0xae4ee8, table=0x184c890,
dc=@0xffbfd2b0, x=10, y=10, w=106, h=20) at impl.cpp:1011

#21 0xfe2a31fc in FX::FXTable::drawCell (this=0x184c890, dc=@0xffbfd2b0,
sr=0, er=0, sc=0, ec=0) at FXTable.cpp:2346

#22 0xfe990c5c in FXRbTable::public_drawCell (this=0x184c890,
dc=@0xffbfd2b0, sr=0, er=0, sc=0, ec=0) at impl.cpp:1019

#23 0xfec35f04 in FXTable_drawCell (self=0x184c890, dc=@0xffbfd2b0,
sr=0, er=0, sc=0, ec=0) at include/inlinestubs.h:1018

#24 0xfeac00e0 in _wrap_FXTable_drawCell (argc=5, argv=0xffbfc548,
self=7455288) at table_wrap.cpp:2394

#25 0x00025bf4 in rb_call0 (klass=5350632, recv=7455288, id=56721,
oid=56721, argc=5, argv=0xffbfc548, body=0x517590, flags=0) at
eval.c:5751

#26 0x000266bc in rb_call (klass=5350632, recv=7455288, mid=56721,
argc=5, argv=0xffbfc548, scope=1, self=6) at eval.c:6146

#27 0x0002725c in vafuncall (recv=7455288, mid=56721, n=5,
ar=0xffbfc5d4) at ruby.h:696

#28 0x00027390 in rb_funcall (recv=7455288, mid=56721, n=5) at
eval.c:6240

#29 0xfec1efb8 in FXRbCallVoidMethod<FX::FXDC, int, int, int, int>
(recv=0x184c890, func=56721, arg1=@0xffbfd2b0, arg2=0, arg3=0, arg4=0,
arg5=0) at include/FXRuby.h:381

#30 0xfe990c14 in FXRbTable::drawCell (this=0x184c890, dc=@0xffbfd2b0,
sr=0, er=0, sc=0, ec=0) at impl.cpp:1019

#31 0xfe2a33e0 in FX::FXTable::drawRange (this=0x184c890,
dc=@0xffbfd2b0, rlo=0, rhi=14, clo=0, chi=1) at FXTable.cpp:2371

#32 0xfe990d1c in FXRbTable::public_drawRange (this=0x184c890,
dc=@0xffbfd2b0, rlo=0, rhi=14, clo=0, chi=1) at impl.cpp:1019

#33 0xfec36018 in FXTable_drawRange (self=0x184c890, dc=@0xffbfd2b0,
rlo=0, rhi=14, clo=0, chi=1) at include/inlinestubs.h:1018

#34 0xfeac0384 in _wrap_FXTable_drawRange (argc=5, argv=0xffbfcb00,
self=7455288) at table_wrap.cpp:2401

#35 0x00025bf4 in rb_call0 (klass=5350632, recv=7455288, id=56729,
oid=56729, argc=5, argv=0xffbfcb00, body=0x517560, flags=0) at
eval.c:5751

#36 0x000266bc in rb_call (klass=5350632, recv=7455288, mid=56729,
argc=5, argv=0xffbfcb00, scope=1, self=6) at eval.c:6146

#37 0x0002725c in vafuncall (recv=7455288, mid=56729, n=5,
ar=0xffbfcb8c) at ruby.h:696

#38 0x00027390 in rb_funcall (recv=7455288, mid=56729, n=5) at
eval.c:6240

#39 0xfec1efb8 in FXRbCallVoidMethod<FX::FXDC, int, int, int, int>
(recv=0x184c890, func=56729, arg1=@0xffbfd2b0, arg2=0, arg3=14, arg4=0,
arg5=1) at include/FXRuby.h:381

#40 0xfe990cd4 in FXRbTable::drawRange (this=0x184c890, dc=@0xffbfd2b0,
rlo=0, rhi=14, clo=0, chi=1) at impl.cpp:1019

#41 0xfe2a3850 in FX::FXTable::drawContents (this=0x184c890,
dc=@0xffbfd2b0, x=1, y=10, w=-4205904, h=-4205904) at FXTable.cpp:2458

#42 0xfe990f5c in FXRbTable::public_drawContents (this=0x184c890,
dc=@0xffbfd2b0, x=116, y=10, w=115, h=295) at impl.cpp:1019

#43 0xfec36354 in FXTable_drawContents (self=0x184c890, dc=@0xffbfd2b0,
x=116, y=10, w=115, h=295) at include/inlinestubs.h:1018

#44 0xfeac0b70 in _wrap_FXTable_drawContents (argc=5, argv=0xffbfd0b8,
self=7455288) at table_wrap.cpp:2422

#45 0x00025bf4 in rb_call0 (klass=5350632, recv=7455288, id=56753,
oid=56753, argc=5, argv=0xffbfd0b8, body=0x5174d0, flags=0) at
eval.c:5751

#46 0x000266bc in rb_call (klass=5350632, recv=7455288, mid=56753,
argc=5, argv=0xffbfd0b8, scope=1, self=6) at eval.c:6146

#47 0x0002725c in vafuncall (recv=7455288, mid=56753, n=5,
ar=0xffbfd144) at ruby.h:696

#48 0x00027390 in rb_funcall (recv=7455288, mid=56753, n=5) at
eval.c:6240

#49 0xfec1efb8 in FXRbCallVoidMethod<FX::FXDC, int, int, int, int>
(recv=0x184c890, func=56753, arg1=@0xffbfd2b0, arg2=116, arg3=10,
arg4=115, arg5=295) at include/FXRuby.h:381

#50 0xfe990f14 in FXRbTable::drawContents (this=0x184c890,
dc=@0xffbfd2b0, x=116, y=10, w=115, h=295) at impl.cpp:1019

#51 0xfe2a3910 in FX::FXTable::onPaint (this=0x184c890, ptr=0xa6c930) at
FXTable.cpp:2483

#52 0xfe29d1cc in FX::FXTable::handle (this=0x184c890, sender=0xa6c828,
sel=1048576, ptr=0xa6c930) at FXTable.cpp:700

#53 0xfe88e9dc in FXRbTable::handle (this=0x184c890, sender=0xa6c828,
key=1048576, ptr=0xa6c930) at include/impl.h:482

#54 0xfe185a70 in FX::FXApp::dispatchEvent (this=0xa6c828,
ev=@0xffbfd5e0) at FXApp.cpp:2202

#55 0xfe1839d8 in FX::FXApp::runOneEvent (this=0xa6c828, blocking=true)
at FXApp.cpp:3131

#56 0xfe183a4c in FX::FXApp::run (this=0xa6c828) at FXApp.cpp:3090

#57 0xfe67f8a0 in _wrap_FXApp_run (argc=0, argv=0xffbfd988,
self=7907616) at core_wrap.cpp:3425

#58 0x00025bf4 in rb_call0 (klass=3067584, recv=7907616, id=81985,
oid=5393, argc=0, argv=0xffbfd988, body=0x2eb8a0, flags=0) at
eval.c:5751

#59 0x000266bc in rb_call (klass=3067584, recv=7907616, mid=81985,
argc=0, argv=0xffbfd988, scope=1, self=7907616) at eval.c:6146

#60 0x00023d78 in rb_eval ()

#61 0x00025af4 in rb_call0 (klass=3067584, recv=7907616, id=5393,
oid=5393, argc=0, argv=0x0, body=0x7f4ef8, flags=8343528) at eval.c:6050

#62 0x000266bc in rb_call (klass=3067584, recv=7907616, mid=5393,
argc=0, argv=0x0, scope=0, self=7925832) at eval.c:6146

#63 0x00023e64 in rb_eval ()

#64 0x00024570 in rb_eval ()

#65 0x00025af4 in rb_call0 (klass=7925688, recv=7925832, id=5393,
oid=5393, argc=0, argv=0x0, body=0x2feef0, flags=3144048) at eval.c:6050

#66 0x000266bc in rb_call (klass=7925688, recv=7925832, mid=5393,
argc=0, argv=0x0, scope=0, self=1173576) at eval.c:6146

#67 0x00023e64 in rb_eval ()

#68 0x0002e9e0 in ruby_exec_internal () at eval.c:1642

#69 0x0002ea14 in ruby_exec () at eval.c:1662

#70 0x0002fa80 in ruby_run () at eval.c:1672

#71 0x0001a67c in main (argc=2, argv=0xffbff1dc, envp=0xffbff1e8) at
main.c:48

 

Thanks,

Ryan




This message and any enclosures are intended only for the addressee.  Please  
notify the sender by email if you are not the intended recipient.  If you are  
not the intended recipient, you may not use, copy, disclose, or distribute this  
message or its contents or enclosures to any other person and any such actions  
may be unlawful.  Ball reserves the right to monitor and review all messages  
and enclosures sent to or from this email address.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20080808/4f32c3f9/attachment-0001.html>


More information about the fxruby-users mailing list