Follow-up:
What I know so far:
- The only way I have been able to recover is by replacing ~/Library/Application Support/Sublime Text with an older version or a new clean version.
- With a clean version, all went well until…
- I enabled the Babel text highlighting package for .js & .jsx files in order to get highlighting for jsx within .vue files: crashes started occurring again and I had to revert the ~/Library/Application Support/Sublime Text.
- Interesting that these crashes started happening after the babel/babel-sublime package was updated on May 10th.
- Once the app starts crashing, it always crashes at the same percentage shown in the footer of the app. No idea what those percentages are indicating, thought they had to do with indexing.
- Last check of the stack produced during the crash was in lex:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 sublime_text 0x10ecb6bf4 lex(lex_working_memory*, LexerState*, u32substring, std::__1::vector<TokenInfo, std::__1::allocator >&, long long, backtracking_state*, lexer_state_extractor*) + 10628
1 sublime_text 0x10ecc9384 TokenStorage::updateLexerState(long long) + 2324
2 sublime_text 0x10ecf8bfa TokenStorage::findNamesByScopes(selector_set const&, selector_set const&, std::__1::vector<std::__1::pair<SelectionRegion, NameStack>, std::__1::allocator<std::__1::pair<SelectionRegion, NameStack> > >&) + 122
3 sublime_text 0x10eb477d9 get_indexed_symbol_regions(SP, symbol_parser*, symbol_type, std::__1::vector<symbol_region, std::__1::allocator<symbol_region> >) + 89
4 sublime_text 0x10e8581b8 do_crawl(int, char**) + 1158
5 sublime_text 0x10e859033 crawl_app_loader::callback_finished() + 37
6 sublime_text 0x10e960353 setup_operation::request_finished() + 39
7 sublime_text 0x10e915d05 catalogue_rescan_operation::merge_finished(catalogue::dir) + 173
8 sublime_text 0x10e8f5cc9 result_helper::process_main() + 15
9 sublime_text 0x10e9b5d9a -[WorkQueueCallback processItems:] + 141
10 Foundation 0x7ff80ca9c527 __NSThreadPerformPerform + 179
11 CoreFoundation 0x7ff80bc1f15b __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
12 CoreFoundation 0x7ff80bc1f0c3 __CFRunLoopDoSource0 + 180
13 CoreFoundation 0x7ff80bc1ee3d __CFRunLoopDoSources0 + 242
14 CoreFoundation 0x7ff80bc1d858 __CFRunLoopRun + 892
15 CoreFoundation 0x7ff80bc1ce1c CFRunLoopRunSpecific + 562
16 Foundation 0x7ff80ca7ad4a -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 216
17 sublime_text 0x10e9be952 px_run_event_loop() + 137
18 sublime_text 0x10e7d89c4 main + 4248
19 dyld 0x115c2752e start + 462
Hope this helps in understanding what is going on.