Page 1 of 1

App crashed at NSLock

Posted: 21 Feb 2012, 00:49
by ashutosh
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

Re: App crashed at NSLock

Posted: 21 Feb 2012, 02:13
by A51Integrated
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

Re: App crashed at NSLock

Posted: 20 Mar 2012, 16:26
by ashutosh
We tries the NSLock debug and it always shows us the lock in BitSwamClient class. Can you please check it.

Re: App crashed at NSLock

Posted: 20 Mar 2012, 19:03
by ashutosh
This is the class and method where NSLock breakpoint points to: [BitSwarmClient stream:handleEvent:]