Re: Crashes in _Unwind_Resume

2010-08-26 Thread Benjamin Rister
Greg Parker wrote: > You might try installing an @try/@catch block in main. If the unwinder is > working long enough to get there then you can log something to help debug > further. You can use `...@catch (NSException *e)` to check for Objective-C > exceptions and `...@catch (...)` to check for

Re: Crashes in _Unwind_Resume

2010-08-25 Thread Joar Wingfors
On 25 aug 2010, at 10.39, Benjamin Rister wrote: > 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+

Re: Crashes in _Unwind_Resume

2010-08-25 Thread Greg Parker
On Aug 25, 2010, at 5:20 PM, Roland King wrote: > 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

Re: Crashes in _Unwind_Resume

2010-08-25 Thread Roland King
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

Re: Crashes in _Unwind_Resume

2010-08-25 Thread vincent habchi
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 th

Re: Crashes in _Unwind_Resume

2010-08-25 Thread Greg Parker
On Aug 24, 2010, at 7:02 AM, Benjamin Rister wrote: > We’ve started seeing sporadic but regular crashes from _Unwind_Resume in a > Foundation tool. The crashing thread is: >> Thread 0 Crashed: Dispatch queue: com.apple.main-thread >> 0 libSystem.B.dylib0x7fff87e363d6 __kill

Re: Crashes in _Unwind_Resume

2010-08-25 Thread Benjamin Rister
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. Do you have some experience that

Re: Crashes in _Unwind_Resume

2010-08-25 Thread Benjamin Rister
On Aug 25, 2010, at 3:15 AM, vincent habchi wrote: > What compiler are you using? LLVM GCC 4.2, from Xcode 3.2.3 (1688.0/1691.0/1591.0). Best, Benjamin Rister ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: Crashes in _Unwind_Resume

2010-08-25 Thread vincent habchi
What compiler are you using? 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

Crashes in _Unwind_Resume

2010-08-24 Thread Benjamin Rister
We’ve started seeing sporadic but regular crashes from _Unwind_Resume in a Foundation tool. The crashing thread is: > Thread 0 Crashed: Dispatch queue: com.apple.main-thread > 0 libSystem.B.dylib 0x7fff87e363d6 __kill + 10 > 1 libSystem.B.dylib 0x7fff87