From: Ryan Davis Date: 2010-03-23T19:11:15+09:00 Subject: [ruby-core:28884] null dereference in 1.8.7 This was reported in IRC, but I haven't seen it here so I'm sending it in just in case. --- 506 % gdb --args ~/.multiruby/install/1.8.7-p174/bin/ruby -e 'Time.now while true' (gdb) r Starting program: /Users/ryan/.multiruby/install/1.8.7-p174/bin/ruby -e Time.now\ while\ true Reading symbols for shared libraries +++... done Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000008 rb_newobj () at gc.c:439 439 freelist = freelist->as.free.next; (gdb) bt #0 rb_newobj () at gc.c:439 #1 0x000000010003c19d in rb_data_object_alloc (klass=4296737920, datap=0x1002bd250, dmark=0, dfree=0x100093b60 ) at gc.c:455 #2 0x00000001000945b3 in time_s_alloc (klass=4296737920) at time.c:54 #3 0x0000000100028140 in rb_call0 (klass=4296737880, recv=4296737920, id=1, oid=1, argc=0, argv=0x0, body=0x1001b0408, flags=) at eval.c:5917 #4 0x000000010002847b in rb_call (klass=4296737880, recv=4296737920, mid=1, argc=0, argv=0x0, scope=1, self=6) at eval.c:6164 #5 0x0000000100028a9a in vafuncall (recv=4296737920, mid=1, n=, ar=) at eval.c:6241 #6 0x0000000100028d26 in rb_funcall (recv=, mid=, n=) at eval.c:6258 #7 0x0000000100052670 in rb_obj_alloc (klass=4296737920) at object.c:1606 #8 0x0000000100052f42 in rb_class_new_instance (argc=0, argv=0x0, klass=) at object.c:1643 #9 0x0000000100028140 in rb_call0 (klass=4296737880, recv=4296737920, id=8753, oid=8753, argc=0, argv=0x0, body=0x1001b03b8, flags=) at eval.c:5917 #10 0x000000010002847b in rb_call (klass=4296737880, recv=4296737920, mid=8753, argc=0, argv=0x0, scope=0, self=4296835720) at eval.c:6164 #11 0x000000010002185b in rb_eval (self=4296835720, n=) at eval.c:3503 #12 0x000000010002268b in rb_eval (self=, n=) at eval.c:3157 #13 0x000000010003434b in ruby_exec_internal () at eval.c:1652 #14 0x0000000100034388 in ruby_exec () at eval.c:1672 #15 0x00000001000343b0 in ruby_run () at eval.c:1682 #16 0x0000000100000ee4 in main (argc=, argv=, envp=) at main.c:48