#633: Segmentation fault using Net::SMTP on background thread -----------------------------------+---------------------------------------- Reporter: wbyo...@… | Owner: lsansone...@… Type: defect | Status: closed Priority: major | Milestone: Component: MacRuby | Resolution: invalid Keywords: | -----------------------------------+---------------------------------------- Changes (by lsansone...@…):
* 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/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel