Atom crashes waaaay to often


#1

Hi,

Since updating to version 1.31.2 Atom crashes regularly - meaning up to 50 times a day.
It crashes mostly when I try to edit a normal *.txt file.

I started Atom in safe mode and it crashed nonetheless :frowning:

I don’t have enough experience to check any log files by myself. Could you guide me to the corresponding folder or give me the correct commands and detailed instruction on where I have to execute mentioned commands?

I’m using macOS High Sierra (Version 10.13.6)

Cheers
Sam


#2

Yikes! Well that’s not good. To be absolutely clear, you’re talking about a crash in native code (“The renderer process has crashed!”) rather than an error notification (red notification box), right?

Could you guide me to the corresponding folder or give me the correct commands and detailed instruction on where I have to execute mentioned commands?

Open “Console.app” (you should be able to find it in Spotlight, or in the “Utilities” folder within Applications in Finder). Click on “User Reports” and you should find crash reports with “Atom” or “Atom Helper” in their name. There should be stack traces there with stack traces and a ton of information.

For future reference, you can also find a bunch of information about debugging and diagnostics in the Atom flight manual:

https://flight-manual.atom.io/hacking-atom/sections/debugging/#find-crash-logs


#3

Cool, thank you. Didn’t know about “console.app”.

Found crash reports. Should I paste the latest crash report in here?!

Process:               Atom Helper [6524]
Path:                  /Applications/Atom.app/Contents/Frameworks/Atom Helper.app/Contents/MacOS/Atom Helper
Identifier:            Atom Helper
Version:               1.31.2 (1.31.2)
Code Type:             X86-64 (Native)
Parent Process:        Atom [6520]
Responsible:           Terminal [5840]
User ID:               502

Date/Time:             2018-10-17 15:27:27.341 +0200
OS Version:            Mac OS X 10.13.6 (17G65)
Report Version:        12

Time Awake Since Boot: 19000 seconds
Time Since Wake:       7500 seconds

System Integrity Protection: enabled

Crashed Thread:        17

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x000007f9569d6138

VM Regions Near 0x7f9569d6138:
	Memory Tag 254         000006afae7fc000-000006afae800000 [   16K] ---/rwx SM=NUL  
--> 
	Memory Tag 254         00000839e70c0000-00000839e70c1000 [    4K] ---/rwx SM=NUL  

Application Specific Information:
objc_msgSend() selector name: title


Thread 0:: CrRendererMain  Dispatch queue: com.apple.main-thread
0   libnode.dylib                 	0x000000010524bb11 0x104acf000 + 7850769
1   libnode.dylib                 	0x00000001053f5ef0 0x104acf000 + 9596656
2   libnode.dylib                 	0x00000001055605b5 0x104acf000 + 11081141
3   ???                           	0x0000362e63a8463d 0 + 59572868367933
4   ???                           	0x0000362e63b19cb8 0 + 59572868979896
5   ???                           	0x0000362e63aed581 0 + 59572868797825
6   ???                           	0x0000362e63b745bc 0 + 59572869350844
7   ???                           	0x0000362e63b3f98e 0 + 59572869134734
8   ???                           	0x0000362e63b745bc 0 + 59572869350844
9   ???                           	0x0000362e63b3f98e 0 + 59572869134734
10  ???                           	0x0000362e63b745bc 0 + 59572869350844
11  ???                           	0x0000362e63b3f98e 0 + 59572869134734
12  ???                           	0x0000362e63b7470a 0 + 59572869351178
13  ???                           	0x0000362e63b3f98e 0 + 59572869134734
14  ???                           	0x0000362e63b7470a 0 + 59572869351178
15  ???                           	0x0000362e63b3f98e 0 + 59572869134734
16  ???                           	0x0000362e63b74489 0 + 59572869350537
17  ???                           	0x0000362e63b3f98e 0 + 59572869134734
18  ???                           	0x0000362e63b7470a 0 + 59572869351178
19  ???                           	0x0000362e63b3f98e 0 + 59572869134734
20  ???                           	0x0000362e63b74489 0 + 59572869350537
21  ???                           	0x0000362e63b3f98e 0 + 59572869134734
22  ???                           	0x0000362e63a85d1b 0 + 59572868373787
23  ???                           	0x0000362e63b74e92 0 + 59572869353106
24  ???                           	0x0000362e63b3f98e 0 + 59572869134734
25  ???                           	0x0000362e63b7470a 0 + 59572869351178
26  ???                           	0x0000362e63b3f98e 0 + 59572869134734
27  ???                           	0x0000362e63b7470a 0 + 59572869351178
28  ???                           	0x0000362e63b3f98e 0 + 59572869134734
29  ???                           	0x0000362e63b74d61 0 + 59572869352801
30  ???                           	0x0000362e63b3f98e 0 + 59572869134734
31  ???                           	0x0000362e63b3e439 0 + 59572869129273
32  ???                           	0x0000362e63a8410d 0 + 59572868366605
33  libnode.dylib                 	0x00000001051a7c77 0x104acf000 + 7179383
34  libnode.dylib                 	0x00000001051a79ac v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) + 140
35  libnode.dylib                 	0x0000000104f65cc0 v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) + 352
36  com.github.electron.framework 	0x0000000102b8f6f9 0x10004a000 + 45373177
37  com.github.electron.framework 	0x0000000102b79ea0 0x10004a000 + 45285024
38  com.github.electron.framework 	0x0000000102f0136a 0x10004a000 + 48984938
39  com.github.electron.framework 	0x0000000102680863 0x10004a000 + 40069219
40  com.github.electron.framework 	0x0000000100313bd2 0x10004a000 + 2923474
41  com.github.electron.framework 	0x000000010266fb88 0x10004a000 + 40000392
42  com.github.electron.framework 	0x000000010266dc82 0x10004a000 + 39992450
43  com.github.electron.framework 	0x000000010005e7f0 0x10004a000 + 83952
44  com.github.electron.framework 	0x000000010010a17d base::CancelableCallback<void ()>::Forward() const + 13
45  com.github.electron.framework 	0x00000001000e62ea 0x10004a000 + 639722
46  com.github.electron.framework 	0x00000001000e62b8 0x10004a000 + 639672
47  com.github.electron.framework 	0x00000001000e627c 0x10004a000 + 639612
48  com.github.electron.framework 	0x000000010010a1f4 base::internal::Invoker<base::internal::BindState<void (base::CancelableCallback<void ()>::*)() const, base::WeakPtr<base::CancelableCallback<void ()> > >, void ()>::Run(base::internal::BindStateBase*) + 20
49  com.github.electron.framework 	0x0000000100313bd2 0x10004a000 + 2923474
50  com.github.electron.framework 	0x00000001002d8f6b 0x10004a000 + 2682731
51  com.github.electron.framework 	0x00000001002d9355 0x10004a000 + 2683733
52  com.github.electron.framework 	0x00000001002d9852 0x10004a000 + 2685010
53  com.github.electron.framework 	0x00000001002dcaf3 0x10004a000 + 2697971
54  com.github.electron.framework 	0x000000010029125a 0x10004a000 + 2388570
55  com.github.electron.framework 	0x00000001002dc3ff 0x10004a000 + 2696191
56  com.apple.CoreFoundation      	0x00007fff459aea11 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
57  com.apple.CoreFoundation      	0x00007fff45a6842c __CFRunLoopDoSource0 + 108
58  com.apple.CoreFoundation      	0x00007fff45991470 __CFRunLoopDoSources0 + 208
59  com.apple.CoreFoundation      	0x00007fff459908ed __CFRunLoopRun + 1293
60  com.apple.CoreFoundation      	0x00007fff45990153 CFRunLoopRunSpecific + 483
61  com.apple.Foundation          	0x00007fff47a8cf26 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277
62  com.github.electron.framework 	0x00000001002dd15e 0x10004a000 + 2699614
63  com.github.electron.framework 	0x00000001002dbd0c 0x10004a000 + 2694412
64  com.github.electron.framework 	0x00000001002f2183 0x10004a000 + 2785667
65  com.github.electron.framework 	0x0000000100c9e531 0x10004a000 + 12928305
66  com.github.electron.framework 	0x00000001004a3660 0x10004a000 + 4560480
67  com.github.electron.framework 	0x00000001020a38b4 0x10004a000 + 33921204
68  com.github.electron.framework 	0x00000001004a2474 0x10004a000 + 4555892
69  com.github.electron.framework 	0x000000010004be84 AtomMain + 68
70  com.github.atom.helper        	0x0000000100041f26 main + 38
71  libdyld.dylib                 	0x00007fff6d7d3015 start + 1

Thread 1:: TaskSchedulerServiceThread
0   libsystem_kernel.dylib        	0x00007fff6d924bea kevent + 10
1   com.github.electron.framework 	0x0000000100343ac9 0x10004a000 + 3119817
2   com.github.electron.framework 	0x0000000100342c5d 0x10004a000 + 3116125
3   com.github.electron.framework 	0x00000001002dbb6f 0x10004a000 + 2693999
4   com.github.electron.framework 	0x00000001002f2183 0x10004a000 + 2785667
5   com.github.electron.framework 	0x0000000100316359 0x10004a000 + 2933593
6   com.github.electron.framework 	0x00000001002e6df7 0x10004a000 + 2739703
7   libsystem_pthread.dylib       	0x00007fff6daeb661 _pthread_body + 340
8   libsystem_pthread.dylib       	0x00007fff6daeb50d _pthread_start + 377
9   libsystem_pthread.dylib       	0x00007fff6daeabf9 thread_start + 13

Thread 2:: Chrome_ChildIOThread
0   libsystem_kernel.dylib        	0x00007fff6d924bea kevent + 10
1   com.github.electron.framework 	0x0000000100343ac9 0x10004a000 + 3119817
2   com.github.electron.framework 	0x0000000100342c5d 0x10004a000 + 3116125
3   com.github.electron.framework 	0x00000001002dbb6f 0x10004a000 + 2693999
4   com.github.electron.framework 	0x00000001002f2183 0x10004a000 + 2785667
5   com.github.electron.framework 	0x0000000100316359 0x10004a000 + 2933593
6   com.github.electron.framework 	0x00000001002e6df7 0x10004a000 + 2739703
7   libsystem_pthread.dylib       	0x00007fff6daeb661 _pthread_body + 340
8   libsystem_pthread.dylib       	0x00007fff6daeb50d _pthread_start + 377
9   libsystem_pthread.dylib       	0x00007fff6daeabf9 thread_start + 13

Thread 3:: GpuMemoryThread
0   libsystem_kernel.dylib        	0x00007fff6d91a20a mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff6d919724 mach_msg + 60
2   com.apple.CoreFoundation      	0x00007fff45991785 __CFRunLoopServiceMachPort + 341
3   com.apple.CoreFoundation      	0x00007fff45990ad7 __CFRunLoopRun + 1783
4   com.apple.CoreFoundation      	0x00007fff45990153 CFRunLoopRunSpecific + 483
5   com.github.electron.framework 	0x00000001002dce4f 0x10004a000 + 2698831
6   com.github.electron.framework 	0x00000001002dbd0c 0x10004a000 + 2694412
7   com.github.electron.framework 	0x00000001002f2183 0x10004a000 + 2785667
8   com.github.electron.framework 	0x0000000100316359 0x10004a000 + 2933593
9   com.github.electron.framework 	0x00000001002e6df7 0x10004a000 + 2739703
10  libsystem_pthread.dylib       	0x00007fff6daeb661 _pthread_body + 340
11  libsystem_pthread.dylib       	0x00007fff6daeb50d _pthread_start + 377
12  libsystem_pthread.dylib       	0x00007fff6daeabf9 thread_start + 13

Thread 4:: Compositor
0   libsystem_kernel.dylib        	0x00007fff6d91a20a mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff6d919724 mach_msg + 60
2   com.apple.CoreFoundation      	0x00007fff45991785 __CFRunLoopServiceMachPort + 341
3   com.apple.CoreFoundation      	0x00007fff45990ad7 __CFRunLoopRun + 1783
4   com.apple.CoreFoundation      	0x00007fff45990153 CFRunLoopRunSpecific + 483
5   com.github.electron.framework 	0x00000001002dce4f 0x10004a000 + 2698831
6   com.github.electron.framework 	0x00000001002dbd0c 0x10004a000 + 2694412
7   com.github.electron.framework 	0x00000001002f2183 0x10004a000 + 2785667
8   com.github.electron.framework 	0x0000000100316359 0x10004a000 + 2933593
9   com.github.electron.framework 	0x00000001002e6df7 0x10004a000 + 2739703
10  libsystem_pthread.dylib       	0x00007fff6daeb661 _pthread_body + 340
11  libsystem_pthread.dylib       	0x00007fff6daeb50d _pthread_start + 377
12  libsystem_pthread.dylib       	0x00007fff6daeabf9 thread_start + 13

Thread 5:: Renderer::FILE
0   libsystem_kernel.dylib        	0x00007fff6d91a20a mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff6d919724 mach_msg + 60
2   com.apple.CoreFoundation      	0x00007fff45991785 __CFRunLoopServiceMachPort + 341
3   com.apple.CoreFoundation      	0x00007fff45990ad7 __CFRunLoopRun + 1783
4   com.apple.CoreFoundation      	0x00007fff45990153 CFRunLoopRunSpecific + 483
5   com.github.electron.framework 	0x00000001002dce4f 0x10004a000 + 2698831
6   com.github.electron.framework 	0x00000001002dbd0c 0x10004a000 + 2694412
7   com.github.electron.framework 	0x00000001002f2183 0x10004a000 + 2785667
8   com.github.electron.framework 	0x0000000100316359 0x10004a000 + 2933593
9   com.github.electron.framework 	0x00000001002e6df7 0x10004a000 + 2739703
10  libsystem_pthread.dylib       	0x00007fff6daeb661 _pthread_body + 340
11  libsystem_pthread.dylib       	0x00007fff6daeb50d _pthread_start + 377
12  libsystem_pthread.dylib       	0x00007fff6daeabf9 thread_start + 13

Thread 6:: CompositorTileWorker1/14083
0   libsystem_kernel.dylib        	0x00007fff6d923a16 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff6daec589 _pthread_cond_wait + 732
2   com.github.electron.framework 	0x0000000100b57269 0x10004a000 + 11588201
3   com.github.electron.framework 	0x000000010030149d 0x10004a000 + 2847901
4   com.github.electron.framework 	0x00000001002e6df7 0x10004a000 + 2739703
5   libsystem_pthread.dylib       	0x00007fff6daeb661 _pthread_body + 340
6   libsystem_pthread.dylib       	0x00007fff6daeb50d _pthread_start + 377
7   libsystem_pthread.dylib       	0x00007fff6daeabf9 thread_start + 13

Thread 7:: CompositorTileWorker2/17155
0   libsystem_kernel.dylib        	0x00007fff6d923a16 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff6daec589 _pthread_cond_wait + 732
2   com.github.electron.framework 	0x0000000100b57269 0x10004a000 + 11588201
3   com.github.electron.framework 	0x000000010030149d 0x10004a000 + 2847901
4   com.github.electron.framework 	0x00000001002e6df7 0x10004a000 + 2739703
5   libsystem_pthread.dylib       	0x00007fff6daeb661 _pthread_body + 340
6   libsystem_pthread.dylib       	0x00007fff6daeb50d _pthread_start + 377
7   libsystem_pthread.dylib       	0x00007fff6daeabf9 thread_start + 13

Thread 8:: CompositorTileWorker3/16643
0   libsystem_kernel.dylib        	0x00007fff6d923a16 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff6daec589 _pthread_cond_wait + 732
2   com.github.electron.framework 	0x0000000100b57269 0x10004a000 + 11588201
3   com.github.electron.framework 	0x000000010030149d 0x10004a000 + 2847901
4   com.github.electron.framework 	0x00000001002e6df7 0x10004a000 + 2739703
5   libsystem_pthread.dylib       	0x00007fff6daeb661 _pthread_body + 340
6   libsystem_pthread.dylib       	0x00007fff6daeb50d _pthread_start + 377
7   libsystem_pthread.dylib       	0x00007fff6daeabf9 thread_start + 13

Thread 9:: CompositorTileWorker4/14595
0   libsystem_kernel.dylib        	0x00007fff6d923a16 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff6daec589 _pthread_cond_wait + 732
2   com.github.electron.framework 	0x0000000100b57269 0x10004a000 + 11588201
3   com.github.electron.framework 	0x000000010030149d 0x10004a000 + 2847901
4   com.github.electron.framework 	0x00000001002e6df7 0x10004a000 + 2739703
5   libsystem_pthread.dylib       	0x00007fff6daeb661 _pthread_body + 340
6   libsystem_pthread.dylib       	0x00007fff6daeb50d _pthread_start + 377
7   libsystem_pthread.dylib       	0x00007fff6daeabf9 thread_start + 13

Thread 10:: CompositorTileWorkerBackground/15107
0   libsystem_kernel.dylib        	0x00007fff6d923a16 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff6daec589 _pthread_cond_wait + 732
2   com.github.electron.framework 	0x0000000100b57269 0x10004a000 + 11588201
3   com.github.electron.framework 	0x000000010030149d 0x10004a000 + 2847901
4   com.github.electron.framework 	0x00000001002e6df7 0x10004a000 + 2739703
5   libsystem_pthread.dylib       	0x00007fff6daeb661 _pthread_body + 340
6   libsystem_pthread.dylib       	0x00007fff6daeb50d _pthread_start + 377
7   libsystem_pthread.dylib       	0x00007fff6daeabf9 thread_start + 13

Thread 11:: TaskSchedulerRendererForegroundWorker0
0   libsystem_kernel.dylib        	0x00007fff6d923a16 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff6daec5c2 _pthread_cond_wait + 789
2   com.github.electron.framework 	0x00000001002961bb 0x10004a000 + 2408891
3   com.github.electron.framework 	0x000000010033ba90 0x10004a000 + 3086992
4   com.github.electron.framework 	0x000000010033bbc1 0x10004a000 + 3087297
5   com.github.electron.framework 	0x00000001002f56b8 0x10004a000 + 2799288
6   com.github.electron.framework 	0x00000001002f5d24 0x10004a000 + 2800932
7   com.github.electron.framework 	0x00000001002e6df7 0x10004a000 + 2739703
8   libsystem_pthread.dylib       	0x00007fff6daeb661 _pthread_body + 340
9   libsystem_pthread.dylib       	0x00007fff6daeb50d _pthread_start + 377
10  libsystem_pthread.dylib       	0x00007fff6daeabf9 thread_start + 13

Thread 12:
0   libsystem_kernel.dylib        	0x00007fff6d923cf2 __select + 10
1   com.github.electron.framework 	0x00000001001873a2 atom::NodeBindingsMac::PollEvents() + 210
2   com.github.electron.framework 	0x0000000100186bcf atom::NodeBindings::EmbedThreadRunner(void*) + 63
3   libsystem_pthread.dylib       	0x00007fff6daeb661 _pthread_body + 340
4   libsystem_pthread.dylib       	0x00007fff6daeb50d _pthread_start + 377
5   libsystem_pthread.dylib       	0x00007fff6daeabf9 thread_start + 13

Thread 13:: TaskSchedulerRendererForegroundWorker1
0   libsystem_kernel.dylib        	0x00007fff6d923a16 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff6daec5c2 _pthread_cond_wait + 789
2   com.github.electron.framework 	0x00000001002961bb 0x10004a000 + 2408891
3   com.github.electron.framework 	0x000000010033ba90 0x10004a000 + 3086992
4   com.github.electron.framework 	0x000000010033bbc1 0x10004a000 + 3087297
5   com.github.electron.framework 	0x00000001002f56b8 0x10004a000 + 2799288
6   com.github.electron.framework 	0x00000001002f5d24 0x10004a000 + 2800932
7   com.github.electron.framework 	0x00000001002e6df7 0x10004a000 + 2739703
8   libsystem_pthread.dylib       	0x00007fff6daeb661 _pthread_body + 340
9   libsystem_pthread.dylib       	0x00007fff6daeb50d _pthread_start + 377
10  libsystem_pthread.dylib       	0x00007fff6daeabf9 thread_start + 13

Thread 14:: TaskSchedulerRendererBackgroundBlockingWorker0
0   libsystem_kernel.dylib        	0x00007fff6d923a16 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff6daec5c2 _pthread_cond_wait + 789
2   com.github.electron.framework 	0x00000001002961bb 0x10004a000 + 2408891
3   com.github.electron.framework 	0x000000010033ba90 0x10004a000 + 3086992
4   com.github.electron.framework 	0x000000010033bbc1 0x10004a000 + 3087297
5   com.github.electron.framework 	0x00000001002f56b8 0x10004a000 + 2799288
6   com.github.electron.framework 	0x00000001002f5d24 0x10004a000 + 2800932
7   com.github.electron.framework 	0x00000001002e6df7 0x10004a000 + 2739703
8   libsystem_pthread.dylib       	0x00007fff6daeb661 _pthread_body + 340
9   libsystem_pthread.dylib       	0x00007fff6daeb50d _pthread_start + 377
10  libsystem_pthread.dylib       	0x00007fff6daeabf9 thread_start + 13

Thread 15:
0   libsystem_kernel.dylib        	0x00007fff6d923a46 __psynch_mutexwait + 10
1   libsystem_pthread.dylib       	0x00007fff6daebb9d _pthread_mutex_lock_wait + 83
2   libsystem_pthread.dylib       	0x00007fff6dae94c8 _pthread_mutex_lock_slow + 253
3   libobjc.A.dylib               	0x00007fff6cbae669 recursive_mutex_tt<false>::lock() + 9
4   libobjc.A.dylib               	0x00007fff6cbb0e34 objc_sync_enter + 25
5   com.apple.Foundation          	0x00007fff47a9a610 -[NSThread _nq:] + 45
6   com.apple.Foundation          	0x00007fff47a9a49e -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 865
7   com.apple.Foundation          	0x00007fff47a9a0bf -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 131
8   com.apple.AppKit              	0x00007fff42fbce18 -[NSMenuItemCell setMenuItem:] + 148
9   com.apple.AppKit              	0x00007fff42fbbf1c -[NSPopUpButtonCell _selectItemAtIndex:alteringState:] + 308
10  com.apple.AppKit              	0x00007fff43689da2 -[NSSpellChecker setLanguage:] + 96
11  spellchecker.node             	0x000000010ef700ee spellchecker::MacSpellchecker::UpdateGlobalSpellchecker() + 116
12  spellchecker.node             	0x000000010ef703a9 spellchecker::MacSpellchecker::CheckSpelling(unsigned short const*, unsigned long) + 79
13  spellchecker.node             	0x000000010ef6f007 spellchecker::SpellcheckerThreadView::CheckSpelling(unsigned short const*, unsigned long) + 19
14  spellchecker.node             	0x000000010ef6ea35 CheckSpellingWorker::Execute() + 67
15  libnode.dylib                 	0x0000000104c7c71e 0x104acf000 + 1759006
16  libnode.dylib                 	0x0000000104c7ca8f 0x104acf000 + 1759887
17  libsystem_pthread.dylib       	0x00007fff6daeb661 _pthread_body + 340
18  libsystem_pthread.dylib       	0x00007fff6daeb50d _pthread_start + 377
19  libsystem_pthread.dylib       	0x00007fff6daeabf9 thread_start + 13

Thread 16:
0   libsystem_kernel.dylib        	0x00007fff6d923a2e __psynch_mutexdrop + 10
1   libsystem_pthread.dylib       	0x00007fff6daebae4 _pthread_mutex_unlock_drop + 36
2   libsystem_pthread.dylib       	0x00007fff6dae9917 _pthread_mutex_unlock_slow + 459
3   libobjc.A.dylib               	0x00007fff6cbb1211 recursive_mutex_tt<false>::tryUnlock() + 9
4   libobjc.A.dylib               	0x00007fff6cbb11f1 objc_sync_exit + 36
5   com.apple.Foundation          	0x00007fff47a9a8fc -[NSThread _nq:] + 793
6   com.apple.Foundation          	0x00007fff47a9a49e -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 865
7   com.apple.Foundation          	0x00007fff47a9a0bf -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 131
8   com.apple.AppKit              	0x00007fff42fbce18 -[NSMenuItemCell setMenuItem:] + 148
9   com.apple.AppKit              	0x00007fff42fbbf1c -[NSPopUpButtonCell _selectItemAtIndex:alteringState:] + 308
10  com.apple.AppKit              	0x00007fff43689da2 -[NSSpellChecker setLanguage:] + 96
11  spellchecker.node             	0x000000010ef700ee spellchecker::MacSpellchecker::UpdateGlobalSpellchecker() + 116
12  spellchecker.node             	0x000000010ef703a9 spellchecker::MacSpellchecker::CheckSpelling(unsigned short const*, unsigned long) + 79
13  spellchecker.node             	0x000000010ef6f007 spellchecker::SpellcheckerThreadView::CheckSpelling(unsigned short const*, unsigned long) + 19
14  spellchecker.node             	0x000000010ef6ea35 CheckSpellingWorker::Execute() + 67
15  libnode.dylib                 	0x0000000104c7c71e 0x104acf000 + 1759006
16  libnode.dylib                 	0x0000000104c7ca8f 0x104acf000 + 1759887
17  libsystem_pthread.dylib       	0x00007fff6daeb661 _pthread_body + 340
18  libsystem_pthread.dylib       	0x00007fff6daeb50d _pthread_start + 377
19  libsystem_pthread.dylib       	0x00007fff6daeabf9 thread_start + 13

Thread 17 Crashed:
0   libobjc.A.dylib               	0x00007fff6cbabe9d objc_msgSend + 29
1   com.apple.AppKit              	0x00007fff42f2a73e -[NSMenu indexOfItemWithTitle:] + 245
2   com.apple.AppKit              	0x00007fff4323ad2d -[NSPopUpButtonCell selectItemWithTitle:] + 74
3   com.apple.AppKit              	0x00007fff43689da2 -[NSSpellChecker setLanguage:] + 96
4   spellchecker.node             	0x000000010ef700ee spellchecker::MacSpellchecker::UpdateGlobalSpellchecker() + 116
5   spellchecker.node             	0x000000010ef703a9 spellchecker::MacSpellchecker::CheckSpelling(unsigned short const*, unsigned long) + 79
6   spellchecker.node             	0x000000010ef6f007 spellchecker::SpellcheckerThreadView::CheckSpelling(unsigned short const*, unsigned long) + 19
7   spellchecker.node             	0x000000010ef6ea35 CheckSpellingWorker::Execute() + 67
8   libnode.dylib                 	0x0000000104c7c71e 0x104acf000 + 1759006
9   libnode.dylib                 	0x0000000104c7ca8f 0x104acf000 + 1759887
10  libsystem_pthread.dylib       	0x00007fff6daeb661 _pthread_body + 340
11  libsystem_pthread.dylib       	0x00007fff6daeb50d _pthread_start + 377
12  libsystem_pthread.dylib       	0x00007fff6daeabf9 thread_start + 13

Thread 18:
0   libsystem_kernel.dylib        	0x00007fff6d923a46 __psynch_mutexwait + 10
1   libsystem_pthread.dylib       	0x00007fff6daebb9d _pthread_mutex_lock_wait + 83
2   libsystem_pthread.dylib       	0x00007fff6dae94c8 _pthread_mutex_lock_slow + 253
3   libobjc.A.dylib               	0x00007fff6cbae669 recursive_mutex_tt<false>::lock() + 9
4   libobjc.A.dylib               	0x00007fff6cbb0e34 objc_sync_enter + 25
5   com.apple.Foundation          	0x00007fff47a9a610 -[NSThread _nq:] + 45
6   com.apple.Foundation          	0x00007fff47a9a49e -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 865
7   com.apple.Foundation          	0x00007fff47a9a0bf -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 131
8   com.apple.AppKit              	0x00007fff42fbbf1c -[NSPopUpButtonCell _selectItemAtIndex:alteringState:] + 308
9   com.apple.AppKit              	0x00007fff43689da2 -[NSSpellChecker setLanguage:] + 96
10  spellchecker.node             	0x000000010ef700ee spellchecker::MacSpellchecker::UpdateGlobalSpellchecker() + 116
11  spellchecker.node             	0x000000010ef703a9 spellchecker::MacSpellchecker::CheckSpelling(unsigned short const*, unsigned long) + 79
12  spellchecker.node             	0x000000010ef6f007 spellchecker::SpellcheckerThreadView::CheckSpelling(unsigned short const*, unsigned long) + 19
13  spellchecker.node             	0x000000010ef6ea35 CheckSpellingWorker::Execute() + 67
14  libnode.dylib                 	0x0000000104c7c71e 0x104acf000 + 1759006
15  libnode.dylib                 	0x0000000104c7ca8f 0x104acf000 + 1759887
16  libsystem_pthread.dylib       	0x00007fff6daeb661 _pthread_body + 340
17  libsystem_pthread.dylib       	0x00007fff6daeb50d _pthread_start + 377
18  libsystem_pthread.dylib       	0x00007fff6daeabf9 thread_start + 13

....


Thread 17 crashed with X86 Thread State (64-bit):
rax: 0x00007f9569d68cf0  rbx: 0x00007fff6cbabe80  rcx: 0x0000001600000017  rdx: 0xffffffffffffffff
rdi: 0x00007f9569d59fa0  rsi: 0x00007fff43bbdaff  rbp: 0x000070001025ac60  rsp: 0x000070001025ab38
r8: 0x0000000000000000   r9: 0x0000000000000055  r10: 0x000007f9569d6120  r11: 0x00007fff43bbdaff
r12: 0x00007fff43bbdaff  r13: 0x0000000000000016  r14: 0x0000000000000013  r15: 0x00007fff43bc58b4
rip: 0x00007fff6cbabe9d  rfl: 0x0000000000010202  cr2: 0x000007f9569d6138

Logical CPU:     3
Error Code:      0x00000004
Trap Number:     14
    .....

#4

That’s a good start :smile: Thanks, that’s helpful. From the stack, it looks like this is a problem with the spellchecker. Would you mind filing an issue on our native spellcheck module and attaching that trace?

Meanwhile, try disabling the core spell-check package (by running apm disable spell-check in Terminal, or using the settings view within Atom) to help it be less crashy until we can find and ship a fix.


#5

Cool, thanks for your help.

Filed an issue, rather on the lazy side though…

Cheers