[Pyobjc-dev] [ pyobjc-Bugs-1741095 ] Crashes if Obj-C throws a non-NSException
Brought to you by:
ronaldoussoren
From: SourceForge.net <no...@so...> - 2007-06-21 17:40:29
|
Bugs item #1741095, was opened at 2007-06-21 13:40 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=1741095&group_id=14534 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Michael Tsai (michaeltsai) Assigned to: Nobody/Anonymous (nobody) Summary: Crashes if Obj-C throws a non-NSException Initial Comment: Code such as: @throw @"thrown string"; causes a crash: Thread 0 Crashed: 0 com.apple.Foundation 0x9282747f _NSRaiseError + 227 1 com.apple.Foundation 0x9284e23f +[NSException raise:format:] + 57 2 com.apple.Foundation 0x928d64be -[NSObject doesNotRecognizeSelector:] + 123 3 com.apple.Foundation 0x927fa34b -[NSObject(NSForwardInvocation) forward::] + 184 4 libobjc.A.dylib 0x90a5ccc1 _objc_msgForward + 49 5 _objc.so 0x010227bd PyObjCErr_FromObjC + 35 (objc_util.m:69) because PyObjCErr_FromObjC assumes that the raised object responds to -name and -reason. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=1741095&group_id=14534 |