[MacRuby-devel] [MacRuby] #604: EXC_BAD_ACCESS while opening stream

MacRuby ruby-noreply at macosforge.org
Mon Feb 8 04:35:07 PST 2010


#604: EXC_BAD_ACCESS while opening stream
-----------------------------------+----------------------------------------
 Reporter:  jakub.suder@…          |       Owner:  lsansonetti@…        
     Type:  defect                 |      Status:  new                  
 Priority:  critical               |   Milestone:                       
Component:  MacRuby                |    Keywords:                       
-----------------------------------+----------------------------------------

Comment(by martinlagardette@…):

 Laurent: the crash comes from the fact that rb_f_open receives argc == 4
 with argv == 0x0.
 I don't know why rb_f_open is called here, since the code should be
 dealing with C / CF sockets. I guess this is the issue that should be
 looked upon, but as a temporary fix, a quick check of argc NULL-ness makes
 the whole thing work (see io.c.diff).

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



More information about the MacRuby-devel mailing list