[MacRuby-devel] [MacRuby] #645: Segmentation Fault using File::sysseek

MacRuby ruby-noreply at macosforge.org
Sat Apr 3 10:03:48 PDT 2010


#645: Segmentation Fault using File::sysseek
----------------------------+-----------------------------------------------
 Reporter:  foranje@…       |       Owner:  lsansonetti@…        
     Type:  defect          |      Status:  new                  
 Priority:  blocker         |   Milestone:                       
Component:  MacRuby         |    Keywords:                       
----------------------------+-----------------------------------------------

Comment(by martinlagardette@…):

 Laurent, the stack trace is the following:

 {{{
 Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
 0   libSystem.B.dylib                   0x00007fff8773f886 __kill + 10
 1   libSystem.B.dylib                   0x00007fff877dfeae abort + 83
 2   libmacruby.dylib                    0x000000010004317d rb_bug + 205
 (error.c:229)
 3   libmacruby.dylib                    0x00000001000be660 sigbus + 0
 (signal.c:378)
 4   libSystem.B.dylib                   0x00007fff8775180a _sigtramp + 26
 5   libobjc.A.dylib                     0x00007fff875e96e5
 _class_isMetaClass + 11
 6   libobjc.A.dylib                     0x00007fff875ec466
 class_isMetaClass + 9
 7   libmacruby.dylib                    0x0000000100067444 rb_num2long +
 388 (ruby.h:1185)
 8   libmacruby.dylib                    0x0000000100059c7b rb_io_seek + 43
 (io.c:562)
 9   libmacruby.dylib                    0x000000010014b98b rb_vm_dispatch
 + 6635 (dispatcher.cpp:449)
 10  ???                                 0x0000000101100138 0 + 4312793400
 11  libmacruby.dylib                    0x000000010015f4bf rb_vm_run + 351
 (vm.cpp:3976)
 12  libmacruby.dylib                    0x00000001000451e9 ruby_run_node +
 73 (eval.c:201)
 13  macruby                             0x0000000100000d28 main + 152
 (main.cpp:40)
 14  macruby                             0x0000000100000c88 start + 52
 }}}

 Is that the problem with the `NSNumber` bridge?

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



More information about the MacRuby-devel mailing list