[MacRuby-devel] [MacRuby] #633: Segmentation fault using Net::SMTP on background thread
MacRuby
ruby-noreply at macosforge.org
Tue Aug 3 19:42:28 PDT 2010
#633: Segmentation fault using Net::SMTP on background thread
-----------------------------------+----------------------------------------
Reporter: wbyoung@… | Owner: lsansonetti@…
Type: defect | Status: closed
Priority: major | Milestone:
Component: MacRuby | Resolution: invalid
Keywords: |
-----------------------------------+----------------------------------------
Changes (by lsansonetti@…):
* status: new => closed
* resolution: => invalid
Comment:
Sorry for the late reply.
It crashes when unwinding the stack, because the #execute method raises an
exception, but since it's called from pure Cocoa code (NSThread), it
cannot catch it.
There is little we can do here. I recommend to wrap the code you execute
concurrently into an exception handler (which you should always do, since
exceptions in threads will not be notified otherwise) and/or use Thread
class and not NSThread.
--
Ticket URL: <http://www.macruby.org/trac/ticket/633#comment:1>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list