[MacRuby] #1494: Bignum#=== causes a crash

MacRuby ruby-noreply at macosforge.org
Mon Apr 2 06:01:05 PDT 2012


#1494: Bignum#=== causes a crash
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by watson1978@…):

 Backtrace:
 {{{
 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: 13 at address: 0x0000000000000000
 0x00007fff9856995b in _class_getSuperclass ()
 (gdb) bt
 #0  0x00007fff9856995b in _class_getSuperclass ()
 #1  0x0000000100026944 in foundation_type (k=0xc00000003a3d3d3d) at
 class.c:1344
 #2  0x00000001000269e8 in rb_objc_type (obj=4316040096) at class.c:1364
 #3  0x00000001000109a7 in rb_type (obj=4316040096) at ruby.h:965
 #4  0x0000000100016cdf in rb_big_eq (x=17184690944, y=4316040096) at
 bignum.c:1572
 #5  0x00000001001bb0af in __rb_vm_rcall [inlined] () at /Users/watson/src
 /macruby-master/dispatcher.cpp:161
 #6  0x00000001001bb0af in ruby_dispatch [inlined] () at /Users/watson/src
 /macruby-master/dispatcher.cpp:466
 #7  0x00000001001bb0af in rb_vm_dispatch () at dispatcher.cpp:874
 #8  0x00000001017004f4 in ?? ()
 #9  0x00000001017001e0 in ?? ()
 #10 0x000000010170003e in ?? ()
 #11 0x00000001001dce6f in rb_vm_run (fname=0x400497d80
 "/Users/watson/tmp/test_bignum.rb", node=0x400499f00, binding=0x0,
 inside_eval=false)
     at vm.cpp:4187
 #12 0x000000010003cb31 in ruby_run_node (n=0x400499f00) at eval.c:211
 #13 0x0000000100000c0d in main (argc=2, argv=0x101415750,
 envp=0x7fff5fbff700) at main.cpp:40
 (gdb)
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1494#comment:1>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list