weird couchbaselite crash in production

24 views
Skip to first unread message

Herman Chan

unread,
Jun 11, 2015, 6:36:10 PM6/11/15
to mobile-c...@googlegroups.com
Hi there,

We are seeing the following crash in production and don't really know what to make of it, here are the logs:

Thread : Fatal Exception: NSInternalInconsistencyException
0  CoreFoundation                 0x270eafef __exceptionPreprocess + 126
1  libobjc.A.dylib                0x35638c8b objc_exception_throw + 38
2  CoreFoundation                 0x270eaec5 +[NSException raise:format:]
3  Foundation                     0x27de9f17 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 90
4  MyApp                          0x006b1901 
5  MyApp                          0x006b1a85 
6  MyApp                          0x006b3e8b 
7  MyApp                          0x006b3f81 
8  MyApp                          0x006bfb29 
9  MyApp                          0x006b9683 
10 MyApp                          0x006c5b77 
11 MyApp                          0x006c6cfb 
12 CFNetwork                      0x26c2ce29 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 56
13 CFNetwork                      0x26c2cde3 -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 182
14 CFNetwork                      0x26c2ced5 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 36
15 CFNetwork                      0x26b40c87 ___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke + 78
16 CFNetwork                      0x26bde0d5 ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 60
17 CFNetwork                      0x26b31a35 RunloopBlockContext::_invoke_block(void const*, void*) + 60
18 CoreFoundation                 0x26ffac6d CFArrayApplyFunction + 36
19 CFNetwork                      0x26b318ef RunloopBlockContext::perform() + 182
20 CFNetwork                      0x26b317b5 MultiplexerSource::perform() + 216
21 CFNetwork                      0x26b31649 MultiplexerSource::_perform(void*) + 48
22 CoreFoundation                 0x270b0faf __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14
23 CoreFoundation                 0x270b03bf __CFRunLoopDoSources0 + 218
24 CoreFoundation                 0x270aea25 __CFRunLoopRun + 772
25 CoreFoundation                 0x26ffb201 CFRunLoopRunSpecific + 476
26 CoreFoundation                 0x26ffb013 CFRunLoopRunInMode + 106
27 Foundation                     0x27d6413d -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 264
28 simplyUs                       0x006b4f05 
29 Foundation                     0x27e293bb __NSThread__main__ + 1118
30 libsystem_pthread.dylib        0x35d0ce23 _pthread_body + 138
31 libsystem_pthread.dylib        0x35d0cd97 _pthread_start + 118
32 libsystem_pthread.dylib        0x35d0ab20 thread_start + 8

which I think is a call back from this thread:

Thread : Crashed: CouchbaseLite
0  libsystem_kernel.dylib         0x35c8edf0 __pthread_kill + 8
1  libsystem_pthread.dylib        0x35d0dcc7 pthread_kill + 62
2  libsystem_c.dylib              0x35c2a909 abort + 76
3  libc++abi.dylib                0x34f589c9 __cxa_bad_cast
4  libc++abi.dylib                0x34f72671 default_unexpected_handler()
5  libobjc.A.dylib                0x35638f25 _objc_terminate() + 192
6  libc++abi.dylib                0x34f6fde3 std::__terminate(void (*)()) + 78
7  libc++abi.dylib                0x34f6f8af __cxa_rethrow + 102
8  libobjc.A.dylib                0x35638dd3 objc_exception_rethrow + 42
9  CoreFoundation                 0x26ffb29d CFRunLoopRunSpecific + 632
10 CoreFoundation                 0x26ffb013 CFRunLoopRunInMode + 106
11 Foundation                     0x27d6413d -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 264
12 MyApp                          0x006b4f05 
13 Foundation                     0x27e293bb __NSThread__main__ + 1118
14 libsystem_pthread.dylib        0x35d0ce23 _pthread_body + 138
15 libsystem_pthread.dylib        0x35d0cd97 _pthread_start + 118

we are running branch release/1.1 in prod.

Herman

Jens Alfke

unread,
Jun 11, 2015, 6:58:56 PM6/11/15
to mobile-c...@googlegroups.com
Please file this as a bug report.

Also, is there any way you can symbolicate the backtrace? Without knowing what those “MyApp” frames really are, and without seeing the assertion-failure message that was logged, there’s not really any info to go on.

—Jens

Herman Chan

unread,
Jun 11, 2015, 7:04:05 PM6/11/15
to mobile-c...@googlegroups.com
Hi Jens,

Ok, I am getting the log from crashlytics so if they don't have it, I won't be able to symbolize the build here.  

I guess I won't file a issue since there is nothing we can do here.

Herman
Reply all
Reply to author
Forward
0 new messages