IOS WebTryThreadLock Crash

I have a crash in my application that I cannot debug life. When connecting and debugging with Xcode on the device and NSZombieEnabled, I do not receive an alarm. When I disconnect and start the application on my own or turn off NSZombieEnabled, it is reset every time.

Here is what I get when I turn off NSZombieEnabled: EXC_BAD_ACCESS

bool _WebTryThreadLock(bool), 0x58a260: Multiple locks on web thread not allowed! Please file a bug. Crashing now...
1   _ZL17_WebTryThreadLockb
2   _ZL14WebRunLoopLockP19__CFRunLoopObservermPv
3   __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
4   __CFRunLoopDoObservers
5   __CFRunLoopRun
6   CFRunLoopRunSpecific
7   CFRunLoopRunInMode
8   _ZL12RunWebThreadPv
9   _pthread_start
10  thread_start

Here is the stack trace from a test flight:

0 App 0x001ff492 testflight_backtrace + 142
1 App 0x001fffac TFSignalHandler + 212
2 libsystem_c.dylib 0x349e9538 _sigtramp + 48
3 JavaScriptCore 0x34b66aee WTFReportBacktrace + 146
4 WebCore 0x33ed5676 _ZL14WebRunLoopLockP19__CFRunLoopObservermPv + 30
5 CoreFoundation 0x33b39b4a __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
6 CoreFoundation 0x33b37d86 __CFRunLoopDoObservers + 258
7 CoreFoundation 0x33b3804e __CFRunLoopRun + 614
8 CoreFoundation 0x33abb4dc CFRunLoopRunSpecific + 300
9 CoreFoundation 0x33abb3a4 CFRunLoopRunInMode + 104
10 WebCore 0x33f7712e _ZL12RunWebThreadPv + 402
11 libsystem_c.dylib 0x349a0c1c _pthread_start + 320
12 libsystem_c.dylib 0x349a0ad7 thread_start + 7

I had this crash before and resolved it by throwing a line on my viewDidLoad method on one of the view controllers where the crash happened:

[[NSRunLoop currentRunLoop] runUntilDate: [NSDate dateWithTimeIntervalSinceNow:0.01]];

Now this line does not help.

The process that causes the application to crash: The current data view controller, Reject the share view manager, Toggle tab tabViewController, Click the button that represents the share2 view controller

- , , , share2. , , , .

, , , .

, , , !

+5
3

, .

: : P

0

, , runloop. , , , .

: , - , . , ? viewWillDisappear viewDidDisappear?

P.S.: NSRunLoop, , , , - .

P.P.S.: , PLCrashReporter, , .

+1

TestFlight SDK. "" TestFlight .

0
source

All Articles