简体   繁体   中英

Spotify app crashes with no crash log

Xcode 截图

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.

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?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM