Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS Code Crashes Daily #118747

Closed
jvilk-stripe opened this issue Mar 11, 2021 · 3 comments
Closed

VS Code Crashes Daily #118747

jvilk-stripe opened this issue Mar 11, 2021 · 3 comments
Assignees
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues info-needed Issue requires more information from poster macos Issues with VS Code on MAC/OS X

Comments

@jvilk-stripe
Copy link

Steps to Reproduce:

One engineer at my company experiences VS Code crashes 1-2 times per day. There is no apparent pattern, and no others have reported this issue. They have captured a crash dump.

Here is the crash dump in a zip file.

Let me know if you require any additional information. Also, if there's a way that I could receive a symbolized version of the crash dump... that would be swell. :)

cc @franklin-stripe

Does this issue occur when all extensions are disabled?: Using VS Code without extensions for a full day would be a pretty big regression in productivity. I can ask them to do this, but I suspect the crash report will be useful even without this data point.

@deepak1556
Copy link
Collaborator

Symbolicated trace

Thread 23 (crashed)
 0  libsystem_kernel.dylib!__pthread_kill + 0xa
    rax = 0x0000000000000000   rdx = 0x0000000000000000
    rcx = 0x000070001440abb8   rbx = 0x0000700014410000
    rsi = 0x0000000000000006   rdi = 0x000000000000e503
    rbp = 0x000070001440abe0   rsp = 0x000070001440abb8
     r8 = 0x00000000000130a8    r9 = 0x0000000000000000
    r10 = 0x0000700014410000   r11 = 0x0000000000000246
    r12 = 0x000000000000e503   r13 = 0x000070001440f300
    r14 = 0x0000000000000006   r15 = 0x0000000000000016
    rip = 0x00007fff71eec33a
    Found by: given as instruction pointer in context
 1  libsystem_c.dylib!abort + 0x78
    rbp = 0x000070001440ac20   rsp = 0x000070001440abf0
    rip = 0x00007fff71e73808
    Found by: previous frame's frame pointer
 2  Electron Framework!base::internal::OnNoMemoryInternal(unsigned long) [memory.cc : 50 + 0x5]
    rbp = 0x000070001440ac40   rsp = 0x000070001440ac30
    rip = 0x000000010e529c3c
    Found by: previous frame's frame pointer
 3  Electron Framework!(anonymous namespace)::OnNoMemory(unsigned long) [oom.h : 21 + 0x7]
    rbp = 0x000070001440ac50   rsp = 0x000070001440ac50
    rip = 0x000000010f6bf050
    Found by: previous frame's frame pointer
 4  Electron Framework!blink::ReportOOMErrorInMainThread(char const*, bool) [v8_initializer.cc : 102 + 0x5]
    rbp = 0x000070001440ac60   rsp = 0x000070001440ac60
    rip = 0x000000010f6be7a9
    Found by: previous frame's frame pointer
 5  Electron Framework!v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [api.cc : 522 + 0x8]
    rbp = 0x000070001440ac80   rsp = 0x000070001440ac70
    rip = 0x000000010dce23a0
    Found by: previous frame's frame pointer
 6  Electron Framework!v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [api.cc : 479 + 0xf]
    rbp = 0x000070001440f6d0   rsp = 0x000070001440ac90
    rip = 0x000000010dce2363
    Found by: previous frame's frame pointer
 7  Electron Framework!v8::internal::Heap::FatalProcessOutOfMemory(char const*) [heap.cc : 5788 + 0xa]
    rbp = 0x000070001440f6e0   rsp = 0x000070001440f6e0
    rip = 0x000000010ddb9a35
    Found by: previous frame's frame pointer
 8  Electron Framework!v8::internal::SlotCallbackResult v8::internal::Scavenger::ScavengeObject<v8::internal::CompressedHeapObjectSlot>(v8::internal::CompressedHeapObjectSlot, v8::internal::HeapObject) [scavenger-inl.h : 270 + 0xc]
    rbp = 0x000070001440f790   rsp = 0x000070001440f6f0
    rip = 0x000000010b08daaf
    Found by: previous frame's frame pointer
 9  Electron Framework!v8::internal::Scavenger::Process(v8::internal::OneshotBarrier*) [scavenger-inl.h : 462 + 0x5]
    rbp = 0x000070001440f870   rsp = 0x000070001440f7a0
    rip = 0x000000010b085ade
    Found by: previous frame's frame pointer
10  Electron Framework!v8::internal::ScavengingTask::ProcessItems() [scavenger.cc : 71 + 0x5]
    rbp = 0x000070001440f8b0   rsp = 0x000070001440f880
    rip = 0x000000010b08bf43
    Found by: previous frame's frame pointer
11  Electron Framework!v8::internal::ScavengingTask::RunInParallel(v8::internal::ItemParallelJob::Task::Runner) [scavenger.cc : 55 + 0x8]
    rbp = 0x000070001440f9a0   rsp = 0x000070001440f8c0
    rip = 0x000000010b08bb85
    Found by: previous frame's frame pointer
12  Electron Framework!v8::internal::ItemParallelJob::Task::RunInternal() [item-parallel-job.cc : 34 + 0x6]
    rbp = 0x000070001440f9c0   rsp = 0x000070001440f9b0
    rip = 0x000000010b03f022
    Found by: previous frame's frame pointer
13  Electron Framework!base::TaskAnnotator::RunTask(char const*, base::PendingTask*) [callback.h : 100 + 0x3]
    rbp = 0x000070001440faa0   rsp = 0x000070001440f9d0
    rip = 0x000000010b7a83e9
    Found by: previous frame's frame pointer
14  Electron Framework!base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) [task_tracker.cc : 768 + 0xc]
    rbp = 0x000070001440fab0   rsp = 0x000070001440fab0
    rip = 0x000000010b7c09c7
    Found by: previous frame's frame pointer
15  Electron Framework!base::internal::TaskTracker::RunTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&) [task_tracker.cc : 783 + 0x8]
    rbp = 0x000070001440fc20   rsp = 0x000070001440fac0
    rip = 0x000000010b7c0368
    Found by: previous frame's frame pointer
16  Electron Framework!base::internal::TaskTrackerPosix::RunTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&) [task_tracker_posix.cc : 22 + 0x11]
    rbp = 0x000070001440fce0   rsp = 0x000070001440fc30
    rip = 0x000000010b7e291d
    Found by: previous frame's frame pointer
17  Electron Framework!base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) [task_tracker.cc : 505 + 0x10]
    rbp = 0x000070001440fea0   rsp = 0x000070001440fcf0
    rip = 0x000000010b7bfee0
    Found by: previous frame's frame pointer
18  Electron Framework!base::internal::WorkerThread::RunWorker() [worker_thread.cc : 349 + 0xe]
    rbp = 0x000070001440ff60   rsp = 0x000070001440feb0
    rip = 0x000000010b7c725a
    Found by: previous frame's frame pointer
19  Electron Framework!base::internal::WorkerThread::RunPooledWorker() [worker_thread.cc : 223 + 0x5]
    rbp = 0x000070001440ff80   rsp = 0x000070001440ff70
    rip = 0x000000010b7c701d
    Found by: previous frame's frame pointer
20  Electron Framework!base::(anonymous namespace)::ThreadFunc(void*) [platform_thread_posix.cc : 87 + 0x9]
    rbp = 0x000070001440ffb0   rsp = 0x000070001440ff90
    rip = 0x000000010b7e2cf3
    Found by: previous frame's frame pointer
21  libsystem_pthread.dylib!_pthread_start + 0x94
    rbp = 0x000070001440ffd0   rsp = 0x000070001440ffc0
    rip = 0x00007fff71fa9109
    Found by: previous frame's frame pointer
22  libsystem_pthread.dylib!thread_start + 0xf
    rbp = 0x000070001440fff0   rsp = 0x000070001440ffe0
    rip = 0x00007fff71fa4b8b
    Found by: previous frame's frame pointer
23  Electron Framework + 0x1146c90
    rsp = 0x0000700014410098   rip = 0x000000010b7e2c90
    Found by: stack scanning

@deepak1556 deepak1556 self-assigned this Mar 11, 2021
@deepak1556
Copy link
Collaborator

Code crashed due to out-of-memory, I can't say if this is from an extension or the app with above data. As next step, lets take a memory profile of the workbench.

  • Toggle developer tools
  • Go to Memory tab and select Allocation Sampling
  • Let it run for a while
  • In the System activity monitor, check for the memory growth so that you can terminate the above profile before the process crashes.

@deepak1556 deepak1556 added freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues macos Issues with VS Code on MAC/OS X info-needed Issue requires more information from poster labels Mar 11, 2021
@github-actions github-actions bot locked and limited conversation to collaborators May 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues info-needed Issue requires more information from poster macos Issues with VS Code on MAC/OS X
Projects
None yet
Development

No branches or pull requests

3 participants
@deepak1556 @jvilk-stripe and others