Closed denny-trebbin closed 3 years ago
Hey @denny-trebbin,
Appreciate you taking the time to submit a bug report. I haven't been able to reproduce the issue you are seeing. If you are still seeing this issue with Nova 3 would you be able to take a look at what is appearing in the Extension Console before the crash?
The Extension Console can be accessed here:
If you haven't already it may also be worth deleting your .elixir_ls
folder and seeing if that resolves the crash.
With Nova3 I have the same issue. I deleted the empty .elixir_ls
folder which had no effect on the issue.
Screen recording of the crash with Nova 3
I don't see a Extension Console as I'm not developing the extension.
Screen shot showing the Extensions menu
I use Elixir 1.11.2 (OTP 23) on the project.
I enabled the Developer console but I can't find useful information before the crash.
Screen recording of the crash with active developer console in Nova 3
Screen shot right before the crash showing the developer console in Nova 3
@denny-trebbin Hmm that is strange. I've released a new version of the extension that should handle language server crashes better. I'm not sure it will solve your issues but give it a try when you get a chance. If you haven't already I would also try disabling any other extensions you may have installed to see if that changes anything
Screen recording showing the developer console in Nova 3 and most recent ElixirLS version
I can't share the project because it's the IP of the company I'm working for. I use asdf
to manage Erlang and Elixir. Neither were compiled with special options. asdf install erlang latest
and asdf install elixir latest
.
@raulchedrese I checked out this repository and tried it locally. It kept crashing until I updated the elixir-ls submodule.
When I use elixir-lsp/elixir-ls@3ce835f383bd57cbbb24f389a87154c58c622114 then Nova3 keeps crashes. When I use elixir-lsp/elixir-ls@3acc1fdb2ef2c1167935f7b6e74300e039200ec5 then Nova3 doesn't crash anymore.
On my site this issue seems fixed.
Awesome, thanks for helping sort this one out!
ElixirLS crashes Nova when the notification appears informing that the Dialyzer is being built now.
The
.elixir_ls
folder under project root is empty but the.gitignore
file. The project contains 1189.ex
files and 245.exs
files.Crash Log
``` Process: Nova [66869] Path: /Applications/Nova.app/Contents/MacOS/Nova Identifier: com.panic.Nova Version: 2.1 (215812) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Nova [66869] User ID: 501 Date/Time: 2020-11-12 13:37:19.278 +0100 OS Version: Mac OS X 10.15.7 (19H15) Report Version: 12 Bridge OS Version: 4.6 (17P6610) Anonymous UUID: CC9D1148-B85F-4D38-8940-DBF3BACF8350 Time Awake Since Boot: 15000 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: abort() called Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff7210f33a __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff721cbe60 pthread_kill + 430 2 libsystem_c.dylib 0x00007fff72096808 abort + 120 3 com.panic.Nova 0x000000010181f2a1 0x10145e000 + 3936929 4 com.panic.Nova 0x000000010180a358 0x10145e000 + 3851096 5 com.apple.CoreFoundation 0x00007fff3801e93c __handleUncaughtException + 726 6 libobjc.A.dylib 0x00007fff70e215a3 _objc_terminate() + 90 7 com.panic.Nova 0x00000001017ff05f 0x10145e000 + 3805279 8 libc++abi.dylib 0x00007fff6f2f4887 std::__terminate(void (*)()) + 8 9 libc++abi.dylib 0x00007fff6f2f4829 std::terminate() + 41 10 libdispatch.dylib 0x00007fff71f6e66c _dispatch_client_callout + 28 11 libdispatch.dylib 0x00007fff71f79cab _dispatch_main_queue_callback_4CF + 936 12 com.apple.CoreFoundation 0x00007fff37f68e81 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 13 com.apple.CoreFoundation 0x00007fff37f28c87 __CFRunLoopRun + 2028 14 com.apple.CoreFoundation 0x00007fff37f27e3e CFRunLoopRunSpecific + 462 15 com.apple.HIToolbox 0x00007fff36b54abd RunCurrentEventLoopInMode + 292 16 com.apple.HIToolbox 0x00007fff36b547d5 ReceiveNextEventCommon + 584 17 com.apple.HIToolbox 0x00007fff36b54579 _BlockUntilNextEventMatchingListInModeWithFilter + 64 18 com.apple.AppKit 0x00007fff3519a039 _DPSNextEvent + 883 19 com.apple.AppKit 0x00007fff35198880 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352 20 com.apple.AppKit 0x00007fff3518a58e -[NSApplication run] + 658 21 com.apple.AppKit 0x00007fff3515c396 NSApplicationMain + 777 22 libdyld.dylib 0x00007fff71fc7cc9 start + 1 Thread 1: 0 libsystem_pthread.dylib 0x00007fff721c7b68 start_wqthread + 0 Thread 2: 0 libsystem_pthread.dylib 0x00007fff721c7b68 start_wqthread + 0 Thread 3: 0 libsystem_kernel.dylib 0x00007fff72108dfa mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff72109170 mach_msg + 60 2 com.panic.Nova 0x000000010181182c 0x10145e000 + 3881004 3 libsystem_pthread.dylib 0x00007fff721cc109 _pthread_start + 148 4 libsystem_pthread.dylib 0x00007fff721c7b8b thread_start + 15 Thread 4:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff72108dfa mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff72109170 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff37f29ef5 __CFRunLoopServiceMachPort + 247 3 com.apple.CoreFoundation 0x00007fff37f289c2 __CFRunLoopRun + 1319 4 com.apple.CoreFoundation 0x00007fff37f27e3e CFRunLoopRunSpecific + 462 5 com.apple.AppKit 0x00007fff3533b954 _NSEventThread + 132 6 libsystem_pthread.dylib 0x00007fff721cc109 _pthread_start + 148 7 libsystem_pthread.dylib 0x00007fff721c7b8b thread_start + 15 Thread 5: 0 libsystem_pthread.dylib 0x00007fff721c7b68 start_wqthread + 0 Thread 6: 0 libsystem_pthread.dylib 0x00007fff721c7b68 start_wqthread + 0 Thread 7: 0 libsystem_pthread.dylib 0x00007fff721c7b68 start_wqthread + 0 Thread 8: 0 libsystem_pthread.dylib 0x00007fff721c7b68 start_wqthread + 0 Thread 9: 0 libsystem_pthread.dylib 0x00007fff721c7b68 start_wqthread + 0 Thread 10: 0 libsystem_pthread.dylib 0x00007fff721c7b68 start_wqthread + 0 Thread 11:: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x00007fff72108dfa mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff72109170 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff37f29ef5 __CFRunLoopServiceMachPort + 247 3 com.apple.CoreFoundation 0x00007fff37f289c2 __CFRunLoopRun + 1319 4 com.apple.CoreFoundation 0x00007fff37f27e3e CFRunLoopRunSpecific + 462 5 com.apple.CFNetwork 0x00007fff3675fe32 0x7fff36715000 + 306738 6 com.apple.Foundation 0x00007fff3a5bb7a2 __NSThread__start__ + 1064 7 libsystem_pthread.dylib 0x00007fff721cc109 _pthread_start + 148 8 libsystem_pthread.dylib 0x00007fff721c7b8b thread_start + 15 Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x000000010f8f0dc0 rcx: 0x00007ffeee79ff48 rdx: 0x0000000000000000 rdi: 0x0000000000000307 rsi: 0x0000000000000006 rbp: 0x00007ffeee79ff70 rsp: 0x00007ffeee79ff48 r8: 0x0000000000000010 r9: 0x00007ffeee79fd80 r10: 0x000000010f8f0dc0 r11: 0x0000000000000246 r12: 0x0000000000000307 r13: 0x00006000000c89a0 r14: 0x0000000000000006 r15: 0x0000000000000016 rip: 0x00007fff7210f33a rfl: 0x0000000000000246 cr2: 0x0000000105f12000 Logical CPU: 0 Error Code: 0x020000b8 Trap Number: 133 Binary Images: 0x10145e000 - 0x1018ddfff +com.panic.Nova (2.1 - 215812) <6E5E8416-1AEE-396A-96AD-B67D9030021A> /Applications/Nova.app/Contents/MacOS/Nova 0x101a82000 - 0x101ab8fff +com.panic.FaceKit (1.0 - 1) <1E36C6C3-9AD2-347B-9C3E-BBCF03D750AB> /Applications/Nova.app/Contents/Frameworks/FaceKit.framework/Versions/A/FaceKit 0x101af7000 - 0x101beefff +com.panic.PanicAppKit (1.1.2 - 1) <3F6FCA7D-D305-3FD0-8735-FDE3D591EFDB> /Applications/Nova.app/Contents/Frameworks/PanicAppKit.framework/Versions/A/PanicAppKit 0x101d9a000 - 0x101dabffb +com.panic.Markdown (1.0 - 1) <4D68947C-D161-3F3D-BD41-C4BAC9D67477> /Applications/Nova.app/Contents/Frameworks/Markdown.framework/Versions/A/Markdown 0x101dc0000 - 0x101e07ff7 +org.sparkle-project.Sparkle (2.0.0 - 2.0.0) <62D7B785-C706-3E9A-AEA5-24B7B412CD22> /Applications/Nova.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle 0x101e8b000 - 0x101ec2fff +com.panic.SyncKit (1.0 - 1)