App crashed at NSLock

Post here your questions about the Objective-C API for SFS2X

Moderators: Lapo, Bax

ashutosh
Posts: 21
Joined: 01 Nov 2011, 22:26

App crashed at NSLock

Postby ashutosh » 21 Feb 2012, 00:49

Our app has been crashing with NSLock debug error in BitSwamClient class. It happens sometimes only and not always. I don't have crash log at the moment, however I will send it next time it happens. Can you please take a look? We are using SmartFoxServer 2x with RC3 patch.

Code: Select all

2012-02-20 09:58:53.516 App-iOS[2764:fb03] *** -[NSLock lock]: deadlock (<NSLock: 0x6a69d20> '(null)')
2012-02-20 09:58:53.516 App-iOS[2764:fb03] *** Break on _NSLockError() to debug


Thanks,
Ashu
User avatar
A51Integrated
Posts: 240
Joined: 03 Jan 2012, 19:55
Location: Toronto, Canada
Contact:

Re: App crashed at NSLock

Postby A51Integrated » 21 Feb 2012, 02:13

That error could be caused by any number of things. Here's a discussion on how to debug that error:
http://stackoverflow.com/questions/1299 ... bug-how-to
A51 Integrated
http://a51integrated.com / +1 416-703-2300
ashutosh
Posts: 21
Joined: 01 Nov 2011, 22:26

Re: App crashed at NSLock

Postby ashutosh » 20 Mar 2012, 16:26

We tries the NSLock debug and it always shows us the lock in BitSwamClient class. Can you please check it.
ashutosh
Posts: 21
Joined: 01 Nov 2011, 22:26

Re: App crashed at NSLock

Postby ashutosh » 20 Mar 2012, 19:03

This is the class and method where NSLock breakpoint points to: [BitSwarmClient stream:handleEvent:]

Return to “SFS2X iPhone / iPad / OSX API”

Who is online

Users browsing this forum: No registered users and 20 guests