• 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: Weird crash on iOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird crash on iOS


  • Subject: Re: Weird crash on iOS
  • From: Laurent Daudelin <email@hidden>
  • Date: Tue, 18 Sep 2012 22:50:38 -0700

On Sep 18, 2012, at 22:35, Glenn L. Austin <email@hidden> wrote:

> On Sep 18, 2012, at 10:00 PM, Jens Alfke <email@hidden> wrote:
>
>>
>> On Sep 18, 2012, at 9:55 PM, Laurent Daudelin <email@hidden> wrote:
>>
>>> I don't have any NSTimer in my code.
>>
>> The _NSFireDelayedPerform means it's invoking a -performSelector:withObject:afterDelay: call. Do you have any of those?
>>
>> I’m not sure what the sigtramp signifies. My first guess would be it’s a side effect of messaging a dealloced object.
>
> Just one of the (multiple) reasons I despise the "afterDelay" version.
>
> Almost every crash I see is directly (or indirectly) caused by using performSelector:withObject:afterDelay: to insert some kind of "pause" in the application, and that pause isn't cancelable (AFAIK) -- the selector WILL be called after the delay time, even if the user has moved to another part of the program.

Glenn,

Can you elaborate on the last part?

-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin 				http://www.nemesys-soft.com/
Logiciels Nemesys Software					email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Weird crash on iOS
      • From: "Glenn L. Austin" <email@hidden>
References: 
 >Weird crash on iOS (From: Laurent Daudelin <email@hidden>)
 >Re: Weird crash on iOS (From: "Glenn L. Austin" <email@hidden>)

  • Prev by Date: Re: Weird crash on iOS
  • Next by Date: Strange problem with UIButton in bar button item
  • Previous by thread: Re: Weird crash on iOS
  • Next by thread: Re: Weird crash on iOS
  • Index(es):
    • Date
    • Thread