I’m using Dev Build 3182 on macOS Mojave 10.14.1 and when opening a specific project (Java) Sublime crashes while it indexes. However this problem open happened after updating from 3181 to 3182. If I go back to 3181, I still have this problem.
To eliminate that this is a plugin causing the crash I moved ~/Library/Application Support/Sublime Text 3
somewhere else, but the crash still occurs.
It only seems to happen with one specific project. Opening other projects and it doesn’t crash.
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000110f42000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [65654]
VM Regions Near 0x110f42000:
MALLOC_LARGE 0000000110e5b000-0000000110f42000 [ 924K] rw-/rwx SM=PRV
-->
MALLOC_LARGE 0000000110f90000-0000000111062000 [ 840K] rw-/rwx SM=PRV
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.sublimetext.3 0x000000010e4c7de0 next_token(usubstring) + 48
1 com.sublimetext.3 0x000000010e4c883a lex(lex_working_memory&, LexerState*, usubstring, std::__1::vector<TokenInfo, std::__1::allocator<TokenInfo> >&) + 2042
2 com.sublimetext.3 0x000000010e4da7f7 TokenStorage::tokenise(BucketContainer<tree_list<TokenBuffer, TokenBuffer::token_list_ops>, TokenStorage::TokenBufferFactory>::iterator, long long, LexerState*, usubstring) + 663
3 com.sublimetext.3 0x000000010e4d86bf TokenStorage::insertCharacters(long long, usubstring) + 671
4 com.sublimetext.3 0x000000010e7c9f77 process_read_data(ReadData*) + 1310
5 com.sublimetext.3 0x000000010e7c913b FileBufferSource::beginRead(TextBuffer*, TokenStorage*) + 623
6 com.sublimetext.3 0x000000010e806997 TextBuffer::associate(BufferSource*) + 207
7 com.sublimetext.3 0x000000010e57abc4 crawl_app_loader::callback_finished() + 1366
8 com.sublimetext.3 0x000000010e63af7b setup_operation::request_finished() + 33
9 com.sublimetext.3 0x000000010e5fcdb4 catalogue_rescan_operation::merge_finished(catalogue::dir*) + 160
10 com.sublimetext.3 0x000000010e5fe036 catalogue_rescan_operation::scan_callback::main_scan_single_dir(substring, std::__1::vector<file_info, std::__1::allocator<file_info> > const&) + 3916
11 com.sublimetext.3 0x000000010e5e2feb result_helper::process_main() + 15
12 com.sublimetext.3 0x000000010e67e700 -[WorkQueueCallback processItems:] + 151
13 com.apple.Foundation 0x00007fff30722abb __NSThreadPerformPerform + 327
14 com.apple.CoreFoundation 0x00007fff2e325f09 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
15 com.apple.CoreFoundation 0x00007fff2e325eaf __CFRunLoopDoSource0 + 108
16 com.apple.CoreFoundation 0x00007fff2e309d5c __CFRunLoopDoSources0 + 195
17 com.apple.CoreFoundation 0x00007fff2e309303 __CFRunLoopRun + 1226
18 com.apple.CoreFoundation 0x00007fff2e308be6 CFRunLoopRunSpecific + 467
19 com.apple.Foundation 0x00007fff3068d3ba -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280
20 com.sublimetext.3 0x000000010e686817 px_run_event_loop() + 137
21 com.sublimetext.3 0x000000010e4bc64a main + 5700
22 com.sublimetext.3 0x000000010e4bad74 start + 52
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 11128767
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=379.3M resident=0K(0%) swapped_out_or_unallocated=379.3M(100%)
Writable regions: Total=176.1M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=176.1M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 2
Dispatch continuations 24.0M 2
Kernel Alloc Once 8K 2
MALLOC 118.0M 24
MALLOC guard page 16K 5
STACK GUARD 56.0M 7
Stack 25.5M 7
VM_ALLOCATE 8196K 3
__DATA 24.1M 232
__FONT_DATA 4K 2
__LINKEDIT 222.1M 4
__TEXT 157.2M 232
__UNICODE 564K 2
mapped file 24K 2
shared memory 600K 7
=========== ======= =======
TOTAL 636.5M 518