Skip to content

Deadlock on [PFObject pinWithName:] with Parse 1.11.0 #661

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xaphod opened this issue Dec 16, 2015 · 1 comment
Closed

Deadlock on [PFObject pinWithName:] with Parse 1.11.0 #661

xaphod opened this issue Dec 16, 2015 · 1 comment

Comments

@xaphod
Copy link

xaphod commented Dec 16, 2015

Might be related to the other deadlock issue I just filed, but i'm not sure. Debug, simulator, iOS 9.2, Parse 1.11.0.

thread 1, frame #8:    [newEvent pinWithName:@"EventObject"]; // newEvent is an EventObject, which is a subclass of PFObject


(lldb) bt all
warning: could not load any Objective-C class information. This will significantly reduce the quality of type information available.
* thread #1: tid = 0x409637, 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x0000000113a2c150 libsystem_pthread.dylib`_pthread_cond_wait + 767
    frame #2: 0x0000000110277941 Foundation`-[NSCondition wait] + 240
    frame #3: 0x000000010e07b8b7 Photobooth`-[BFTask waitUntilFinished](self=0x00007ff92bf906f0, _cmd="waitUntilFinished") + 407 at BFTask.m:441
    frame #4: 0x000000010e36003b Photobooth`-[BFTask(self=0x00007ff92bf906f0, _cmd="waitForResult:withMainThreadWarning:", error=0x0000000000000000, warningEnabled=YES) waitForResult:withMainThreadWarning:] + 59 at BFTask+Private.m:113
    frame #5: 0x000000010e35fff3 Photobooth`-[BFTask(self=0x00007ff92bf906f0, _cmd="waitForResult:", error=0x0000000000000000) waitForResult:] + 67 at BFTask+Private.m:108
    frame #6: 0x000000010e3e562c Photobooth`-[PFObject pinWithName:error:](self=0x00007ff92ea3a510, _cmd="pinWithName:error:", name=0x000000010e7581b0, error=0x0000000000000000) + 108 at PFObject.m:2479
    frame #7: 0x000000010e3e5590 Photobooth`-[PFObject pinWithName:](self=0x00007ff92ea3a510, _cmd="pinWithName:", name=0x000000010e7581b0) + 64 at PFObject.m:2475
    frame #8: 0x000000010dffebff Photobooth`-[EventNewEventViewController doneButtonPressed:](self=0x00007ff92bea4c70, _cmd="doneButtonPressed:", sender=0x00007ff92bea2400) + 559 at EventNewEventViewController.m:46
    frame #9: 0x0000000110fcd194 UIKit`-[UIApplication sendAction:to:from:forEvent:] + 92
    frame #10: 0x00000001113ce7b7 UIKit`-[UIBarButtonItem(UIInternal) _sendAction:withEvent:] + 152
    frame #11: 0x0000000110fcd194 UIKit`-[UIApplication sendAction:to:from:forEvent:] + 92
    frame #12: 0x000000011113c6fc UIKit`-[UIControl sendAction:to:forEvent:] + 67
    frame #13: 0x000000011113c9c8 UIKit`-[UIControl _sendActionsForEvents:withEvent:] + 311
    frame #14: 0x000000011113cb43 UIKit`-[UIControl _sendActionsForEvents:withEvent:] + 690
    frame #15: 0x000000011113baf8 UIKit`-[UIControl touchesEnded:withEvent:] + 601
    frame #16: 0x000000011103c49b UIKit`-[UIWindow _sendTouchesForEvent:] + 835
    frame #17: 0x000000011103d1d0 UIKit`-[UIWindow sendEvent:] + 865
    frame #18: 0x0000000110febb66 UIKit`-[UIApplication sendEvent:] + 263
    frame #19: 0x000000012535e871 UIKit`-[UIApplicationAccessibility sendEvent:] + 77
    frame #20: 0x0000000110fc5d97 UIKit`_UIApplicationHandleEventQueue + 6844
    frame #21: 0x0000000112d06a31 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame #22: 0x0000000112cfc95c CoreFoundation`__CFRunLoopDoSources0 + 556
    frame #23: 0x0000000112cfbe13 CoreFoundation`__CFRunLoopRun + 867
    frame #24: 0x0000000112cfb828 CoreFoundation`CFRunLoopRunSpecific + 488
    frame #25: 0x000000011463aad2 GraphicsServices`GSEventRunModal + 161
    frame #26: 0x0000000110fcb610 UIKit`UIApplicationMain + 171
    frame #27: 0x000000010e00fea2 Photobooth`main(argc=1, argv=0x00007fff51c8a850) + 130 at main.m:15
    frame #28: 0x000000011372792d libdyld.dylib`start + 1

  thread #2: tid = 0x4096ac, 0x0000000113a67fde libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
    frame #0: 0x0000000113a67fde libsystem_kernel.dylib`kevent64 + 10
    frame #1: 0x00000001136e24c8 libdispatch.dylib`_dispatch_mgr_invoke + 260
    frame #2: 0x00000001136e2262 libdispatch.dylib`_dispatch_mgr_thread + 54

  thread #4: tid = 0x4096b1, 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10, queue = 'PFSQLiteDatabase.synchronizationQueue'
    frame #0: 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x0000000113a2c150 libsystem_pthread.dylib`_pthread_cond_wait + 767
    frame #2: 0x0000000110277941 Foundation`-[NSCondition wait] + 240
    frame #3: 0x000000010e07b8b7 Photobooth`-[BFTask waitUntilFinished](self=0x00007ff92ea404b0, _cmd="waitUntilFinished") + 407 at BFTask.m:441
    frame #4: 0x000000010e36003b Photobooth`-[BFTask(self=0x00007ff92ea404b0, _cmd="waitForResult:withMainThreadWarning:", error=0x0000000000000000, warningEnabled=YES) waitForResult:withMainThreadWarning:] + 59 at BFTask+Private.m:113
    frame #5: 0x000000010e35fff3 Photobooth`-[BFTask(self=0x00007ff92ea404b0, _cmd="waitForResult:", error=0x0000000000000000) waitForResult:] + 67 at BFTask+Private.m:108
    frame #6: 0x000000010e3e162c Photobooth`-[PFObject fetchFromLocalDatastore:](self=0x00007ff92bfe5e00, _cmd="fetchFromLocalDatastore:", error=0x0000000000000000) + 76 at PFObject.m:2135
    frame #7: 0x000000010e3e15cf Photobooth`-[PFObject fetchFromLocalDatastore](self=0x00007ff92bfe5e00, _cmd="fetchFromLocalDatastore") + 47 at PFObject.m:2131
    frame #8: 0x000000010dfc5753 Photobooth`-[EventObject isEqual:](self=0x00007ff92ea3a510, _cmd="isEqual:", object=0x00007ff92bfe5e00) + 179 at EventObject.m:57
    frame #9: 0x0000000112cd4d64 CoreFoundation`-[NSArray containsObject:] + 228
    frame #10: 0x000000010e4241b5 Photobooth`__68-[PFPinningObjectStore pinObjectsAsync:withPinName:includeChildren:]_block_invoke(.block_descriptor=0x00007ff92bfb4830, task=0x00007ff92bfb6320) + 629 at PFPinningObjectStore.m:102
    frame #11: 0x000000010e07b494 Photobooth`__62-[BFTask continueWithExecutor:successBlock:cancellationToken:]_block_invoke(.block_descriptor=0x00007ff92bfbafc0, task=0x00007ff92bfb6320) + 164 at BFTask.m:410
    frame #12: 0x000000010e07a770 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2(.block_descriptor=<unavailable>) + 112 at BFTask.m:336
    frame #13: 0x000000010e0764fd Photobooth`__29+[BFExecutor defaultExecutor]_block_invoke_2(.block_descriptor=0x000000010e721f90, block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 189 at BFExecutor.m:62
    frame #14: 0x000000010e076e9e Photobooth`-[BFExecutor execute:](self=0x00007ff929e5f400, _cmd="execute:", block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 94 at BFExecutor.m:125
    frame #15: 0x000000010e07a6a4 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke(.block_descriptor=0x00007ff92bfbf400) + 244 at BFTask.m:328
    frame #16: 0x000000010e079f92 Photobooth`-[BFTask runContinuations](self=0x00007ff92bfb6320, _cmd="runContinuations") + 770 at BFTask.m:308
    frame #17: 0x000000010e0794dc Photobooth`-[BFTask trySetResult:](self=0x00007ff92bfb6320, _cmd="trySetResult:", result=0x00007ff92bf96ca0) + 252 at BFTask.m:223
    frame #18: 0x000000010e07c079 Photobooth`-[BFTaskCompletionSource setResult:](self=0x00007ff92bfc8380, _cmd="setResult:", result=0x00007ff92bf96ca0) + 89 at BFTaskCompletionSource.m:50
    frame #19: 0x000000010e07abf1 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_3(.block_descriptor=0x00007ff92e93fe10, task=0x00007ff92e93fb40) + 481 at BFTask.m:352
    frame #20: 0x000000010e07a770 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2(.block_descriptor=<unavailable>) + 112 at BFTask.m:336
    frame #21: 0x000000010e0764fd Photobooth`__29+[BFExecutor defaultExecutor]_block_invoke_2(.block_descriptor=0x000000010e721f90, block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 189 at BFExecutor.m:62
    frame #22: 0x000000010e076e9e Photobooth`-[BFExecutor execute:](self=0x00007ff929e5f400, _cmd="execute:", block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 94 at BFExecutor.m:125
    frame #23: 0x000000010e07a6a4 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke(.block_descriptor=0x00007ff92e940580) + 244 at BFTask.m:328
    frame #24: 0x000000010e079f92 Photobooth`-[BFTask runContinuations](self=0x00007ff92e93fb40, _cmd="runContinuations") + 770 at BFTask.m:308
    frame #25: 0x000000010e0794dc Photobooth`-[BFTask trySetResult:](self=0x00007ff92e93fb40, _cmd="trySetResult:", result=0x00007ff92bf96ca0) + 252 at BFTask.m:223
    frame #26: 0x000000010e07c079 Photobooth`-[BFTaskCompletionSource setResult:](self=0x00007ff92e941930, _cmd="setResult:", result=0x00007ff92bf96ca0) + 89 at BFTaskCompletionSource.m:50
    frame #27: 0x000000010e07abf1 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_3(.block_descriptor=0x00007ff92e9216e0, task=0x00007ff92e931050) + 481 at BFTask.m:352
    frame #28: 0x000000010e07a770 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2(.block_descriptor=<unavailable>) + 112 at BFTask.m:336
    frame #29: 0x000000010e0764fd Photobooth`__29+[BFExecutor defaultExecutor]_block_invoke_2(.block_descriptor=0x000000010e721f90, block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 189 at BFExecutor.m:62
    frame #30: 0x000000010e076e9e Photobooth`-[BFExecutor execute:](self=0x00007ff929e5f400, _cmd="execute:", block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 94 at BFExecutor.m:125
    frame #31: 0x000000010e07a6a4 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke(.block_descriptor=0x00007ff92e92deb0) + 244 at BFTask.m:328
    frame #32: 0x000000010e079f92 Photobooth`-[BFTask runContinuations](self=0x00007ff92e931050, _cmd="runContinuations") + 770 at BFTask.m:308
    frame #33: 0x000000010e0794dc Photobooth`-[BFTask trySetResult:](self=0x00007ff92e931050, _cmd="trySetResult:", result=0x00007ff92bf96ca0) + 252 at BFTask.m:223
    frame #34: 0x000000010e07c079 Photobooth`-[BFTaskCompletionSource setResult:](self=0x00007ff92bd3cd70, _cmd="setResult:", result=0x00007ff92bf96ca0) + 89 at BFTaskCompletionSource.m:50
    frame #35: 0x000000010e07a9da Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2(.block_descriptor=<unavailable>) + 730 at BFTask.m:366
    frame #36: 0x000000010e0764fd Photobooth`__29+[BFExecutor defaultExecutor]_block_invoke_2(.block_descriptor=0x000000010e721f90, block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 189 at BFExecutor.m:62
    frame #37: 0x000000010e076e9e Photobooth`-[BFExecutor execute:](self=0x00007ff929e5f400, _cmd="execute:", block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 94 at BFExecutor.m:125
    frame #38: 0x000000010e07a6a4 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke(.block_descriptor=0x00007ff92e96c3d0) + 244 at BFTask.m:328
    frame #39: 0x000000010e079f92 Photobooth`-[BFTask runContinuations](self=0x00007ff92e9305d0, _cmd="runContinuations") + 770 at BFTask.m:308
    frame #40: 0x000000010e0794dc Photobooth`-[BFTask trySetResult:](self=0x00007ff92e9305d0, _cmd="trySetResult:", result=0x00007ff92bfb4640) + 252 at BFTask.m:223
    frame #41: 0x000000010e07c079 Photobooth`-[BFTaskCompletionSource setResult:](self=0x00007ff92e939970, _cmd="setResult:", result=0x00007ff92bfb4640) + 89 at BFTaskCompletionSource.m:50
    frame #42: 0x000000010e07abf1 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_3(.block_descriptor=0x00007ff92e940690, task=0x00007ff92beeb6a0) + 481 at BFTask.m:352
    frame #43: 0x000000010e07a8a4 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2(.block_descriptor=<unavailable>) + 420 at BFTask.m:360
    frame #44: 0x000000010e0764fd Photobooth`__29+[BFExecutor defaultExecutor]_block_invoke_2(.block_descriptor=0x000000010e721f90, block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 189 at BFExecutor.m:62
    frame #45: 0x000000010e076e9e Photobooth`-[BFExecutor execute:](self=0x00007ff929e5f400, _cmd="execute:", block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 94 at BFExecutor.m:125
    frame #46: 0x000000010e07a6a4 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke(.block_descriptor=0x00007ff92e954b20) + 244 at BFTask.m:328
    frame #47: 0x000000010e079f92 Photobooth`-[BFTask runContinuations](self=0x00007ff92e91f810, _cmd="runContinuations") + 770 at BFTask.m:308
    frame #48: 0x000000010e0794dc Photobooth`-[BFTask trySetResult:](self=0x00007ff92e91f810, _cmd="trySetResult:", result=0x0000000000000000) + 252 at BFTask.m:223
    frame #49: 0x000000010e07c079 Photobooth`-[BFTaskCompletionSource setResult:](self=0x00007ff92e9346f0, _cmd="setResult:", result=0x0000000000000000) + 89 at BFTaskCompletionSource.m:50
    frame #50: 0x000000010e07abf1 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_3(.block_descriptor=0x00007ff92bee7fa0, task=0x00007ff92eb21c40) + 481 at BFTask.m:352
    frame #51: 0x000000010e07a770 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2(.block_descriptor=<unavailable>) + 112 at BFTask.m:336
    frame #52: 0x000000010e0764fd Photobooth`__29+[BFExecutor defaultExecutor]_block_invoke_2(.block_descriptor=0x000000010e721f90, block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 189 at BFExecutor.m:62
    frame #53: 0x000000010e076e9e Photobooth`-[BFExecutor execute:](self=0x00007ff929e5f400, _cmd="execute:", block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 94 at BFExecutor.m:125
    frame #54: 0x000000010e07a6a4 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke(.block_descriptor=0x00007ff92bef46e0) + 244 at BFTask.m:328
    frame #55: 0x000000010e079f92 Photobooth`-[BFTask runContinuations](self=0x00007ff92eb21c40, _cmd="runContinuations") + 770 at BFTask.m:308
    frame #56: 0x000000010e0794dc Photobooth`-[BFTask trySetResult:](self=0x00007ff92eb21c40, _cmd="trySetResult:", result=0x0000000000000000) + 252 at BFTask.m:223
    frame #57: 0x000000010e07c079 Photobooth`-[BFTaskCompletionSource setResult:](self=0x00007ff929ee8b90, _cmd="setResult:", result=0x0000000000000000) + 89 at BFTaskCompletionSource.m:50
    frame #58: 0x000000010e07abf1 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_3(.block_descriptor=0x00007ff92bf93090, task=0x00007ff92bf921d0) + 481 at BFTask.m:352
    frame #59: 0x000000010e07a770 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2(.block_descriptor=<unavailable>) + 112 at BFTask.m:336
    frame #60: 0x000000010e0764fd Photobooth`__29+[BFExecutor defaultExecutor]_block_invoke_2(.block_descriptor=0x000000010e721f90, block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 189 at BFExecutor.m:62
    frame #61: 0x000000010e076e9e Photobooth`-[BFExecutor execute:](self=0x00007ff929e5f400, _cmd="execute:", block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 94 at BFExecutor.m:125
    frame #62: 0x000000010e07a6a4 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke(.block_descriptor=0x00007ff92bf98370) + 244 at BFTask.m:328
    frame #63: 0x000000010e079f92 Photobooth`-[BFTask runContinuations](self=0x00007ff92bf921d0, _cmd="runContinuations") + 770 at BFTask.m:308
    frame #64: 0x000000010e0794dc Photobooth`-[BFTask trySetResult:](self=0x00007ff92bf921d0, _cmd="trySetResult:", result=0x0000000000000000) + 252 at BFTask.m:223
    frame #65: 0x000000010e07c079 Photobooth`-[BFTaskCompletionSource setResult:](self=0x00007ff92bfc82d0, _cmd="setResult:", result=0x0000000000000000) + 89 at BFTaskCompletionSource.m:50
    frame #66: 0x000000010e07abf1 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_3(.block_descriptor=0x00007ff92e938ee0, task=0x00007ff92ea57050) + 481 at BFTask.m:352
    frame #67: 0x000000010e07a8a4 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2(.block_descriptor=<unavailable>) + 420 at BFTask.m:360
    frame #68: 0x00000001136f349b libdispatch.dylib`_dispatch_client_callout + 8
    frame #69: 0x00000001136d7c34 libdispatch.dylib`_dispatch_barrier_sync_f_slow + 1542
    frame #70: 0x000000010e45bd04 Photobooth`PFThreadsafetySafeDispatchSync(queue=0x00007ff92ea66230, block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 148 at PFThreadsafety.m:31
    frame #71: 0x000000010e4543f3 Photobooth`__33-[PFSQLiteDatabase initWithPath:]_block_invoke_2(.block_descriptor=<unavailable>) + 35 at PFSQLiteDatabase.m:78
    frame #72: 0x00000001136d2e5d libdispatch.dylib`_dispatch_call_block_and_release + 12
    frame #73: 0x00000001136f349b libdispatch.dylib`_dispatch_client_callout + 8
    frame #74: 0x00000001136dbbef libdispatch.dylib`_dispatch_root_queue_drain + 1829
    frame #75: 0x00000001136db4c5 libdispatch.dylib`_dispatch_worker_thread3 + 111
    frame #76: 0x0000000113a2b68f libsystem_pthread.dylib`_pthread_wqthread + 1129
    frame #77: 0x0000000113a29365 libsystem_pthread.dylib`start_wqthread + 13

  thread #9: tid = 0x4096c4, 0x0000000113a61386 libsystem_kernel.dylib`mach_msg_trap + 10, name = 'com.apple.NSURLConnectionLoader'
    frame #0: 0x0000000113a61386 libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x0000000113a607c7 libsystem_kernel.dylib`mach_msg + 55
    frame #2: 0x0000000112cfcb64 CoreFoundation`__CFRunLoopServiceMachPort + 212
    frame #3: 0x0000000112cfbfbf CoreFoundation`__CFRunLoopRun + 1295
    frame #4: 0x0000000112cfb828 CoreFoundation`CFRunLoopRunSpecific + 488
    frame #5: 0x000000010faa83c4 CFNetwork`+[NSURLConnection(Loader) _resourceLoadLoop:] + 412
    frame #6: 0x0000000110318dfb Foundation`__NSThread__start__ + 1198
    frame #7: 0x0000000113a2bc13 libsystem_pthread.dylib`_pthread_body + 131
    frame #8: 0x0000000113a2bb90 libsystem_pthread.dylib`_pthread_start + 168
    frame #9: 0x0000000113a29375 libsystem_pthread.dylib`thread_start + 13

  thread #15: tid = 0x4096ce, 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10, queue = 'PFSQLiteDatabase.synchronizationQueue'
    frame #0: 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x0000000113a2c150 libsystem_pthread.dylib`_pthread_cond_wait + 767
    frame #2: 0x0000000110277941 Foundation`-[NSCondition wait] + 240
    frame #3: 0x000000010e07b8b7 Photobooth`-[BFTask waitUntilFinished](self=0x00007ff92ea66780, _cmd="waitUntilFinished") + 407 at BFTask.m:441
    frame #4: 0x000000010e36003b Photobooth`-[BFTask(self=0x00007ff92ea66780, _cmd="waitForResult:withMainThreadWarning:", error=0x0000000000000000, warningEnabled=YES) waitForResult:withMainThreadWarning:] + 59 at BFTask+Private.m:113
    frame #5: 0x000000010e35fff3 Photobooth`-[BFTask(self=0x00007ff92ea66780, _cmd="waitForResult:", error=0x0000000000000000) waitForResult:] + 67 at BFTask+Private.m:108
    frame #6: 0x000000010e3e162c Photobooth`-[PFObject fetchFromLocalDatastore:](self=0x00007ff92bfe5e00, _cmd="fetchFromLocalDatastore:", error=0x0000000000000000) + 76 at PFObject.m:2135
    frame #7: 0x000000010e3e15cf Photobooth`-[PFObject fetchFromLocalDatastore](self=0x00007ff92bfe5e00, _cmd="fetchFromLocalDatastore") + 47 at PFObject.m:2131
    frame #8: 0x000000010dfc5730 Photobooth`-[EventObject isEqual:](self=0x00007ff92bfe5e00, _cmd="isEqual:", object=0x00007ff92ea3a510) + 144 at EventObject.m:56
    frame #9: 0x0000000110235089 Foundation`objectEqual + 30
    frame #10: 0x000000011023213e Foundation`probeGC + 399
    frame #11: 0x00000001102323aa Foundation`-[NSConcreteMapTable objectForKey:] + 42
    frame #12: 0x000000010e407996 Photobooth`-[PFOfflineStore fetchObjectLocallyAsync:database:](self=0x00007ff929f57e00, _cmd="fetchObjectLocallyAsync:database:", object=0x00007ff92bfe5e00, database=0x00007ff92ea47750) + 278 at PFOfflineStore.m:141
    frame #13: 0x000000010e40762d Photobooth`__42-[PFOfflineStore fetchObjectLocallyAsync:]_block_invoke(.block_descriptor=0x00007ff92e8e55a0, database=0x00007ff92ea47750) + 77 at PFOfflineStore.m:129
    frame #14: 0x000000010e41a1f3 Photobooth`__58-[PFOfflineStore _performDatabaseOperationAsyncWithBlock:]_block_invoke(.block_descriptor=0x00007ff92ea668d0, task=0x00007ff92ea65fa0) + 115 at PFOfflineStore.m:1076
    frame #15: 0x000000010e07a770 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2(.block_descriptor=<unavailable>) + 112 at BFTask.m:336
    frame #16: 0x000000010e0764fd Photobooth`__29+[BFExecutor defaultExecutor]_block_invoke_2(.block_descriptor=0x000000010e721f90, block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 189 at BFExecutor.m:62
    frame #17: 0x000000010e076e9e Photobooth`-[BFExecutor execute:](self=0x00007ff929e5f400, _cmd="execute:", block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 94 at BFExecutor.m:125
    frame #18: 0x000000010e07a6a4 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke(.block_descriptor=0x00007ff92e8e1460) + 244 at BFTask.m:328
    frame #19: 0x000000010e079f92 Photobooth`-[BFTask runContinuations](self=0x00007ff92ea65fa0, _cmd="runContinuations") + 770 at BFTask.m:308
    frame #20: 0x000000010e0794dc Photobooth`-[BFTask trySetResult:](self=0x00007ff92ea65fa0, _cmd="trySetResult:", result=0x00007ff92ea47750) + 252 at BFTask.m:223
    frame #21: 0x000000010e07c359 Photobooth`-[BFTaskCompletionSource trySetResult:](self=0x00007ff92e8e2190, _cmd="trySetResult:", result=0x00007ff92ea47750) + 89 at BFTaskCompletionSource.m:78
    frame #2015-12-16 14:14:53.526 Photobooth[3302:4232759] Warning: A long-running operation is being executed on the main thread. 
 Break on warnBlockingOperationOnMainThread() to debug.
22: 0x000000010e4579e7 Photobooth`__56-[PFSQLiteDatabaseController openDatabaseWithNameAsync:]_block_invoke_2(.block_descriptor=0x00007ff92ea4e840, task=0x00007ff92ea05430) + 359 at PFSQLiteDatabaseController.m:67
    frame #23: 0x000000010e07a770 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2(.block_descriptor=<unavailable>) + 112 at BFTask.m:336
    frame #24: 0x000000010e0764fd Photobooth`__29+[BFExecutor defaultExecutor]_block_invoke_2(.block_descriptor=0x000000010e721f90, block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 189 at BFExecutor.m:62
    frame #25: 0x000000010e076e9e Photobooth`-[BFExecutor execute:](self=0x00007ff929e5f400, _cmd="execute:", block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 94 at BFExecutor.m:125
    frame #26: 0x000000010e07a6a4 Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke(.block_descriptor=0x00007ff92e80ad60) + 244 at BFTask.m:328
    frame #27: 0x000000010e079f92 Photobooth`-[BFTask runContinuations](self=0x00007ff92ea05430, _cmd="runContinuations") + 770 at BFTask.m:308
    frame #28: 0x000000010e0794dc Photobooth`-[BFTask trySetResult:](self=0x00007ff92ea05430, _cmd="trySetResult:", result=0x0000000000000000) + 252 at BFTask.m:223
    frame #29: 0x000000010e07c079 Photobooth`-[BFTaskCompletionSource setResult:](self=0x00007ff92e8e6f80, _cmd="setResult:", result=0x0000000000000000) + 89 at BFTaskCompletionSource.m:50
    frame #30: 0x000000010e07a9da Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2(.block_descriptor=<unavailable>) + 730 at BFTask.m:366
    frame #31: 0x00000001136f349b libdispatch.dylib`_dispatch_client_callout + 8
    frame #32: 0x00000001136d7fb5 libdispatch.dylib`_dispatch_barrier_sync_f_invoke + 393
    frame #33: 0x000000010e45bd04 Photobooth`PFThreadsafetySafeDispatchSync(queue=0x00007ff92ea444a0, block=(Photobooth`__55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke_2 at BFTask.m:328)) + 148 at PFThreadsafety.m:31
    frame #34: 0x000000010e4543f3 Photobooth`__33-[PFSQLiteDatabase initWithPath:]_block_invoke_2(.block_descriptor=<unavailable>) + 35 at PFSQLiteDatabase.m:78
    frame #35: 0x00000001136d2e5d libdispatch.dylib`_dispatch_call_block_and_release + 12
    frame #36: 0x00000001136f349b libdispatch.dylib`_dispatch_client_callout + 8
    frame #37: 0x00000001136dbbef libdispatch.dylib`_dispatch_root_queue_drain + 1829
    frame #38: 0x00000001136db4c5 libdispatch.dylib`_dispatch_worker_thread3 + 111
    frame #39: 0x0000000113a2b68f libsystem_pthread.dylib`_pthread_wqthread + 1129
    frame #40: 0x0000000113a29365 libsystem_pthread.dylib`start_wqthread + 13

  thread #17: tid = 0x4096d1, 0x0000000113a61386 libsystem_kernel.dylib`mach_msg_trap + 10, name = 'WebThread'
    frame #0: 0x0000000113a61386 libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x0000000113a607c7 libsystem_kernel.dylib`mach_msg + 55
    frame #2: 0x0000000112cfcb64 CoreFoundation`__CFRunLoopServiceMachPort + 212
    frame #3: 0x0000000112cfbfbf CoreFoundation`__CFRunLoopRun + 1295
    frame #4: 0x0000000112cfb828 CoreFoundation`CFRunLoopRunSpecific + 488
    frame #5: 0x00000001199bbf65 WebCore`RunWebThread(void*) + 469
    frame #6: 0x0000000113a2bc13 libsystem_pthread.dylib`_pthread_body + 131
    frame #7: 0x0000000113a2bb90 libsystem_pthread.dylib`_pthread_start + 168
    frame #8: 0x0000000113a29375 libsystem_pthread.dylib`thread_start + 13

  thread #18: tid = 0x4096d2, 0x0000000113a67176 libsystem_kernel.dylib`__select + 10, name = 'com.apple.CFSocket.private'
    frame #0: 0x0000000113a67176 libsystem_kernel.dylib`__select + 10
    frame #1: 0x0000000112d421fa CoreFoundation`__CFSocketManager + 746
    frame #2: 0x0000000113a2bc13 libsystem_pthread.dylib`_pthread_body + 131
    frame #3: 0x0000000113a2bb90 libsystem_pthread.dylib`_pthread_start + 168
    frame #4: 0x0000000113a29375 libsystem_pthread.dylib`thread_start + 13

  thread #19: tid = 0x4096f7, 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'JavaScriptCore::Marking'
    frame #0: 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x0000000113a2c150 libsystem_pthread.dylib`_pthread_cond_wait + 767
    frame #2: 0x000000010eee98ff libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
    frame #3: 0x000000011a8ae80b JavaScriptCore`JSC::GCThread::waitForNextPhase() + 171
    frame #4: 0x000000011a8ae8a8 JavaScriptCore`JSC::GCThread::gcThreadMain() + 88
    frame #5: 0x000000011ac0a232 JavaScriptCore`WTF::threadEntryPoint(void*) + 178
    frame #6: 0x000000011ac0a68f JavaScriptCore`WTF::wtfThreadEntryPoint(void*) + 15
    frame #7: 0x0000000113a2bc13 libsystem_pthread.dylib`_pthread_body + 131
    frame #8: 0x0000000113a2bb90 libsystem_pthread.dylib`_pthread_start + 168
    frame #9: 0x0000000113a29375 libsystem_pthread.dylib`thread_start + 13

  thread #20: tid = 0x4096f8, 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'JavaScriptCore::Marking'
    frame #0: 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x0000000113a2c150 libsystem_pthread.dylib`_pthread_cond_wait + 767
    frame #2: 0x000000010eee98ff libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
    frame #3: 0x000000011a8ae80b JavaScriptCore`JSC::GCThread::waitForNextPhase() + 171
    frame #4: 0x000000011a8ae8a8 JavaScriptCore`JSC::GCThread::gcThreadMain() + 88
    frame #5: 0x000000011ac0a232 JavaScriptCore`WTF::threadEntryPoint(void*) + 178
    frame #6: 0x000000011ac0a68f JavaScriptCore`WTF::wtfThreadEntryPoint(void*) + 15
    frame #7: 0x0000000113a2bc13 libsystem_pthread.dylib`_pthread_body + 131
    frame #8: 0x0000000113a2bb90 libsystem_pthread.dylib`_pthread_start + 168
    frame #9: 0x0000000113a29375 libsystem_pthread.dylib`thread_start + 13

  thread #21: tid = 0x4096f9, 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'JavaScriptCore::Marking'
    frame #0: 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x0000000113a2c150 libsystem_pthread.dylib`_pthread_cond_wait + 767
    frame #2: 0x000000010eee98ff libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
    frame #3: 0x000000011a8ae80b JavaScriptCore`JSC::GCThread::waitForNextPhase() + 171
    frame #4: 0x000000011a8ae8a8 JavaScriptCore`JSC::GCThread::gcThreadMain() + 88
    frame #5: 0x000000011ac0a232 JavaScriptCore`WTF::threadEntryPoint(void*) + 178
    frame #6: 0x000000011ac0a68f JavaScriptCore`WTF::wtfThreadEntryPoint(void*) + 15
    frame #7: 0x0000000113a2bc13 libsystem_pthread.dylib`_pthread_body + 131
    frame #8: 0x0000000113a2bb90 libsystem_pthread.dylib`_pthread_start + 168
    frame #9: 0x0000000113a29375 libsystem_pthread.dylib`thread_start + 13

  thread #22: tid = 0x4096fa, 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'JavaScriptCore::Marking'
    frame #0: 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x0000000113a2c150 libsystem_pthread.dylib`_pthread_cond_wait + 767
    frame #2: 0x000000010eee98ff libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
    frame #3: 0x000000011a8ae80b JavaScriptCore`JSC::GCThread::waitForNextPhase() + 171
    frame #4: 0x000000011a8ae8a8 JavaScriptCore`JSC::GCThread::gcThreadMain() + 88
    frame #5: 0x000000011ac0a232 JavaScriptCore`WTF::threadEntryPoint(void*) + 178
    frame #6: 0x000000011ac0a68f JavaScriptCore`WTF::wtfThreadEntryPoint(void*) + 15
    frame #7: 0x0000000113a2bc13 libsystem_pthread.dylib`_pthread_body + 131
    frame #8: 0x0000000113a2bb90 libsystem_pthread.dylib`_pthread_start + 168
    frame #9: 0x0000000113a29375 libsystem_pthread.dylib`thread_start + 13

  thread #23: tid = 0x4096fb, 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'JavaScriptCore::Marking'
    frame #0: 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x0000000113a2c150 libsystem_pthread.dylib`_pthread_cond_wait + 767
    frame #2: 0x000000010eee98ff libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
    frame #3: 0x000000011a8ae80b JavaScriptCore`JSC::GCThread::waitForNextPhase() + 171
    frame #4: 0x000000011a8ae8a8 JavaScriptCore`JSC::GCThread::gcThreadMain() + 88
    frame #5: 0x000000011ac0a232 JavaScriptCore`WTF::threadEntryPoint(void*) + 178
    frame #6: 0x000000011ac0a68f JavaScriptCore`WTF::wtfThreadEntryPoint(void*) + 15
    frame #7: 0x0000000113a2bc13 libsystem_pthread.dylib`_pthread_body + 131
    frame #8: 0x0000000113a2bb90 libsystem_pthread.dylib`_pthread_start + 168
    frame #9: 0x0000000113a29375 libsystem_pthread.dylib`thread_start + 13

  thread #24: tid = 0x4096fc, 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'JavaScriptCore::Marking'
    frame #0: 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x0000000113a2c150 libsystem_pthread.dylib`_pthread_cond_wait + 767
    frame #2: 0x000000010eee98ff libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
    frame #3: 0x000000011a8ae80b JavaScriptCore`JSC::GCThread::waitForNextPhase() + 171
    frame #4: 0x000000011a8ae8a8 JavaScriptCore`JSC::GCThread::gcThreadMain() + 88
    frame #5: 0x000000011ac0a232 JavaScriptCore`WTF::threadEntryPoint(void*) + 178
    frame #6: 0x000000011ac0a68f JavaScriptCore`WTF::wtfThreadEntryPoint(void*) + 15
    frame #7: 0x0000000113a2bc13 libsystem_pthread.dylib`_pthread_body + 131
    frame #8: 0x0000000113a2bb90 libsystem_pthread.dylib`_pthread_start + 168
    frame #9: 0x0000000113a29375 libsystem_pthread.dylib`thread_start + 13

  thread #25: tid = 0x4096fd, 0x0000000113a61386 libsystem_kernel.dylib`mach_msg_trap + 10, name = 'WebCore: CFNetwork Loader'
    frame #0: 0x0000000113a61386 libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x0000000113a607c7 libsystem_kernel.dylib`mach_msg + 55
    frame #2: 0x0000000112cfcb64 CoreFoundation`__CFRunLoopServiceMachPort + 212
    frame #3: 0x0000000112cfbfbf CoreFoundation`__CFRunLoopRun + 1295
    frame #4: 0x0000000112cfb828 CoreFoundation`CFRunLoopRunSpecific + 488
    frame #5: 0x000000011947b46d WebCore`WebCore::runLoaderThread(void*) + 349
    frame #6: 0x000000011ac0a232 JavaScriptCore`WTF::threadEntryPoint(void*) + 178
    frame #7: 0x000000011ac0a68f JavaScriptCore`WTF::wtfThreadEntryPoint(void*) + 15
    frame #8: 0x0000000113a2bc13 libsystem_pthread.dylib`_pthread_body + 131
    frame #9: 0x0000000113a2bb90 libsystem_pthread.dylib`_pthread_start + 168
    frame #10: 0x0000000113a29375 libsystem_pthread.dylib`thread_start + 13

  thread #26: tid = 0x40974a, 0x0000000113a61386 libsystem_kernel.dylib`mach_msg_trap + 10, name = 'AVAudioSession Notify Thread'
    frame #0: 0x0000000113a61386 libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x0000000113a607c7 libsystem_kernel.dylib`mach_msg + 55
    frame #2: 0x0000000112cfcb64 CoreFoundation`__CFRunLoopServiceMachPort + 212
    frame #3: 0x0000000112cfbfbf CoreFoundation`__CFRunLoopRun + 1295
    frame #4: 0x0000000112cfb828 CoreFoundation`CFRunLoopRunSpecific + 488
    frame #5: 0x0000000113d905e7 libAVFAudio.dylib`GenericRunLoopThread::Entry(void*) + 189
    frame #6: 0x0000000113d66034 libAVFAudio.dylib`CAPThread::Entry(CAPThread*) + 80
    frame #7: 0x0000000113a2bc13 libsystem_pthread.dylib`_pthread_body + 131
    frame #8: 0x0000000113a2bb90 libsystem_pthread.dylib`_pthread_start + 168
    frame #9: 0x0000000113a29375 libsystem_pthread.dylib`thread_start + 13

  thread #27: tid = 0x409760, 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'DFG Worklist Worker Thread'
    frame #0: 0x0000000113a66eb2 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x0000000113a2c150 libsystem_pthread.dylib`_pthread_cond_wait + 767
    frame #2: 0x000000011a8923ab JavaScriptCore`JSC::DFG::Worklist::runThread(JSC::DFG::ThreadData*) + 235
    frame #3: 0x000000011ac0a232 JavaScriptCore`WTF::threadEntryPoint(void*) + 178
    frame #4: 0x000000011ac0a68f JavaScriptCore`WTF::wtfThreadEntryPoint(void*) + 15
    frame #5: 0x0000000113a2bc13 libsystem_pthread.dylib`_pthread_body + 131
    frame #6: 0x0000000113a2bb90 libsystem_pthread.dylib`_pthread_start + 168
    frame #7: 0x0000000113a29375 libsystem_pthread.dylib`thread_start + 13

  thread #28: tid = 0x409893, 0x0000000113a676de libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #0: 0x0000000113a676de libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x0000000113a2b729 libsystem_pthread.dylib`_pthread_wqthread + 1283
    frame #2: 0x0000000113a29365 libsystem_pthread.dylib`start_wqthread + 13

  thread #29: tid = 0x4098b4, 0x0000000113a676de libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #0: 0x0000000113a676de libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x0000000113a2b729 libsystem_pthread.dylib`_pthread_wqthread + 1283
    frame #2: 0x0000000113a29365 libsystem_pthread.dylib`start_wqthread + 13

  thread #30: tid = 0x4098b7, 0x0000000113a676de libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #0: 0x0000000113a676de libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x0000000113a2b729 libsystem_pthread.dylib`_pthread_wqthread + 1283
    frame #2: 0x0000000113a29365 libsystem_pthread.dylib`start_wqthread + 13
@nlutsenko
Copy link
Contributor

Hey @xaphod, thanks for the report and sorry for a delayed response.
This looks very much related to #11. Closing this one in favor of tracking a bigger issue.
Thank you for attaching a stack trace here, it helps a lot!

@nlutsenko nlutsenko self-assigned this Jan 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants