I've had some of those crashes recently too. In my case I tracked it down to some bad code I'd written in a KVO method which was throwing an exception when it was getting called for an update. Instead of seeing the error (invalid selector I think it was) the app just crashed, when put under the debugger I too ended up at _unwind_resume.
Adding a try/catch around some main bits of the app found the real issue for me. On Aug 26, 2010, at 4:11, vincent habchi <vi...@macports.org> wrote: > Le 25 août 2010 à 19:39, Benjamin Rister a écrit : > >> On Aug 25, 2010, at 10:48 AM, vincent habchi wrote: >> >>> If you use plain GCC 4.2 instead, does it also crash? >> >> Well, it’s hard to say, since it doesn’t happen on demand. I’d have to make >> a new build and push it out to users to see if the reports stopped coming >> in. > > Ok, that's a commercial app. I though it was only a prototype. > >> Do you have some experience that this is a compiler bug, or is it just a >> guess because it involves exception machinery? I would expect that LLVM’s >> exception handling is pretty well broken-in by now, considering the volume >> of Obj-C and C++ code that Apple has shipped using it so far. Which isn’t to >> say that that couldn’t be the problem, but I don’t want to annoy users by >> putting out a bunch of releases that apparently are unchanged while I >> blindly flail about behind the scenes, hoping something fixes it. > > By the way, both thread 0 and 2 seem to be in the same routine by the time it > crashes. Are you sure all your variables are thread safe? > > Vincent_______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/rols%40rols.org > > This email sent to r...@rols.org _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com