I don’t know exactly what causes this but it seems like it is possibly either one or a combination of having:
- Lots of tabs and several projects open.
- Deleted files that are still open in tabs and marked as dirty.
- A large number of files in the project being closed.
- An overlap in files between the project you’re attempting to close and another open project.
Here’s the crash report for your process, in hopes that it helps:
Date/Time: 2016-05-21 12:30:09 +0200
OS Version: Mac OS X 10.11.5 (Build 15F34)
Architecture: x86_64h
Report Version: 22
Command: Sublime Text
Path: /Applications/Sublime Text.app/Contents/MacOS/Sublime Text
Version: Build 3114 (3114)
Parent: launchd [1]
PID: 14043
Event: hang
Duration: 1.50s (process was unresponsive for 17 seconds before sampling)
Steps: 14 (100ms sampling interval, 1 samples avoided due to audio)
Hardware model: MacBookPro11,1
Active cpus: 4
Fan speed: 1309 rpm
--------------------------------------------------
Timeline format: stacks are sorted chronologically
Use -i and -heavy to re-report with count sorting
--------------------------------------------------
Heaviest stack for the main thread of the target process:
14 start + 52 (Sublime Text + 5588) [0x102d3a5d4]
14 main + 2952 (Sublime Text + 9437) [0x102d3b4dd]
14 px_run_event_loop() + 182 (Sublime Text + 2367707) [0x102f7b0db]
14 -[NSApplication run] + 893 (AppKit + 249427) [0x7fff9ec3ce53]
14 -[NSAutoreleasePool drain] + 153 (Foundation + 100842) [0x7fff8efa99ea]
14 _CFAutoreleasePoolPop + 50 (CoreFoundation + 298002) [0x7fff98676c12]
14 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 477 (libobjc.A.dylib + 27451) [0x7fff9a4c7b3b]
14 -[NSWindow release] + 190 (AppKit + 378423) [0x7fff9ec5c637]
14 -[PXWindow dealloc] + 175 (Sublime Text + 2383911) [0x102f7f027]
14 window_impl::~window_impl() + 14 (Sublime Text + 2216300) [0x102f5616c]
14 SP<control>::~SP() + 39 (Sublime Text + 446599) [0x102da6087]
14 edit_window::~edit_window() + 14 (Sublime Text + 126402) [0x102d57dc2]
14 edit_window::~edit_window() + 394 (Sublime Text + 125118) [0x102d578be]
14 folder_list::remove_all() + 111 (Sublime Text + 330503) [0x102d89b07]
14 concat_table_data_source::remove_source(SP<table_data_source>, bool) + 484 (Sublime Text + 1868622) [0x102f0134e]
14 group_table_data_source::rows_erased(int, int, bool) + 29 (Sublime Text + 1866659) [0x102f00ba3]
14 concat_table_data_source::subscriber_proxy::rows_erased(int, int, bool) + 171 (Sublime Text + 1870391) [0x102f01a37]
5 expandable_table_data_source::rows_erased(int, int, bool) + 151 (Sublime Text + 2183409) [0x102f4e0f1] (running)
Process: Sublime Text [14043]
Path: /Applications/Sublime Text.app/Contents/MacOS/Sublime Text
Architecture: x86_64
Parent: launchd [1]
UID: 501
Task size: 87052 pages
CPU Time: 1.398s
Note: Unresponsive for 17 seconds before sampling
Note: 1 idle work queue threads omitted
Thread 0x18e5f4 DispatchQueue 1 14 samples (1-14) priority 47 (base 47) cpu time 1.393s
<process frontmost, thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [176], IO policy important>
14 start + 52 (Sublime Text + 5588) [0x102d3a5d4] 1-14
14 main + 2952 (Sublime Text + 9437) [0x102d3b4dd] 1-14
14 px_run_event_loop() + 182 (Sublime Text + 2367707) [0x102f7b0db] 1-14
14 -[NSApplication run] + 893 (AppKit + 249427) [0x7fff9ec3ce53] 1-14
14 -[NSAutoreleasePool drain] + 153 (Foundation + 100842) [0x7fff8efa99ea] 1-14
14 _CFAutoreleasePoolPop + 50 (CoreFoundation + 298002) [0x7fff98676c12] 1-14
14 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 477 (libobjc.A.dylib + 27451) [0x7fff9a4c7b3b] 1-14
14 -[NSWindow release] + 190 (AppKit + 378423) [0x7fff9ec5c637] 1-14
14 -[PXWindow dealloc] + 175 (Sublime Text + 2383911) [0x102f7f027] 1-14
14 window_impl::~window_impl() + 14 (Sublime Text + 2216300) [0x102f5616c] 1-14
14 SP<control>::~SP() + 39 (Sublime Text + 446599) [0x102da6087] 1-14
14 edit_window::~edit_window() + 14 (Sublime Text + 126402) [0x102d57dc2] 1-14
14 edit_window::~edit_window() + 394 (Sublime Text + 125118) [0x102d578be] 1-14
14 folder_list::remove_all() + 111 (Sublime Text + 330503) [0x102d89b07] 1-14
14 concat_table_data_source::remove_source(SP<table_data_source>, bool) + 484 (Sublime Text + 1868622) [0x102f0134e] 1-14
14 group_table_data_source::rows_erased(int, int, bool) + 29 (Sublime Text + 1866659) [0x102f00ba3] 1-14
14 concat_table_data_source::subscriber_proxy::rows_erased(int, int, bool) + 171 (Sublime Text + 1870391) [0x102f01a37] 1-14
1 expandable_table_data_source::rows_erased(int, int, bool) + 139 (Sublime Text + 2183397) [0x102f4e0e5] (running) 1
2 expandable_table_data_source::rows_erased(int, int, bool) + 151 (Sublime Text + 2183409) [0x102f4e0f1] (running) 2-3
1 expandable_table_data_source::rows_erased(int, int, bool) + 134 (Sublime Text + 2183392) [0x102f4e0e0] (running) 4
1 expandable_table_data_source::rows_erased(int, int, bool) + 151 (Sublime Text + 2183409) [0x102f4e0f1] (running) 5
1 expandable_table_data_source::rows_erased(int, int, bool) + 136 (Sublime Text + 2183394) [0x102f4e0e2] (running) 6
2 expandable_table_data_source::rows_erased(int, int, bool) + 139 (Sublime Text + 2183397) [0x102f4e0e5] (running) 7-8
1 expandable_table_data_source::rows_erased(int, int, bool) + 134 (Sublime Text + 2183392) [0x102f4e0e0] (running) 9
1 expandable_table_data_source::rows_erased(int, int, bool) + 155 (Sublime Text + 2183413) [0x102f4e0f5] (running) 10
1 expandable_table_data_source::rows_erased(int, int, bool) + 134 (Sublime Text + 2183392) [0x102f4e0e0] (running) 11
1 expandable_table_data_source::rows_erased(int, int, bool) + 151 (Sublime Text + 2183409) [0x102f4e0f1] (running) 12
1 expandable_table_data_source::rows_erased(int, int, bool) + 139 (Sublime Text + 2183397) [0x102f4e0e5] (running) 13
1 expandable_table_data_source::rows_erased(int, int, bool) + 151 (Sublime Text + 2183409) [0x102f4e0f1] (running) 14
Thread 0x18e606 DispatchQueue 2 14 samples (1-14) priority 47 (base 47)
<process frontmost, thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [176], IO policy important>
14 _dispatch_mgr_thread + 52 (libdispatch.dylib + 32205) [0x7fff8b20edcd] 1-14
14 kevent_qos + 10 (libsystem_kernel.dylib + 98042) [0x7fff8af25efa] 1-14
*14 ??? (kernel + 5828224) [0xffffff800078ee80] 1-14
Thread 0x18e605 14 samples (1-14) priority 31 (base 31)
<process frontmost, thread QoS legacy (requested legacy), process unclamped, process received importance donation from WindowServer [176], IO policy important>
14 thread_start + 13 (libsystem_pthread.dylib + 4945) [0x7fff9e022351] 1-14
14 _pthread_start + 168 (libsystem_pthread.dylib + 14618) [0x7fff9e02491a] 1-14
14 _pthread_body + 131 (libsystem_pthread.dylib + 14749) [0x7fff9e02499d] 1-14
14 google_breakpad::ExceptionHandler::WaitForMessage(void*) + 165 (Sublime Text + 3363301) [0x10306e1e5] 1-14
14 mach_msg_trap + 10 (libsystem_kernel.dylib + 69490) [0x7fff8af1ef72] 1-14
*14 ipc_mqueue_receive_continue + 0 (kernel + 812624) [0xffffff80002c6650] 1-14
Thread 0x18e62c 14 samples (1-14) priority 31 (base 31)
<process frontmost, thread QoS legacy (requested legacy), process unclamped, process received importance donation from WindowServer [176], IO policy important>
14 thread_start + 13 (libsystem_pthread.dylib + 4945) [0x7fff9e022351] 1-14
14 _pthread_start + 168 (libsystem_pthread.dylib + 14618) [0x7fff9e02491a] 1-14
14 _pthread_body + 131 (libsystem_pthread.dylib + 14749) [0x7fff9e02499d] 1-14
14 queue_run_helper(void*) + 29 (Sublime Text + 2491996) [0x102f9965c] 1-14
14 basic_queue_runner::run() + 156 (Sublime Text + 2491656) [0x102f99508] 1-14
14 __psynch_cvwait + 10 (libsystem_kernel.dylib + 93622) [0x7fff8af24db6] 1-14
*14 psynch_cvcontinue + 0 (pthread + 30218) [0xffffff7f80ede60a] 1-14
Thread 0x18e62d 14 samples (1-14) priority 31 (base 31)
<process frontmost, thread QoS legacy (requested legacy), process unclamped, process received importance donation from WindowServer [176], IO policy important>
14 thread_start + 13 (libsystem_pthread.dylib + 4945) [0x7fff9e022351] 1-14
14 _pthread_start + 168 (libsystem_pthread.dylib + 14618) [0x7fff9e02491a] 1-14
14 _pthread_body + 131 (libsystem_pthread.dylib + 14749) [0x7fff9e02499d] 1-14
14 worker_run_helper(void*) + 29 (Sublime Text + 2507197) [0x102f9d1bd] 1-14
14 io_worker::thread_proc() + 28 (Sublime Text + 2507262) [0x102f9d1fe] 1-14
14 io_scheduler::extract_next_request() + 123 (Sublime Text + 2506093) [0x102f9cd6d] 1-14
14 __psynch_cvwait + 10 (libsystem_kernel.dylib + 93622) [0x7fff8af24db6] 1-14
*14 psynch_cvcontinue + 0 (pthread + 30218) [0xffffff7f80ede60a] 1-14
Thread 0x18e62e 14 samples (1-14) priority 31 (base 31)
<process frontmost, thread QoS legacy (requested legacy), process unclamped, process received importance donation from WindowServer [176], IO policy important>
14 thread_start + 13 (libsystem_pthread.dylib + 4945) [0x7fff9e022351] 1-14
14 _pthread_start + 168 (libsystem_pthread.dylib + 14618) [0x7fff9e02491a] 1-14
14 _pthread_body + 131 (libsystem_pthread.dylib + 14749) [0x7fff9e02499d] 1-14
14 worker_run_helper(void*) + 29 (Sublime Text + 2507197) [0x102f9d1bd] 1-14
14 io_worker::thread_proc() + 28 (Sublime Text + 2507262) [0x102f9d1fe] 1-14
14 io_scheduler::extract_next_request() + 123 (Sublime Text + 2506093) [0x102f9cd6d] 1-14
14 __psynch_cvwait + 10 (libsystem_kernel.dylib + 93622) [0x7fff8af24db6] 1-14
*14 psynch_cvcontinue + 0 (pthread + 30218) [0xffffff7f80ede60a] 1-14
Thread 0x18e6af 14 samples (1-14) priority 47 (base 47) cpu time 0.005s
<process frontmost, thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [176], IO policy important>
14 thread_start + 13 (libsystem_pthread.dylib + 4945) [0x7fff9e022351] 1-14
14 _pthread_start + 168 (libsystem_pthread.dylib + 14618) [0x7fff9e02491a] 1-14
14 _pthread_body + 131 (libsystem_pthread.dylib + 14749) [0x7fff9e02499d] 1-14
14 _NSEventThread + 149 (AppKit + 1699221) [0x7fff9ed9ed95] 1-14
14 CFRunLoopRunSpecific + 296 (CoreFoundation + 560856) [0x7fff986b6ed8] 1-14
11 __CFRunLoopRun + 1356 (CoreFoundation + 562828) [0x7fff986b768c] 1-11
11 __CFRunLoopServiceMachPort + 212 (CoreFoundation + 565700) [0x7fff986b81c4] 1-11
11 mach_msg_trap + 10 (libsystem_kernel.dylib + 69490) [0x7fff8af1ef72] 1-11
*11 ipc_mqueue_receive_continue + 0 (kernel + 812624) [0xffffff80002c6650] 1-11
1 __CFRunLoopRun + 2171 (CoreFoundation + 563643) [0x7fff986b79bb] 12
1 __CFRunLoopDoSource1 + 473 (CoreFoundation + 597897) [0x7fff986bff89] 12
1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41 (CoreFoundation + 598041) [0x7fff986c0019] 12
1 __CFMachPortPerform + 252 (CoreFoundation + 598316) [0x7fff986c012c] 12
1 MessageHandler(__CFMachPort*, void*, long, void*) + 51 (HIToolbox + 238938) [0x7fff9263855a] 12
1 PullEventsFromWindowServerOnConnection(unsigned int, unsigned char, __CFMachPortBoost*) + 102 (HIToolbox + 239077) [0x7fff926385e5] 12
1 CGEventCreateNextEvent + 50 (CoreGraphics + 385476) [0x7fff9a8821c4] 12
1 CGSGetNextEventRecordInternal + 84 (CoreGraphics + 385739) [0x7fff9a8822cb] 12
1 CGSSnarfAndDispatchDatagrams + 1079 (CoreGraphics + 387295) [0x7fff9a8828df] 12
1 CGSDatagramReadStreamDispatchDatagramsWithData + 271 (CoreGraphics + 387680) [0x7fff9a882a60] 12
1 CGSDatagramReadStream::dispatch_datagrams() + 1134 (CoreGraphics + 388986) [0x7fff9a882f7a] 12
1 CGSDecodeEventRecord + 89 (CoreGraphics + 392283) [0x7fff9a883c5b] 12
1 CGEventCreateFromDataAndSource + 2856 (CoreGraphics + 395239) [0x7fff9a8847e7] 12
1 szone_free_definite_size + 186 (libsystem_malloc.dylib + 17464) [0x7fff9e08b438] (running) 12
2 __CFRunLoopRun + 1356 (CoreFoundation + 562828) [0x7fff986b768c] 13-14
2 __CFRunLoopServiceMachPort + 212 (CoreFoundation + 565700) [0x7fff986b81c4] 13-14
2 mach_msg_trap + 10 (libsystem_kernel.dylib + 69490) [0x7fff8af1ef72] 13-14
*2 ipc_mqueue_receive_continue + 0 (kernel + 812624) [0xffffff80002c6650] 13-14
Thread 0x18e6cf 14 samples (1-14) priority 63 (base 63)
<process frontmost, process unclamped, process received importance donation from WindowServer [176], IO policy important>
14 thread_start + 13 (libsystem_pthread.dylib + 4945) [0x7fff9e022351] 1-14
14 _pthread_start + 168 (libsystem_pthread.dylib + 14618) [0x7fff9e02491a] 1-14
14 _pthread_body + 131 (libsystem_pthread.dylib + 14749) [0x7fff9e02499d] 1-14
14 __NSThread__start__ + 1351 (Foundation + 220772) [0x7fff8efc6e64] 1-14
14 +[NSURLConnection(Loader) _resourceLoadLoop:] + 412 (CFNetwork + 32917) [0x7fff91f6d095] 1-14
14 CFRunLoopRunSpecific + 296 (CoreFoundation + 560856) [0x7fff986b6ed8] 1-14
14 __CFRunLoopRun + 1356 (CoreFoundation + 562828) [0x7fff986b768c] 1-14
14 __CFRunLoopServiceMachPort + 212 (CoreFoundation + 565700) [0x7fff986b81c4] 1-14
14 mach_msg_trap + 10 (libsystem_kernel.dylib + 69490) [0x7fff8af1ef72] 1-14
*14 ipc_mqueue_receive_continue + 0 (kernel + 812624) [0xffffff80002c6650] 1-14
Thread 0x18e6d9 14 samples (1-14) priority 47 (base 47)
<process frontmost, thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [176], IO policy important>
14 thread_start + 13 (libsystem_pthread.dylib + 4945) [0x7fff9e022351] 1-14
14 _pthread_start + 168 (libsystem_pthread.dylib + 14618) [0x7fff9e02491a] 1-14
14 _pthread_body + 131 (libsystem_pthread.dylib + 14749) [0x7fff9e02499d] 1-14
14 __select + 10 (libsystem_kernel.dylib + 94330) [0x7fff8af2507a] 1-14
*14 ??? (kernel + 5989200) [0xffffff80007b6350] 1-14
Thread 0x18e6da 14 samples (1-14) priority 31 (base 31)
<process frontmost, thread QoS legacy (requested legacy), process unclamped, process received importance donation from WindowServer [176], IO policy important>
14 thread_start + 13 (libsystem_pthread.dylib + 4945) [0x7fff9e022351] 1-14
14 _pthread_start + 168 (libsystem_pthread.dylib + 14618) [0x7fff9e02491a] 1-14
14 _pthread_body + 131 (libsystem_pthread.dylib + 14749) [0x7fff9e02499d] 1-14
14 shm_reader_thread(void*) + 133 (Sublime Text + 536295) [0x102dbbee7] 1-14
14 shm_channel::read_message(string_buffer*, int) + 48 (Sublime Text + 2481548) [0x102f96d8c] 1-14
14 sem_wait + 10 (libsystem_kernel.dylib + 99482) [0x7fff8af2649a] 1-14
*14 hndl_unix_scall64 + 22 (kernel + 2018406) [0xffffff80003ecc66] 1-14
*14 unix_syscall64 + 593 (kernel + 6456993) [0xffffff80008286a1] 1-14
*14 sem_wait_nocancel + 171 (kernel + 6362043) [0xffffff80008113bb] 1-14
*14 ??? (kernel + 1031475) [0xffffff80002fbd33] 1-14
*14 thread_block_reason + 175 (kernel + 986607) [0xffffff80002f0def] 1-14
*14 ??? (kernel + 1000156) [0xffffff80002f42dc] 1-14
*14 machine_switch_context + 316 (kernel + 1875644) [0xffffff80003c9ebc] 1-14
Thread 0x18e6dc 14 samples (1-14) priority 31 (base 31)
<process frontmost, thread QoS legacy (requested legacy), process unclamped, process received importance donation from WindowServer [176], IO policy important>
14 thread_start + 13 (libsystem_pthread.dylib + 4945) [0x7fff9e022351] 1-14
14 _pthread_start + 168 (libsystem_pthread.dylib + 14618) [0x7fff9e02491a] 1-14
14 _pthread_body + 131 (libsystem_pthread.dylib + 14749) [0x7fff9e02499d] 1-14
14 void* std::__1::__thread_proxy<std::__1::tuple<start_process_monitor_thread(unsigned int, void (*)())::$_0> >(void*) + 65 (Sublime Text + 2464671) [0x102f92b9f] 1-14
14 __wait4 + 10 (libsystem_kernel.dylib + 95618) [0x7fff8af25582] 1-14
*14 ??? (kernel + 5989200) [0xffffff80007b6350] 1-14
Thread 0x18e740 14 samples (1-14) priority 31 (base 31)
<process frontmost, thread QoS legacy (requested legacy), process unclamped, process received importance donation from WindowServer [176], IO policy important>
14 thread_start + 13 (libsystem_pthread.dylib + 4945) [0x7fff9e022351] 1-14
14 _pthread_start + 168 (libsystem_pthread.dylib + 14618) [0x7fff9e02491a] 1-14
14 _pthread_body + 131 (libsystem_pthread.dylib + 14749) [0x7fff9e02499d] 1-14
14 leveldb::(anonymous namespace)::PosixEnv::BGThreadWrapper(void*) + 90 (Sublime Text + 3344696) [0x103069938] 1-14
14 __psynch_cvwait + 10 (libsystem_kernel.dylib + 93622) [0x7fff8af24db6] 1-14
*14 psynch_cvcontinue + 0 (pthread + 30218) [0xffffff7f80ede60a] 1-14
Binary Images:
0x102d39000 - 0x103356fff com.sublimetext.3 Build 3114 (3114) <1C337FA4-F2CF-3AE3-B01C-75574B9ACEA6> /Applications/Sublime Text.app/Contents/MacOS/Sublime Text
0x7fff8af0e000 - 0x7fff8af2cfff libsystem_kernel.dylib (3248.50.21) <78E54D59-D2B0-3F54-9A4A-0A68D671F253> /usr/lib/system/libsystem_kernel.dylib
0x7fff8b207000 - 0x7fff8b234fff libdispatch.dylib (501.40.12) <C7499857-61A5-3D7D-A5EA-65DCC8C3DF92> /usr/lib/system/libdispatch.dylib
0x7fff8ef91000 - 0x7fff8f2e5fff com.apple.Foundation 6.9 (1259) <71A9D3A0-0B1F-3E3A-86F3-1486365A6EF2> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff91f65000 - 0x7fff921ecfff com.apple.CFNetwork 760.5.1 (760.5.1) <EE9426D1-F11C-3DD4-AE08-EA29AEB27177> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x7fff925fe000 - 0x7fff928f3fff com.apple.HIToolbox 2.1.1 (807.2) <36413C45-36AF-34EF-9C0E-F18B31D1E565> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x7fff9862e000 - 0x7fff98aa4fff com.apple.CoreFoundation 6.9 (1258.1) <943A1383-DA6A-3DC0-ABCD-D9AEB3D0D34D> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff9a4c1000 - 0x7fff9a823fff libobjc.A.dylib (680) <7489D2D6-1EFD-3414-B18D-2AECCCC90286> /usr/lib/libobjc.A.dylib
0x7fff9a824000 - 0x7fff9ba72fff com.apple.CoreGraphics 1.600.0 (957) <B5D82A82-EDF9-34D5-A8C5-7F25B80985EE> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x7fff9e021000 - 0x7fff9e02afff libsystem_pthread.dylib (138.10.4) <3DD1EF4C-1D1B-3ABF-8CC6-B3B1CEEE9559> /usr/lib/system/libsystem_pthread.dylib
0x7fff9e087000 - 0x7fff9e0a3fff libsystem_malloc.dylib (67.40.1) <5748E8B2-F81C-34C6-8B13-456213127678> /usr/lib/system/libsystem_malloc.dylib
0x7fff9ec00000 - 0x7fff9f829fff com.apple.AppKit 6.9 (1404.47) <F3411F6E-DD87-34D0-8C68-C69B2205E41D> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
*0xffffff7f80ed7000 - 0xffffff7f80ee0fff com.apple.kec.pthread 1.0 (1) <39D0B4EB-B7F4-3891-96C2-F8B886656C8A> /System/Library/Extensions/pthread.kext/Contents/MacOS/pthread
*0xffffff8000200000 - 0xffffff80009fffff kernel (3248.50.21) <7E7B0822-D2DE-3B39-A7A5-77B40A668BC6> /System/Library/Kernels/kernel
Workaround
In the data directory, delete:
- Index/
- Local/Session.sublime_session