Re: Weird crash on iOS
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