Docker for Mac Beta 1.11.2-beta15 nightly crash: posix_spawn_file_actions for fd -1 at index 0 with errno 9

Expected behavior

Docker should continue to run through the night, being available the next morning. As you’d expect from a system daemon.

Actual behavior

The latest docker daemon crashes randomly every night, and has done so since the 1.11.2-beta15 upgrade. Crash indicates file descriptor problem.

Information

System Console -> User Diagnostic Reports:

(I have multiple of these items, all being pretty much the same)

Process: Docker [29780]
Path: /Applications/Docker.app/Contents/MacOS/Docker
Identifier: com.docker.docker
Version: 1.11.2-beta15 (9168)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Docker [29780]
User ID: 502

Date/Time: 2016-06-15 02:59:34.176 -0600
OS Version: Mac OS X 10.11.5 (15F34)
Report Version: 11
Anonymous UUID: 6E97A9AE-6222-6E91-679A-28EDCE3C9F86

Sleep/Wake UUID: 127B260A-2980-4A74-AAFA-740F15A326E4

Time Awake Since Boot: 130000 seconds

System Integrity Protection: enabled

Crashed Thread: 2 Dispatch queue: com.apple.root.background-qos

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
*** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: 'Failed to set posix_spawn_file_actions for fd -1 at index 0 with errno 9’
terminating with uncaught exception of type NSException
abort() called

Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff95b964f2 __exceptionPreprocess + 178
1 libobjc.A.dylib 0x00007fff9345df7e objc_exception_throw + 48
2 CoreFoundation 0x00007fff95bfd4bd +[NSException raise:format:] + 205
3 Foundation 0x00007fff855e685d -[NSConcreteTask launchWithDictionary:] + 2494
4 Docker 0x00000001074c2177 TTSf4gs_d___TZFC6Docker7Backend15sendRequestSyncfSST5errorGSqSS_4respSS + 791
5 Docker 0x00000001074c5a93 TFZFC6Docker7Backend27listenForDockerStateChangesFT_T_U_FT_T + 1459
6 libdispatch.dylib 0x00007fff8831d93d _dispatch_call_block_and_release + 12
7 libdispatch.dylib 0x00007fff8831240b _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007fff8831629b _dispatch_root_queue_drain + 1890
9 libdispatch.dylib 0x00007fff88315b00 _dispatch_worker_thread3 + 91
10 libsystem_pthread.dylib 0x00007fff8ffef4de _pthread_wqthread + 1129
11 libsystem_pthread.dylib 0x00007fff8ffed341 start_wqthread + 13

Global Trace Buffer (reverse chronological seconds):
0.391574 libsystem_trace.dylib 0x00007fff843010fa dyld_image_header_containing_address(0x7ff3e9503d30) failed
0.392066 libsystem_trace.dylib 0x00007fff843010fa dyld_image_header_containing_address(0x7ff3e9603b40) failed
0.392209 libsystem_trace.dylib 0x00007fff843010fa dyld_image_header_containing_address(0x7ff3e9605b10) failed
0.392397 libsystem_trace.dylib 0x00007fff843010fa dyld_image_header_containing_address(0x7ff3eab04ab0) failed
0.392531 libsystem_trace.dylib 0x00007fff843010fa dyld_image_header_containing_address(0x7ff3eab04a40) failed
0.392686 libsystem_trace.dylib 0x00007fff843010fa dyld_image_header_containing_address(0x7ff3eab012a0) failed
0.392938 libsystem_trace.dylib 0x00007fff843010fa dyld_image_header_containing_address(0x7ff3ee1b3a90) failed
0.393225 libsystem_trace.dylib 0x00007fff843010fa dyld_image_header_containing_address(0x7ff3ee3bdb10) failed
0.393477 libsystem_trace.dylib 0x00007fff843010fa dyld_image_header_containing_address(0x7ff3ee3b5640) failed
0.393733 libsystem_trace.dylib 0x00007fff843010fa dyld_image_header_containing_address(0x7ff3ee1b33d0) failed
0.393950 libsystem_trace.dylib 0x00007fff843010fa dyld_image_header_containing_address(0x7ff3e9605cf0) failed
0.394137 libsystem_trace.dylib 0x00007fff843010fa dyld_image_header_containing_address(0x7ff3ee3bbe40) failed
0.394291 libsystem_trace.dylib 0x00007fff843010fa dyld_image_header_containing_address(0x7ff3ea803d50) failed
0.394438 libsystem_trace.dylib 0x00007fff843010fa dyld_image_header_containing_address(0x7ff3ee1b3a60) failed
0.394673 libsystem_trace.dylib 0x00007fff843010fa dyld_image_header_containing_address(0x7ff3ee43e480) failed
0.395214 libsystem_trace.dylib 0x00007fff843010fa dyld_image_header_containing_address(0x7ff3ee2bc900) failed
0.395513 libsystem_trace.dylib 0x00007fff843010fa dyld_image_header_containing_address(0x7ff3ee1b14c0) failed
1905.740687 CFNetwork 0x00007fff8cd1b3cb TCP Conn 0x7ff3ee41d160 SSL Handshake DONE
1906.007759 CFNetwork 0x00007fff8cd1b2a7 TCP Conn 0x7ff3ee41d160 starting SSL negotiation
1906.007892 CFNetwork 0x00007fff8cd19c71 TCP Conn 0x7ff3ee41d160 complete. fd: 4523, err: 0
1906.008067 CFNetwork 0x00007fff8cda854b TCP Conn 0x7ff3ee41d160 event 1. err: 0
1906.123731 CFNetwork 0x00007fff8cd18f43 TCP Conn 0x7ff3ee41d160 started
1906.164281 CFNetwork 0x00007fff8cd1b3cb TCP Conn 0x7ff3ee418f90 SSL Handshake DONE
1906.251720 CFNetwork 0x00007fff8cd1b2a7 TCP Conn 0x7ff3ee418f90 starting SSL negotiation
1906.251930 CFNetwork 0x00007fff8cd19c71 TCP Conn 0x7ff3ee418f90 complete. fd: 4521, err: 0
1906.252095 CFNetwork 0x00007fff8cda854b TCP Conn 0x7ff3ee418f90 event 1. err: 0
1906.308324 CFNetwork 0x00007fff8cd18f43 TCP Conn 0x7ff3ee418f90 started
5505.736852 CFNetwork 0x00007fff8cd1b3cb TCP Conn 0x7ff3ee167ca0 SSL Handshake DONE
5506.003257 CFNetwork 0x00007fff8cd1b2a7 TCP Conn 0x7ff3ee167ca0 starting SSL negotiation
5506.003469 CFNetwork 0x00007fff8cd19c71 TCP Conn 0x7ff3ee167ca0 complete. fd: 3881, err: 0
5506.003659 CFNetwork 0x00007fff8cda854b TCP Conn 0x7ff3ee167ca0 event 1. err: 0
5506.120024 CFNetwork 0x00007fff8cd18f43 TCP Conn 0x7ff3ee167ca0 started
5506.154136 CFNetwork 0x00007fff8cd1b3cb TCP Conn 0x7ff3ee0bf9e0 SSL Handshake DONE
5506.252688 CFNetwork 0x00007fff8cd1b2a7 TCP Conn 0x7ff3ee0bf9e0 starting SSL negotiation
5506.252845 CFNetwork 0x00007fff8cd19c71 TCP Conn 0x7ff3ee0bf9e0 complete. fd: 3879, err: 0
5506.253075 CFNetwork 0x00007fff8cda854b TCP Conn 0x7ff3ee0bf9e0 event 1. err: 0
5506.307092 CFNetwork 0x00007fff8cd18f43 TCP Conn 0x7ff3ee0bf9e0 started
9105.732221 CFNetwork 0x00007fff8cd1b3cb TCP Conn 0x7ff3eafebc10 SSL Handshake DONE
9105.997953 CFNetwork 0x00007fff8cd1b2a7 TCP Conn 0x7ff3eafebc10 starting SSL negotiation
9105.998220 CFNetwork 0x00007fff8cd19c71 TCP Conn 0x7ff3eafebc10 complete. fd: 3239, err: 0
9105.998397 CFNetwork 0x00007fff8cda854b TCP Conn 0x7ff3eafebc10 event 1. err: 0
9106.130205 CFNetwork 0x00007fff8cd18f43 TCP Conn 0x7ff3eafebc10 started

Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff963b7f72 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff963b73b3 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff95b0b1c4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff95b0a68c __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff95b09ed8 CFRunLoopRunSpecific + 296
5 com.apple.HIToolbox 0x00007fff999d7935 RunCurrentEventLoopInMode + 235
6 com.apple.HIToolbox 0x00007fff999d776f ReceiveNextEventCommon + 432
7 com.apple.HIToolbox 0x00007fff999d75af _BlockUntilNextEventMatchingListInModeWithFilter + 71
8 com.apple.AppKit 0x00007fff949ffdf6 _DPSNextEvent + 1067
9 com.apple.AppKit 0x00007fff949ff226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
10 com.apple.AppKit 0x00007fff94c16021 -[NSApplication _shouldTerminate] + 971
11 com.apple.AppKit 0x00007fff94c1566d -[NSApplication terminate:] + 762
12 com.apple.CoreFoundation 0x00007fff95b2b4ac CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 12
13 com.apple.CoreFoundation 0x00007fff95b0ad05 __CFRunLoopDoBlocks + 341
14 com.apple.CoreFoundation 0x00007fff95b0a4ce __CFRunLoopRun + 910
15 com.apple.CoreFoundation 0x00007fff95b09ed8 CFRunLoopRunSpecific + 296
16 com.apple.HIToolbox 0x00007fff999d7935 RunCurrentEventLoopInMode + 235
17 com.apple.HIToolbox 0x00007fff999d776f ReceiveNextEventCommon + 432
18 com.apple.HIToolbox 0x00007fff999d75af _BlockUntilNextEventMatchingListInModeWithFilter + 71
19 com.apple.AppKit 0x00007fff949ffdf6 _DPSNextEvent + 1067
20 com.apple.AppKit 0x00007fff949ff226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
21 com.apple.AppKit 0x00007fff94c16021 -[NSApplication _shouldTerminate] + 971
22 com.apple.AppKit 0x00007fff94c1566d -[NSApplication terminate:] + 762
23 com.apple.CoreFoundation 0x00007fff95b2b4ac CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 12
24 com.apple.CoreFoundation 0x00007fff95b0ad05 __CFRunLoopDoBlocks + 341
25 com.apple.CoreFoundation 0x00007fff95b0aa6b __CFRunLoopRun + 2347
26 com.apple.CoreFoundation 0x00007fff95b09ed8 CFRunLoopRunSpecific + 296
27 com.apple.HIToolbox 0x00007fff999d7935 RunCurrentEventLoopInMode + 235
28 com.apple.HIToolbox 0x00007fff999d776f ReceiveNextEventCommon + 432
29 com.apple.HIToolbox 0x00007fff999d75af _BlockUntilNextEventMatchingListInModeWithFilter + 71
30 com.apple.AppKit 0x00007fff949ffdf6 _DPSNextEvent + 1067
31 com.apple.AppKit 0x00007fff949ff226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
32 com.apple.AppKit 0x00007fff949f3d80 -[NSApplication run] + 682
33 com.apple.AppKit 0x00007fff949bd368 NSApplicationMain + 1176
34 com.docker.docker 0x000000010747a529 main + 73
35 libdyld.dylib 0x00007fff858765ad start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff963beefa kevent_qos + 10
1 libdispatch.dylib 0x00007fff88318165 _dispatch_mgr_invoke + 216
2 libdispatch.dylib 0x00007fff88317dcd _dispatch_mgr_thread + 52

Thread 2 Crashed:: Dispatch queue: com.apple.root.background-qos
0 libsystem_kernel.dylib 0x00007fff963bdf06 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff8fff24ec pthread_kill + 90
2 libsystem_c.dylib 0x00007fff8ff79787 __abort + 145
3 libsystem_c.dylib 0x00007fff8ff796f6 abort + 144
4 libc++abi.dylib 0x00007fff86ea4f81 abort_message + 257
5 libc++abi.dylib 0x00007fff86ecaa47 default_terminate_handler() + 267
6 libobjc.A.dylib 0x00007fff934606ae _objc_terminate() + 103
7 net.hockeyapp.sdk.mac 0x00000001076ad40a BITCrashUncaughtCXXTerminateHandler() + 761
8 libc++abi.dylib 0x00007fff86ec819e std::__terminate(void (*)()) + 8
9 libc++abi.dylib 0x00007fff86ec8213 std::terminate() + 51
10 libdispatch.dylib 0x00007fff8831241f _dispatch_client_callout + 28
11 libdispatch.dylib 0x00007fff8831629b _dispatch_root_queue_drain + 1890
12 libdispatch.dylib 0x00007fff88315b00 _dispatch_worker_thread3 + 91
13 libsystem_pthread.dylib 0x00007fff8ffef4de _pthread_wqthread + 1129
14 libsystem_pthread.dylib 0x00007fff8ffed341 start_wqthread + 13

Thread 3:
0 libsystem_kernel.dylib 0x00007fff963b7f72 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff963b73b3 mach_msg + 55
2 net.hockeyapp.sdk.mac 0x00000001076c40fc exception_server_thread + 202
3 libsystem_pthread.dylib 0x00007fff8ffef99d _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff8ffef91a _pthread_start + 168
5 libsystem_pthread.dylib 0x00007fff8ffed351 thread_start + 13

Thread 4:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff963b7f72 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff963b73b3 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff95b0b1c4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff95b0a68c __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff95b09ed8 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff94b55d95 _NSEventThread + 149
6 libsystem_pthread.dylib 0x00007fff8ffef99d _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8ffef91a _pthread_start + 168
8 libsystem_pthread.dylib 0x00007fff8ffed351 thread_start + 13

Thread 5:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff963b7f72 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff963b73b3 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff95b0b1c4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff95b0a68c __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff95b09ed8 CFRunLoopRunSpecific + 296
5 com.apple.CFNetwork 0x00007fff8cce0095 +[NSURLConnection(Loader) _resourceLoadLoop:] + 412
6 com.apple.Foundation 0x00007fff85553e64 NSThread__start + 1351
7 libsystem_pthread.dylib 0x00007fff8ffef99d _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff8ffef91a _pthread_start + 168
9 libsystem_pthread.dylib 0x00007fff8ffed351 thread_start + 13

Thread 6:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff963be07a __select + 10
1 com.apple.CoreFoundation 0x00007fff95b484fa __CFSocketManager + 762
2 libsystem_pthread.dylib 0x00007fff8ffef99d _pthread_body + 131
3 libsystem_pthread.dylib 0x00007fff8ffef91a _pthread_start + 168
4 libsystem_pthread.dylib 0x00007fff8ffed351 thread_start + 13

Thread 7:
0 libsystem_kernel.dylib 0x00007fff963be5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ffef578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff8ffed341 start_wqthread + 13

Thread 8:: Dispatch queue: com.apple.root.background-qos
0 libsystem_kernel.dylib 0x00007fff963be10a __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff8ff9ad17 nanosleep + 199
2 libsystem_c.dylib 0x00007fff8ff9ac0a usleep + 54
3 com.docker.docker 0x00000001074e2136 TFC6Docker12TaskInstanceP33_E96D9D758867CC4C7B0BA23827303CE729WaitForTerminationWithTimeOutfT_T + 710
4 com.docker.docker 0x00000001074dfe68 TZFC6Docker11TaskManager4StopfT_T + 1896
5 com.docker.docker 0x000000010747d4db TPA__TFFC6Docker11AppDelegate26applicationShouldTerminateFCSo13NSApplicationOSC27NSApplicationTerminateReplyU_FT_T + 43
6 libdispatch.dylib 0x00007fff8831d93d _dispatch_call_block_and_release + 12
7 libdispatch.dylib 0x00007fff8831240b _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007fff8831629b _dispatch_root_queue_drain + 1890
9 libdispatch.dylib 0x00007fff88315b00 _dispatch_worker_thread3 + 91
10 libsystem_pthread.dylib 0x00007fff8ffef4de _pthread_wqthread + 1129
11 libsystem_pthread.dylib 0x00007fff8ffed341 start_wqthread + 13

Thread 9:
0 libsystem_kernel.dylib 0x00007fff963be5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ffef578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff8ffed341 start_wqthread + 13

Thread 10:: Dispatch queue: com.apple.root.background-qos
0 libsystem_kernel.dylib 0x00007fff963bdde6 __psynch_mutexwait + 10
1 libsystem_pthread.dylib 0x00007fff8ffefe4a _pthread_mutex_lock_wait + 89
2 com.apple.Foundation 0x00007fff85526fb7 -[NSLock lock] + 145
3 com.docker.docker 0x00000001074dfbec TZFC6Docker11TaskManager4StopfT_T + 1260
4 com.docker.docker 0x000000010747d4db TPA__TFFC6Docker11AppDelegate26applicationShouldTerminateFCSo13NSApplicationOSC27NSApplicationTerminateReplyU_FT_T + 43
5 libdispatch.dylib 0x00007fff8831d93d _dispatch_call_block_and_release + 12
6 libdispatch.dylib 0x00007fff8831240b _dispatch_client_callout + 8
7 libdispatch.dylib 0x00007fff8831629b _dispatch_root_queue_drain + 1890
8 libdispatch.dylib 0x00007fff88315b00 _dispatch_worker_thread3 + 91
9 libsystem_pthread.dylib 0x00007fff8ffef4de _pthread_wqthread + 1129
10 libsystem_pthread.dylib 0x00007fff8ffed341 start_wqthread + 13

Thread 11:
0 libsystem_kernel.dylib 0x00007fff963be5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ffef578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff8ffed341 start_wqthread + 13

Thread 12:
0 libsystem_kernel.dylib 0x00007fff963be5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ffef578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff8ffed341 start_wqthread + 13

Thread 13:
0 libsystem_kernel.dylib 0x00007fff963be5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ffef578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff8ffed341 start_wqthread + 13

Thread 14:
0 libsystem_kernel.dylib 0x00007fff963be5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ffef578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff8ffed341 start_wqthread + 13

Thread 15:
0 libsystem_kernel.dylib 0x00007fff963be5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ffef578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff8ffed341 start_wqthread + 13

Thread 16:

Thread 2 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x000070000029f398 rdx: 0x0000000000000000
rdi: 0x0000000000003e03 rsi: 0x0000000000000006 rbp: 0x000070000029f3c0 rsp: 0x000070000029f398
r8: 0x0000000000000000 r9: 0x0000000000989680 r10: 0x000000000c000000 r11: 0x0000000000000206
r12: 0x000070000029f550 r13: 0x00007fff740fbf40 r14: 0x00007000002a0000 r15: 0x000070000029f430
rip: 0x00007fff963bdf06 rfl: 0x0000000000000206 cr2: 0x0000563aa3e90d7f

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133

Binary Images:
0x107478000 - 0x107517ff7 +com.docker.docker (1.11.2-beta15 - 9168) <62D3C211-164A-3686-AD84-2AD4C2E41055> /Applications/Docker.app/Contents/MacOS/Docker
0x107614000 - 0x107650ff7 +org.sparkle-project.Sparkle (1.14.0 - 1.14.0) <85A19559-55A6-3BA3-AC85-543D647D8F30> /Applications/Docker.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle
0x107691000 - 0x1076f3fff +net.hockeyapp.sdk.mac (3.2.0 - 30) <0DB06C5D-12A2-312F-AE6A-AFD9482D1952> /Applications/Docker.app/Contents/Frameworks/HockeySDK.framework/Versions/A/HockeySDK
0x10775a000 - 0x107763fff +libswiftAppKit.dylib (2.2 - 703.0.18.8) /Applications/Docker.app/Contents/Frameworks/libswiftAppKit.dylib
0x107772000 - 0x1079c4fff +libswiftCore.dylib (2.2 - 703.0.18.8) <1DB3DB43-E28D-3402-A97F-1940B81F592A> /Applications/Docker.app/Contents/Frameworks/libswiftCore.dylib
0x107bfd000 - 0x107c01fff +libswiftCoreData.dylib (2.2 - 703.0.18.8) /Applications/Docker.app/Contents/Frameworks/libswiftCoreData.dylib
0x107c0a000 - 0x107c14fff +libswiftCoreGraphics.dylib (2.2 - 703.0.18.8) /Applications/Docker.app/Contents/Frameworks/libswiftCoreGraphics.dylib
0x107c2d000 - 0x107c31fff +libswiftCoreImage.dylib (2.2 - 703.0.18.8) <9071FC4E-5C46-3020-B6C7-1C655B3C87D5> /Applications/Docker.app/Contents/Frameworks/libswiftCoreImage.dylib
0x107c38000 - 0x107c3dfff +libswiftDarwin.dylib (2.2 - 703.0.18.8) /Applications/Docker.app/Contents/Frameworks/libswiftDarwin.dylib
0x107c49000 - 0x107c4cfff +libswiftDispatch.dylib (2.2 - 703.0.18.8) /Applications/Docker.app/Contents/Frameworks/libswiftDispatch.dylib
0x107c54000 - 0x107c95ff7 +libswiftFoundation.dylib (2.2 - 703.0.18.8) <08D4B327-D394-3612-AC42-1BA0248435F7> /Applications/Docker.app/Contents/Frameworks/libswiftFoundation.dylib
0x107ce2000 - 0x107ce5ff3 +libswiftIOKit.dylib (2.2 - 703.0.18.8) <9D5A41CB-0158-3F16-9AEF-BF8A6D974003> /Applications/Docker.app/Contents/Frameworks/libswiftIOKit.dylib
0x107cf1000 - 0x107cf6fff +libswiftObjectiveC.dylib (2.2 - 703.0.18.8) /Applications/Docker.app/Contents/Frameworks/libswiftObjectiveC.dylib
0x10ad61000 - 0x10addbff7 com.apple.xquery (1.3.1 - 30) /System/Library/PrivateFrameworks/XQuery.framework/XQuery
0x10ce77000 - 0x10ce77fe7 +cl_kernels (???) <36C06596-5471-4813-BC5C-8EDADF7FBAFE> cl_kernels
0x1126a1000 - 0x112707ff7 com.apple.driver.AppleIntelHD5000GraphicsMTLDriver (10.14.66 - 10.1.4) <48A178A3-AA09-3B6C-AA4F-5BFA4145DE58> /System/Library/Extensions/AppleIntelHD5000GraphicsMTLDriver.bundle/Contents/MacOS/AppleIntelHD5000GraphicsMTLDriver
0x112b92000 - 0x112b93ff7 +cl_kernels (???) <95967FB0-3330-44C2-BF7F-626F3979FBA1> cl_kernels
0x7fff6b926000 - 0x7fff6b95d25f dyld (360.22) /usr/lib/dyld
0x7fff83625000 - 0x7fff83752ff3 com.apple.CoreText (352.0 - 494.11) <08E8640E-6602-3A00-BC28-94235FD311B4> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
0x7fff838a2000 - 0x7fff838a2ff7 liblaunch.dylib (765.50.8) <834ED605-5114-3641-AA4D-ECF31B801C50> /usr/lib/system/liblaunch.dylib
0x7fff839ba000 - 0x7fff83aa5ff7 com.apple.QuickLookUIFramework (5.0 - 696.7) <5A4AAFEC-D38C-3DA0-9361-CBF1D4C6B376> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.framework/Versions/A/QuickLookUI
0x7fff83aa6000 - 0x7fff83b0dfff com.apple.framework.CoreWiFi (11.0 - 1101.20) <993592F1-B3F1-3FAD-87BD-EA83C361BCCF> /System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi
0x7fff83b79000 - 0x7fff83bc5fff com.apple.print.framework.PrintCore (11.2 - 472.2) <5AE8AA6B-CE09-397D-B0D4-0F9CCBF1F77D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x7fff83bc6000 - 0x7fff83bf9ff7 com.apple.MediaKit (16 - 809) /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
0x7fff83bfa000 - 0x7fff83bfafff com.apple.Accelerate.vecLib (3.10 - vecLib 3.10) <054DFE32-737D-3211-9A14-0FC5E1A880E3>

<Snip – I’m not allowed to post the entire stack dump due to character limit/>

Steps to reproduce the behavior

  1. Start Docker
  2. Let it run overnight (computer may or may not sleep)
  3. Unlock the computer
  4. Docker has crashed.

I see this more often than nightly. After the first install it actually crashed pretty quickly. Since then the intervals are much longer but as far as I can see still random.

I hate to be an me too, but me too.

Application Specific Information: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Failed to set posix_spawn_file_actions for fd -1 at index 0 with errno 9' terminating with uncaught exception of type NSException abort() called

+1 I notice this nightly as well…

+1 and here’s my Docker logs exported from system Console

https://gist.githubusercontent.com/jpillora/0cc9fa1a07f699037d1f86f3497481ac/raw/docker-crash.log

+1 here.
System log exception: https://gist.githubusercontent.com/ryanschwartz/3d4edea9b78a85bd39ddd92f1628dfaf/raw/a7176c3429ecdfeba8fd00de1d8fc0f65e6f756d/gistfile1.txt

Crash report: https://gist.githubusercontent.com/ryanschwartz/1a9128ffc895f530765b2ee9db29c6de/raw/3df7ce9ccd27677b907325d53f01ff4760af4d2e/gistfile1.txt

+1 ; I’m experiencing this crash on multiple machines (macs)

+1 here as well.
I noticed it happens every time the macbook pro goes to sleep - after that have to restart docker.
this did not happen in beta14

Same problem here but not only during the night. It just crashed during a docker build (seems to be random on my computer)

I’ve had random restarts a couple times within the last hour. When I open the diagnostic menu in Docker it says everything is running fine… but obviously, everything is running fine because it just restarted. Diagnostics should be aware of recent restarts as well, so that seems deficient to me.

Also here is the System Diagnostics Report for one of the restarts

http://pastebin.com/bdAKycdA

Also rather disappointed that I can’t send this directly via Docker UI

… update… Docker for Mac has crashed for me multiple times now in the last half hour. I haven’t had such instability in previous versions, I feel like beta15 is the most unstable I’ve used so far.

We are investigating…
Thank you for sending all those crash reports, it helps us a lot to find the reason of this crash.

1 Like

With rc2-beta16 it looks much more stable. At least no crash within the last 45h

Thank you for the feedback. It is, indeed, supposed to crash less often.
We still have bugs to fix that can lead to the same kind of crashes though. We are working on them.