Niru Mukund Shah
Niru Mukund Shah

Reputation: 4733

Spotify app crashes with no crash log

Xcode screenshot

I'm working with cocoalibspotify. My app is about finished but I'm stuck with some weird issue. When I try to login again after logging out, the app crashes leaving with no crash log and later on my debug point goes to the line

sp_session_logout(outgoing_session);

from the method -(void)logout:(void (^)())completionBlock in class SPSession.m

And beside it there is signal SIGABRT.

Check out the screenshot I've attached. which shows the crash point with no crash log below in console.

This crash happens only happens sometimes rather than every time.

Any help would be appreciated.

Upvotes: 1

Views: 386

Answers (1)

iKenndac
iKenndac

Reputation: 18776

Are you waiting for the completion block on your logout: call to fire before logging back in again? That'll cause problems, and the logout: call can take a while to complete at times.

In addition, does this problem occur with the latest master release, 2.4.0? How about the HEAD of the dev branch?

Upvotes: 2

Related Questions