[MacRuby-devel] [MacRuby] #776: Segfault occurs with empty `case' clause and splat argument `when' clause.

MacRuby ruby-noreply at macosforge.org
Thu Jul 8 12:03:21 PDT 2010


#776: Segfault occurs with empty `case' clause and splat argument `when' clause.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by martinlagardette@…):

 And here's the backtrace:
 {{{

 (gdb) r
 Starting program: /usr/local/bin/macruby test.rb

 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000010
 0x00000001000fbf1a in rb_pointer_new2 ()
 (gdb) bt
 #0  0x00000001000fbf1a in rb_pointer_new2 ()
 #1  0x00000001008aac43 in LLVMLinkInJIT ()
 #2  0x000000010012226e in rb_vm_get_opaque_data ()
 #3  0x00000001001071b6 in rb_vm_get_opaque_data ()
 #4  0x000000010010fcec in rb_vm_get_opaque_data ()
 #5  0x00000001001183e3 in rb_vm_get_opaque_data ()
 #6  0x0000000100125790 in rb_vm_get_opaque_data ()
 #7  0x000000010011a7dc in rb_vm_get_opaque_data ()
 #8  0x0000000100125dcf in rb_vm_get_opaque_data ()
 #9  0x00000001001170fb in rb_vm_get_opaque_data ()
 #10 0x000000010013c943 in rb_vm_run ()
 #11 0x000000010002f530 in ruby_run_node ()
 #12 0x0000000100000cf8 in main ()
 (gdb)
 }}}

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



More information about the MacRuby-devel mailing list