Repository navigation
Closed
Labels
bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberelectronIssues and items related to Electronfreeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issueslinuxIssues with VS Code on LinuxupstreamIssue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-linkedThis is an upstream issue that has been reported upstreamverifiedVerification succeededwaylandIssue related to wayland display server
Milestone
Description
Extracted from #181533 (comment)
Crash reason: SIGSEGV /SEGV_MAPERR
Crash address: 0x1010101
Process uptime: 142 seconds
Thread 0 (crashed)
0 code-insiders!views::View::UnregisterChildrenForVisibleBoundsNotification(views::View*) [view.cc : 2859 + 0x0]
1 code-insiders!views::View::UnregisterChildrenForVisibleBoundsNotification(views::View*) [view.cc : 2860 + 0x5]
2 code-insiders!views::View::DoRemoveChildView(views::View*, bool, bool, views::View*) [view.cc : 2702 + 0x8]
3 code-insiders!views::View::RemoveAllChildViews() [view.cc : 340 + 0x12]
4 code-insiders!electron::MenuBar::RebuildChildren() [menu_bar.cc : 234 + 0x5]
5 code-insiders!electron::RootView::SetMenu(electron::ElectronMenuModel*) [root_view.cc : 71 + 0x8]
6 code-insiders!electron::api::BaseWindow::SetMenu(v8::Isolate*, v8::Local<v8::Value>) [electron_api_base_window.cc : 0 + 0x8]
7 code-insiders!gin_helper::Dispatcher<void (electron::api::BaseWindow*, v8::Isolate*, v8::Local<v8::Value>)>::DispatchToCallback(v8::FunctionCallbackInfo<v8::Value> const&) [callback.h : 267 + 0x3]
8 code-insiders!v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [api-arguments-inl.h : 146 + 0x3]
Mithras (@Mithras) can you provide the following details to help us repro the issue,
- Are you using custom or native titlebar ?
- Are you starting the application with
--ozone-platform=wayland --enable-features=WaylandWindowDecorations? - Where did you install insiders from ? Snap, deb or rpm ?
- A video recording showing the exact repro steps will be helpful.
Reacted by Janek Thomaschewski, Matti Viljanen, database64128, Valentin Hăloiu, Elias Elwyn, SpineEyE, Martin, NoTuxNoBux, crimist, Grigory Stupnikov and 109 more
Reacted by Yashank and Richard Février
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberelectronIssues and items related to Electronfreeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issueslinuxIssues with VS Code on LinuxupstreamIssue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-linkedThis is an upstream issue that has been reported upstreamverifiedVerification succeededwaylandIssue related to wayland display server
Type
Projects
- StatusShow more project fields🗂 Backlog
Activity
Mithras commentedon Jun 2, 2023
~/.config/code-flags.conf)Mithras commentedon Jun 2, 2023
It almost always (but not exclusively) happens when I try to maximize one of the windows. Sometimes it crashes immediately, sometimes I need to open/move/expand/collapse for a few minutes. It seems to happen more (or maybe even only) if there are a couple different folders opened. I can't seem to repo it with only default "Welcome" tab.
Mithras commentedon Jun 2, 2023
No difference between
--ozone-platform=waylandand--ozone-platform-hint=autoboth crash. Removing--ozone-platformfixes the issue so it only reproducible in Wayland.deepak1556 commentedon Jun 3, 2023
Which OS and desktop environment are you testing on ?
Mithras commentedon Jun 3, 2023
195 remaining items
C0rn3j commentedon Apr 10, 2024
I am pretty sure there are multiple Wayland crashes being talked about in this thread (and many more in the thread that this one is extracted from), some of them fixed in the current 1.88.
If you still experience crashes, attaching debug logs and other information from 1.88 would probably be helpful to the developers.
I still have uncommon crashing issues, but it's no longer 100% reproducible.
Revert "me: vscode: mitigate microsoft/vscode#184124"
VikinoCavalier commentedon May 14, 2024
spikespaz commentedon May 14, 2024
Electron 28 chooses to use Wayland without explicitly setting
UseOzonePlatformandWaylandWindowDecorations? Are you sure it isn't using Xwayland? What WM/DE are you using?Vscode:
Wrapper:
No problems here.
ali10129 commentedon Jul 29, 2024
Hi, I just changed the
to "custom", and it worked for me. my default was "native" and I had this problem. I tried everything. but when I saw your solution, I changed it to "custom".
by the way, since I had this problem with the snap version, I switched to apt version.
xmatthias commentedon Jul 31, 2024
Interestingly, i've got titlebar style to "custom" for all profiles - and yet, it's the 2nd time this week that i'm seeing a crash of vscode.
LeanderK commentedon Aug 1, 2024
I rarely have a vscode crash anymore, once a month max. I've got titlebar style custom. I used to see them quite often!
C0rn3j commentedon Aug 1, 2025
Robo (@deepak1556) I think this can be closed?
I do not have the issue anymore and judging by the radio silence for the last 8 months, I suppose the problem is gone for people.
Sewer56 commentedon Aug 1, 2025
Yeah, it can probably be closed.
pierrick-martin-dev commentedon Aug 1, 2025
I confirm, no more issue. I can't pinpoint the exact release for which the problem was solved. Can be closed.
deepak1556 commentedon Oct 9, 2025
Thanks for confirming, closing for now.