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:27:29 -0700
Weird. i just did a project-wide search for "performSelector". All instances where I use this is to direct a view controller to perform another action after something did happen. I do an NSLog() in each controller's viewDidUnload: and didn't see any of those. So, the chance that the object would be deallocated seems slim to me. Instances are like when a view appear, I want to start a download from the server but not immediately, just a second after the view did appear. The view controllers where I use my performSelector:withObject:aferDelay: should still be there when the perform is fired. I don't pass any object for withObject:. Like I said, it's just used to delay some actions strictly in view controllers. That is strange...
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden
On Sep 18, 2012, at 22:00, 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.
>
> —Jens
_______________________________________________
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