Closed jpike88 closed 5 years ago
(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
@vscodebot fail... this is tagged incorrectly
Thread 6 crashed:
v8::internal::Parser::SpreadCall(v8::internal::Expression*, v8::internal::ZoneList<v8::internal::Expression*>*, int, v8::internal::Call::PossiblyEval) (in libnode.dylib) (zone-list-inl.h:19)
v8::internal::JSArray::AnythingToArrayLength(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, unsigned int*) (in libnode.dylib) (objects.cc:7354)
node::IsolateData::ipv4_string(v8::Isolate*) const (in libnode.dylib) (env-inl.h:699)
_pthread_body + 126
_pthread_start + 70
thread_start + 13
@deepak1556 ever seen this?
@jpike88 Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/
@bpasero I've recently started getting startup crashes as well. All good on the preview release for now.
code -v
1.31.0
7c66f58312b48ed8ca4e387ebd9ffe9605332caa
x64
Platform: macOS Mojave 10.14.3
```
Process: Electron [1782]
Path: /Applications/Visual Studio Code.app/Contents/MacOS/Electron
Identifier: com.microsoft.VSCode
Version: 1.31.0 (1.31.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1781]
Responsible: Electron [1782]
User ID: 501
Date/Time: 2019-02-12 12:40:34.154 +0100
OS Version: Mac OS X 10.14.3 (18D109)
Report Version: 12
Bridge OS Version: 3.3 (16P3133)
Anonymous UUID: E8B9C1AE-C597-1161-B28A-E44B4ACBC276
Time Awake Since Boot: 490 seconds
System Integrity Protection: enabled
Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [1782]
Application Specific Information:
Crashing on exception: windowToTakeFrom should be in FS
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff314c5ded __exceptionPreprocess + 256
1 libobjc.A.dylib 0x00007fff5d58d720 objc_exception_throw + 48
2 CoreFoundation 0x00007fff314e0a4a +[NSException raise:format:arguments:] + 98
3 Foundation 0x00007fff33884e0d -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
4 AppKit 0x00007fff2f21cb26 -[NSWindowStackController _enterWindow:intoFullScreenWithWindow:] + 1019
5 AppKit 0x00007fff2f21d241 __103-[NSWindowStackController _doTabSelectionAndWindowOrderingAtIndex:makeKeyAndOrderFront:justOrderFront:]_block_invoke + 196
6 AppKit 0x00007fff2e998b7e NSPerformVisuallyAtomicChange + 132
7 AppKit 0x00007fff2f21d050 -[NSWindowStackController _doTabSelectionAndWindowOrderingAtIndex:makeKeyAndOrderFront:justOrderFront:] + 630
8 AppKit 0x00007fff2f2198b1 -[NSWindowStackController setSelectedWindow:] + 333
9 AppKit 0x00007fff2eab3a9d -[NSWindow(NSWindowTabbing) _doTabbedWindowOrderFront] + 136
10 AppKit 0x00007fff2eab3977 -[NSApplication _setKeyWindow:] + 222
11 AppKit 0x00007fff2eab3411 -[NSWindow _changeKeyAndMainLimitedOK:] + 728
12 AppKit 0x00007fff2eab302b -[NSWindow _makeKeyRegardlessOfVisibility] + 76
13 AppKit 0x00007fff2eab2bd2 -[NSWindow makeKeyAndOrderFront:] + 40
14 Electron Framework 0x000000010d34fe29 _ZN4atom15NativeWindowMac5FocusEb + 89
15 Electron Framework 0x000000010d2eee46 _ZN4atom3api14TopLevelWindow5FocusEv + 22
16 Electron Framework 0x000000010d3278f8 _ZN4atom3api13BrowserWindow5FocusEv + 40
17 Electron Framework 0x000000010d29e47b _ZN4base8internal7InvokerINS0_9BindStateIMN4atom7BrowserEFbvEJNS0_17UnretainedWrapperIS4_EEEEEFbvEE3RunEPNS0_13BindStateBaseE + 155
18 Electron Framework 0x000000010d29e459 _ZN4base8internal7InvokerINS0_9BindStateIMN4atom7BrowserEFbvEJNS0_17UnretainedWrapperIS4_EEEEEFbvEE3RunEPNS0_13BindStateBaseE + 121
19 Electron Framework 0x000000010d2a7c8c _ZN4base8internal7InvokerINS0_9BindStateIMN4atom3api3AppEKFbvEJEEEFbPKS5_EE3RunEPNS0_13BindStateBaseESA_ + 76
20 Electron Framework 0x000000010d2f3d10 _ZN4base8internal7InvokerINS0_9BindStateIMN4atom3api14TopLevelWindowEFvvEJEEEFvPS5_EE3RunEPNS0_13BindStateBaseES9_ + 32
21 Electron Framework 0x000000010d29d629 _ZN4mate8internal10DispatcherIFvRKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE18DispatchToCallbackERKN2v820FunctionCallbackInfoINSD_5ValueEEE + 537
22 Electron Framework 0x000000010d29e788 _ZN4mate8internal10DispatcherIFvPN4atom3api4MenuEEE18DispatchToCallbackERKN2v820FunctionCallbackInfoINS8_5ValueEEE + 424
23 Electron Framework 0x000000010d2f3b9c _ZN4mate8internal10DispatcherIFvPN4atom3api14TopLevelWindowEEE18DispatchToCallbackERKN2v820FunctionCallbackInfoINS8_5ValueEEE + 124
24 libnode.dylib 0x00000001126d7a94 _ZN2v88internal13VirtualMemory11TakeControlEPS1_ + 1172
25 libnode.dylib 0x0000000112729ee2 _ZN2v88internallsERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEERKNS0_18BasicBlockProfilerE + 137890
26 libnode.dylib 0x00000001127295cc _ZN2v88internallsERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEERKNS0_18BasicBlockProfilerE + 135564
27 ??? 0x000000319298431d 0x0 + 212912849693
28 ??? 0x0000003192994557 0x0 + 212912915799
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 com.apple.AppKit 0x00007fff2ed6ca9b -[NSApplication _crashOnException:] + 109
1 com.apple.AppKit 0x00007fff2ed6c97e -[NSApplication reportException:] + 939
2 com.apple.AppKit 0x00007fff2ee2e813 uncaughtErrorProc + 157
3 com.apple.CoreFoundation 0x00007fff3153d221 __handleUncaughtException + 775
4 libobjc.A.dylib 0x00007fff5d58fc81 _objc_terminate() + 91
5 libc++abi.dylib 0x00007fff5bd8fdfe std::__terminate(void (*)()) + 8
6 libc++abi.dylib 0x00007fff5bd8386e __cxa_rethrow + 99
7 libobjc.A.dylib 0x00007fff5d58db6e objc_exception_rethrow + 40
8 com.apple.AppKit 0x00007fff2eab3685 -[NSWindow _changeKeyAndMainLimitedOK:] + 1356
9 com.apple.AppKit 0x00007fff2eab302b -[NSWindow _makeKeyRegardlessOfVisibility] + 76
10 com.apple.AppKit 0x00007fff2eab2bd2 -[NSWindow makeKeyAndOrderFront:] + 40
11 com.github.electron.framework 0x000000010d34fe29 atom::NativeWindowMac::Focus(bool) + 89
12 com.github.electron.framework 0x000000010d2eee46 atom::api::TopLevelWindow::Focus() + 22
13 com.github.electron.framework 0x000000010d3278f8 atom::api::BrowserWindow::Focus() + 40
14 com.github.electron.framework 0x000000010d29e47b 0x10d291000 + 54395
15 com.github.electron.framework 0x000000010d29e459 0x10d291000 + 54361
16 com.github.electron.framework 0x000000010d2a7c8c 0x10d291000 + 93324
17 com.github.electron.framework 0x000000010d2f3d10 base::internal::Invoker
@jpike88 Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/
weird, it hasn't happened anymore... haven't had to switch to insiders release. ill close it
@bpasero in my case it was a consistent crash on every startup. Tried rebooting, tried launching from terminal without extensions, same result every time. I did ~20 attempts, it crashed every time.
@bpasero I updated macOS from 10.12.6 to 10.14.3(Sierra), then the same phenomenon occurred.
Process: Electron [12828]
Path: /Applications/Visual Studio Code.app/Contents/MacOS/Electron
Identifier: Electron
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [12803]
Responsible: Electron [12828]
User ID: 501
Date/Time: 2019-02-16 02:59:47.225 +0900
OS Version: Mac OS X 10.14.3 (18D109)
Report Version: 12
Anonymous UUID: 829371A2-96FC-38A7-7EE7-14FFF4652E3B
Sleep/Wake UUID: 175EC0EA-F1B9-415C-A22F-6488DA12D6BC
Time Awake Since Boot: 3100 seconds
Time Since Wake: 2100 seconds
System Integrity Protection: enabled
Crashed Thread: Unknown
Exception Type: EXC_CRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace CODESIGNING, Code 0x1
kernel messages:
Backtrace not available
Unknown thread crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x00007ffeeab23668
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
rip: 0x0000000113dd9000 rfl: 0x0000000000000200 cr2: 0x0000000000000000
Logical CPU: 0
Error Code: 0x00000000
Trap Number: 0
Binary images description not available
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: 192905
thread_create: 0
thread_set_state: 0
The insider builds is no problem. Is it possible to fix the crash? (I want to use normal version)
Maybe it's a deeper issue with Electron?
@jpike88 Thank you for reply!
Maybe so.
I enter code
in terminal , then below error message is displayed.
/usr/local/bin/code: line 10: 17705 Killed: 9 ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"
But, I don't understand Electron. Should I issue to Electron repository?
I think it's worth letting the electron repo know, yeah.
I'll reopen this issue cause it's obviously an issue for some others even though mine stopped playing up...
OK, I will issue to Electron repo:smiley:
I'll reopen this issue
it's a good idea!
I'm having the same issue on macos Mojave Version 10.14.6
Everytime I open Visual studio code it crashes
Process: Electron [98779] Path: /Applications/Visual Studio Code.app/Contents/MacOS/Electron Identifier: com.microsoft.VSCode Version: ??? Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Electron [98779] User ID: 501
Date/Time: 2019-09-09 22:54:57.309 +1000 OS Version: Mac OS X 10.14.6 (18G95) Report Version: 12 Bridge OS Version: 3.0 (14Y904) Anonymous UUID: AD97B866-8CCF-E9AE-16A0-A7B7ECBB38DC
Sleep/Wake UUID: A06C4D20-82BC-4EB6-830E-618C7B78DB51
Time Awake Since Boot: 17000 seconds Time Since Wake: 2400 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (Code Signature Invalid) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace CODESIGNING, Code 0x1
kernel messages:
VM Regions Near 0 (cr2): --> __TEXT 00000001063f3000-00000001063f4000 [ 4K] r-x/rwx SM=COW
Thread 0 Crashed: 0 0x000000010e75d000 _dyld_start + 0
Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000 rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x00007ffee980cb88 r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000 r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000 rip: 0x000000010e75d000 rfl: 0x0000000000000200 cr2: 0x0000000000000000
Logical CPU: 0 Error Code: 0x00000000 Trap Number: 0
Binary Images:
0x1063f3000 - 0x1063f3ffb + (0) <80D0C143-AD7B-3ABF-ABAF-FDD31AA4CEE5>
0x10e75c000 - 0x10e7c670f + (655.1.1)
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: 253519 thread_create: 0 thread_set_state: 0
VM Region Summary: ReadOnly portion of Libraries: Total=624K resident=0K(0%) swapped_out_or_unallocated=624K(100%) Writable regions: Total=8400K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8400K(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= STACK GUARD 56.0M 1 Stack 8192K 1 DATA 232K 3 LINKEDIT 192K 2 __TEXT 432K 2 shared memory 8K 2 =========== ======= ======= TOTAL 64.8M 11
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!