site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=LrP5iIUGe6q4q2FMQTjHa3DlHpDqrMImbbqgU0M32L8=; b=j8QzBrIkxW4wVjcBf3xEJtBGDhu6KvoR8WBOEsqOZtycG/dXpOwFeyXqJCCHQfLvfW 5sVcIzics04lnwwSaWvUUX/vWMisNVJQvc/7ZuFmYH3mMiG+boT2GPTqndpj7dJ0abrk Zh14aNxiSXJ4nzlUIK73V5YZGEKfb96YQlWqw= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=ACdPN17+o46XSukyIv5yOc9x0J07H65q2c6Dwaqf2SpMfuwb2rMZDs34eVuv0YqtN1 xJ2m5aI5r8cXt6OcNNlXCQVqkLgLjTvB/I8bFL2UpkD/5dY2FQqAtmz39AS876IO/+Hj icZ00JIPNsn1lTiDND2FpSwp37g6ZYd0V1rKY= Sean, On Sep 14, 2009, at 9:57 PM, Shawn Erickson wrote: Quoting from an existing bug [2]: This is of no use since the issue is C++ stack unwinding [1]. My bad. Thanks, Joel [1] https://wiki.mozilla.org/Cocoa_In_XPCOM [2] https://bugzilla.mozilla.org/show_bug.cgi?id=163260 --- fastest mac firefox! http://wagerlabs.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Why are you attempting to catch the except at all? It looks like no attempt is made to deal with the exception and in general exceptions in Cocoa are truly exceptional and imply a mistake by the programmer. "If a cocoa exception is thrown in the middle of a gecko callback, really bad things happen (like you can no longer load any pages, for example). Cocoa exceptions are basically setjmp/longjmp, and, presumably, without a handler, will jump back to the main event loop's default handler. This will unwind the stack without any stack cleanup." I wouldn't attempt to catch the exception but instead let a top level handler get it and then make a decision to log at that point (look at NSExceptionHandler). More he Also CoreFoundation is not Carbon. This email sent to site_archiver@lists.apple.com