#604: EXC_BAD_ACCESS while opening stream
-----------------------------------+----------------------------------------
Reporter: jakub.su...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: critical | Milestone:
Component: MacRuby | Keywords:
-----------------------------------+----------------------------------------
Comment(by martinlagarde...@…):
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/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel