• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Crashes in _Unwind_Resume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crashes in _Unwind_Resume


  • Subject: Re: Crashes in _Unwind_Resume
  • From: Roland King <email@hidden>
  • Date: Thu, 26 Aug 2010 08:20:29 +0800

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 <email@hidden> 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 (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Crashes in _Unwind_Resume
      • From: Greg Parker <email@hidden>
References: 
 >Crashes in _Unwind_Resume (From: Benjamin Rister <email@hidden>)
 >Re: Crashes in _Unwind_Resume (From: vincent habchi <email@hidden>)
 >Re: Crashes in _Unwind_Resume (From: Benjamin Rister <email@hidden>)
 >Re: Crashes in _Unwind_Resume (From: Benjamin Rister <email@hidden>)
 >Re: Crashes in _Unwind_Resume (From: vincent habchi <email@hidden>)

  • Prev by Date: Re: Document Cursor
  • Next by Date: Re: Crashes in _Unwind_Resume
  • Previous by thread: Re: Crashes in _Unwind_Resume
  • Next by thread: Re: Crashes in _Unwind_Resume
  • Index(es):
    • Date
    • Thread