-
May 4th, 2017, 10:34 AM
#6
I don't think so. It's actually crashing in the static initializer of a class of constants (!) needed by LSSubscription, so it happens before any subscription can be made. By that time it may have already connected though, or being in the process of connecting.
We tried both these scenarios multiple times, on the simulator and on a real device, but none of them led to crash. Unfortunately we don't have an iPhone 5s with iOS 9.2.1 to test in the exact same conditions.
The only hypothesis I can still think of is that a previous operation thrashed the memory (e.g. another thread wrote on a dangling pointer), and by accident it causes a crash int that point. It may sound improbable, but if the crash happens during startup, a repeatable sequence of operations may actually frequently lead to the same accidental crash. I've already seen it happen.
We could gather some more information from a detailed log of our client library. Do you have any way to enable logging and retrieve the log from this user's device? Logging may be enabled by adding the following line somewhere before you connect:
[LSLightstreamerClient setLoggerProvider:[[LSConsoleLoggerProvider alloc] initWithLevel:LSConsoleLogLevelDebug]];
Similar Threads
-
By bzhu in forum Client SDKs
Replies: 3
Last Post: December 4th, 2015, 07:27 PM
-
By Anatoly Gurfinkel in forum Client SDKs
Replies: 9
Last Post: July 6th, 2015, 04:24 PM
-
By kpturner in forum General
Replies: 9
Last Post: May 6th, 2015, 02:02 PM
-
By vpurohit in forum Client SDKs
Replies: 2
Last Post: June 29th, 2013, 11:53 AM
-
By kpturner in forum Adapter SDKs
Replies: 4
Last Post: December 18th, 2012, 09:07 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 05:01 AM.
Bookmarks