You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/john/.config/Element exists: yes
/home/john/.config/Riot exists: no
No update_base_url is defined: auto update is disabled
Fetching translation json for locale: en_EN
Changing application language to en-us
Fetching translation json for locale: en-us
Resetting the UI components after locale change
Resetting the UI components after locale change
[2710:0308/104609.256916:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is egl, ANGLE is
fish: Job 1, 'element-desktop' terminated by signal SIGSEGV (Address boundary error)
Hello @yagarea. Thanks for reporting this and helping to make Electron better!
Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.
Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.
Now adding the blocked/need-repro label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.
Running /usr/lib/electron/electron --disable-dev-mode --ozone-platform=wayland /usr/lib/element/app.asar (element-desktop 1.11.20-1 from the Arch Linux community repository) reliably gives me the following:
stack trace
#0 0x00007fbd0a76cba8 in __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:833
833 LOAD_ONE_SET((%rsi), PAGE_SIZE * 3, %VMM(12), %VMM(13), %VMM(14), %VMM(15))
[Current thread is 1 (Thread 0x7fbcfb7f01c0 (LWP 1558931))]
(gdb) bt
#0 0x00007fbd0a76cba8 in __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:833
vector-im/element-web#1 0x0000561b8d93e8f3 in content::StoragePartitionConfig::StoragePartitionConfig(content::StoragePartitionConfig const&) ()
vector-im/element-web#2 0x0000561b8d08831d in content::BrowserContext::GetStoragePartition(content::SiteInstance*, bool) ()
vector-im/element-web#3 0x0000561b8d264c1b in content::HostZoomMap::GetZoomLevel(content::WebContents*) ()
vector-im/element-web#4 0x0000561b8d694a10 in content::WebContentsImpl::GetPendingPageZoomLevel() ()
vector-im/element-web#5 0x0000561b8d552097 in content::RenderWidgetHostImpl::GetVisualProperties() ()
vector-im/element-web#6 0x0000561b8d5527c8 in content::RenderWidgetHostImpl::SynchronizeVisualProperties(bool, bool) ()
vector-im/element-web#7 0x0000561b8d568e29 in content::RenderWidgetHostViewAura::SynchronizeVisualProperties(cc::DeadlinePolicy const&, absl::optional<viz::LocalSurfaceId> const&) ()
vector-im/element-web#8 0x0000561b8d568803 in content::RenderWidgetHostViewAura::SetSize(gfx::Size const&) ()
vector-im/element-web#9 0x0000561b8d56c154 in content::RenderWidgetHostViewAura::OnBoundsChanged(gfx::Rect const&, gfx::Rect const&) ()
vector-im/element-web#10 0x0000561b8f25617c in aura::Window::OnLayerBoundsChanged(gfx::Rect const&, ui::PropertyChangeReason) ()
vector-im/element-web#11 0x0000561b8f36c1c2 in ui::Layer::SetBoundsFromAnimation(gfx::Rect const&, ui::PropertyChangeReason) ()
vector-im/element-web#12 0x0000561b8f37ea6e in ui::LayerAnimator::SetBounds(gfx::Rect const&) ()
vector-im/element-web#13 0x0000561b8f2528e9 in aura::Window::SetBounds(gfx::Rect const&) ()
vector-im/element-web#14 0x0000561b8d5687c8 in content::RenderWidgetHostViewAura::SetSize(gfx::Size const&) ()
vector-im/element-web#15 0x0000561b8d6a80bf in content::WebContentsViewAura::OnBoundsChanged(gfx::Rect const&, gfx::Rect const&) ()
vector-im/element-web#16 0x0000561b8f25617c in aura::Window::OnLayerBoundsChanged(gfx::Rect const&, ui::PropertyChangeReason) ()
vector-im/element-web#17 0x0000561b8f36c1c2 in ui::Layer::SetBoundsFromAnimation(gfx::Rect const&, ui::PropertyChangeReason) ()
vector-im/element-web#18 0x0000561b8f37ea6e in ui::LayerAnimator::SetBounds(gfx::Rect const&) ()
vector-im/element-web#19 0x0000561b8f2528e9 in aura::Window::SetBounds(gfx::Rect const&) ()
vector-im/element-web#20 0x0000561b91bc325e in views::NativeViewHostAura::ShowWidget(int, int, int, int, int, int) ()
vector-im/element-web#21 0x0000561b91bc1d8e in views::NativeViewHost::Layout() ()
vector-im/element-web#22 0x0000561b91b443c2 in views::View::SetBoundsRect(gfx::Rect const&) ()
vector-im/element-web#23 0x0000561b91bc0929 in views::WebView::OnBoundsChanged(gfx::Rect const&) ()
vector-im/element-web#24 0x0000561b91b4432a in views::View::SetBoundsRect(gfx::Rect const&) ()
vector-im/element-web#25 0x0000561b8b03b578 in electron::InspectableWebContentsViewViews::Layout() ()
vector-im/element-web#26 0x0000561b91b443c2 in views::View::SetBoundsRect(gfx::Rect const&) ()
vector-im/element-web#27 0x0000561b8b040c27 in electron::RootView::Layout() ()
vector-im/element-web#28 0x0000561b91b443c2 in views::View::SetBoundsRect(gfx::Rect const&) ()
vector-im/element-web#29 0x0000561b91b3e280 in views::LayoutManagerBase::ApplyLayout(views::ProposedLayout const&) ()
vector-im/element-web#30 0x0000561b91b3e121 in views::LayoutManagerBase::LayoutImpl() ()
vector-im/element-web#31 0x0000561b91b3de88 in views::LayoutManagerBase::Layout(views::View*) ()
vector-im/element-web#32 0x0000561b91b47756 in views::View::Layout() ()
vector-im/element-web#33 0x0000561b91b443c2 in views::View::SetBoundsRect(gfx::Rect const&) ()
vector-im/element-web#34 0x0000561b91b76a21 in views::NonClientFrameView::Layout() ()
vector-im/element-web#35 0x0000561b91b443c2 in views::View::SetBoundsRect(gfx::Rect const&) ()
vector-im/element-web#36 0x0000561b91b7791c in views::NonClientView::Layout() ()
vector-im/element-web#37 0x0000561b91b443c2 in views::View::SetBoundsRect(gfx::Rect const&) ()
vector-im/element-web#38 0x0000561b91b50bb0 in views::View::DefaultFillLayout::Layout(views::View*) ()
vector-im/element-web#39 0x0000561b91b47756 in views::View::Layout() ()
vector-im/element-web#40 0x0000561b91b443c2 in views::View::SetBoundsRect(gfx::Rect const&) ()
vector-im/element-web#41 0x0000561b91b450c2 in views::View::SetSize(gfx::Size const&) ()
vector-im/element-web#42 0x0000561b91b617c5 in views::Widget::OnNativeWidgetSizeChanged(gfx::Size const&) ()
vector-im/element-web#43 0x0000561b91b93045 in non-virtual thunk to views::DesktopNativeWidgetAura::OnHostResized(aura::WindowTreeHost*) ()
vector-im/element-web#44 0x0000561b8f27eee8 in aura::WindowTreeHost::OnHostResizedInPixels(gfx::Size const&) ()
vector-im/element-web#45 0x0000561b8f35b237 in aura::WindowTreeHostPlatform::OnBoundsChanged(ui::PlatformWindowDelegate::BoundsChange const&) ()
vector-im/element-web#46 0x0000561b8b025acf in electron::ElectronDesktopWindowTreeHostLinux::OnBoundsChanged(ui::PlatformWindowDelegate::BoundsChange const&) ()
vector-im/element-web#47 0x0000561b8b76df7c in ui::WaylandWindow::UpdateBoundsInDIP(gfx::Rect const&) ()
vector-im/element-web#48 0x0000561b8b770027 in ui::WaylandWindow::ProcessPendingBoundsDip(unsigned int) ()
vector-im/element-web#49 0x0000561b8b76b50f in ui::WaylandToplevelWindow::HandleSurfaceConfigure(unsigned int) ()
vector-im/element-web#50 0x0000561b8b77d2c5 in ui::ZXDGSurfaceV6WrapperImpl::Configure(void*, zxdg_surface_v6*, unsigned int) ()
vector-im/element-web#51 0x00007fbd0b4314f6 in ffi_call_unix64 () at ../src/x86/unix64.S:104
vector-im/element-web#52 0x00007fbd0b42df5e in ffi_call_int (cif=cif@entry=0x7ffd26fcc990, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
vector-im/element-web#53 0x00007fbd0b430b73 in ffi_call (cif=cif@entry=0x7ffd26fcc990, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffd26fcca60) at ../src/x86/ffi64.c:710
vector-im/element-web#54 0x00007fbcfc29b645 in wl_closure_invoke (closure=closure@entry=0xc74013ec700, target=<optimized out>, target@entry=0xc7401219180, opcode=opcode@entry=0, data=<optimized out>, flags=1)
at ../wayland-1.21.0/src/connection.c:1025
vector-im/element-web#55 0x00007fbcfc29be03 in dispatch_event (display=0xc7400349800, queue=<optimized out>) at ../wayland-1.21.0/src/wayland-client.c:1595
vector-im/element-web#56 0x00007fbcfc29bffc in dispatch_queue (queue=0xc7400c80820, display=0xc7400349800) at ../wayland-1.21.0/src/wayland-client.c:1741
vector-im/element-web#57 wl_display_dispatch_queue_pending (display=0xc7400349800, queue=0xc7400c80820) at ../wayland-1.21.0/src/wayland-client.c:1983
--Type <RET> for more, q to quit, c to continue without paging--
vector-im/element-web#58 0x0000561b8b755647 in ui::WaylandEventWatcher::WlDisplayDispatchPendingQueue() ()
vector-im/element-web#59 0x0000561b8b78a07e in ui::(anonymous namespace)::WatchSourceDispatch(_GSource*, int (*)(void*), void*) ()
vector-im/element-web#60 0x00007fbd0f077afb in g_main_dispatch (context=0xc7400235080) at ../glib/glib/gmain.c:3460
vector-im/element-web#61 g_main_context_dispatch (context=0xc7400235080) at ../glib/glib/gmain.c:4200
vector-im/element-web#62 0x00007fbd0f0d45d9 in g_main_context_iterate.constprop.0 (context=0xc7400235080, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
vector-im/element-web#63 0x00007fbd0f075382 in g_main_context_iteration (context=0xc7400235080, may_block=1) at ../glib/glib/gmain.c:4343
vector-im/element-web#64 0x0000561b8e0afa0c in base::MessagePumpGlib::Run(base::MessagePump::Delegate*) ()
vector-im/element-web#65 0x0000561b8e105c3e in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) ()
vector-im/element-web#66 0x0000561b8e0cce9a in base::RunLoop::Run(base::Location const&) ()
vector-im/element-web#67 0x0000561b8d0a242e in content::BrowserMainLoop::RunMainMessageLoop() ()
vector-im/element-web#68 0x0000561b8d0a45c3 in content::BrowserMainRunnerImpl::Run() ()
vector-im/element-web#69 0x0000561b8d09f84e in content::BrowserMain(content::MainFunctionParams) ()
vector-im/element-web#70 0x0000561b8b157813 in content::RunBrowserProcessMain(content::MainFunctionParams, content::ContentMainDelegate*) ()
vector-im/element-web#71 0x0000561b8b158cda in content::ContentMainRunnerImpl::RunBrowser(content::MainFunctionParams, bool) ()
vector-im/element-web#72 0x0000561b8b158a8a in content::ContentMainRunnerImpl::Run() ()
vector-im/element-web#73 0x0000561b8b155742 in content::RunContentProcess(content::ContentMainParams, content::ContentMainRunner*) ()
vector-im/element-web#74 0x0000561b8b155e95 in content::ContentMain(content::ContentMainParams) ()
vector-im/element-web#75 0x0000561b8ae7c983 in main ()
This does not happen without the --ozone-platform=wayland option. Since signal-desktop updated to element 22 I've been experiencing frequent crashes, especially at startup when no TTY is attached. I do not have a good stack trace though. Also relevant: signalapp/Signal-Desktop#6247 and signalapp/Signal-Desktop#6260
I filed a similar issue in vector-im/element-desktop#873 which only occurs under certain circumstances (mixed-scaled dual monitor setup). Note that it behaves a bit differently in element-nightly (electron 24.0.0) and element 1.11.29 (electron 23.1.3).
This might be a Chromium issue. I encounter similar issues with Chrome, Brave on Arch for a couple weeks at this point, and found this when I was searching for the error.
A bit offtopic, but: A simple way to test, if a window uses Xorg or Wayland, is to launch xeyes and move the cursor over the window. If the eyes move as well, it's Xwayland. If they don't, it's native Wayland.
Would be great if this would be fixed with Electron 26. Unfortunately Electron 26 causes some other crashes, so I currently cannot test whether it fixes the issue for my application or not.
Having pretty much the same issue on Electron 27 and 26, it works on 27 when using -disable-gpu-sandbox though.
Electron 26 only works on my end when I use --disable-sandbox
EDIT: Here's the actual error log
[11389:0918/182856.367560:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[11389:0918/182856.367656:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[11389:0918/182856.367843:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[11389:0918/182856.367907:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[11389:0918/182856.367953:ERROR:shared_image_factory.cc(910)] CreateSharedImage: could not create backing.
[11389:0918/182856.368019:ERROR:shared_image_factory.cc(758)] DestroySharedImage: Could not find shared image mailbox
[11389:0918/182856.368111:ERROR:gpu_service_impl.cc(1085)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[11394:0918/182856.372318:ERROR:command_buffer_proxy_impl.cc(129)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[11351:0918/182856.377866:ERROR:gpu_process_host.cc(990)] GPU process exited unexpectedly: exit_code=8704
[11417:0918/182856.549475:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[11417:0918/182856.549560:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[11417:0918/182856.549786:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[11417:0918/182856.549843:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[11417:0918/182856.549888:ERROR:shared_image_factory.cc(910)] CreateSharedImage: could not create backing.
[11417:0918/182856.549942:ERROR:shared_image_factory.cc(758)] DestroySharedImage: Could not find shared image mailbox
[11417:0918/182856.550039:ERROR:gpu_service_impl.cc(1085)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[11394:0918/182856.556522:ERROR:command_buffer_proxy_impl.cc(321)] GPU state invalid after WaitForGetOffsetInRange.
[11351:0918/182856.560685:ERROR:gpu_process_host.cc(990)] GPU process exited unexpectedly: exit_code=8704
[11430:0918/182856.709501:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[11430:0918/182856.709635:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[11430:0918/182856.709830:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
[11430:0918/182856.709907:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[11430:0918/182856.709961:ERROR:shared_image_factory.cc(910)] CreateSharedImage: could not create backing.
[11430:0918/182856.710015:ERROR:shared_image_factory.cc(758)] DestroySharedImage: Could not find shared image mailbox
[11430:0918/182856.710099:ERROR:gpu_service_impl.cc(1085)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[11394:0918/182856.714314:ERROR:command_buffer_proxy_impl.cc(129)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[11351:0918/182856.718918:ERROR:gpu_process_host.cc(990)] GPU process exited unexpectedly: exit_code=8704
[11394:0918/182856.941772:ERROR:command_buffer_proxy_impl.cc(129)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
A bit offtopic, but: A simple way to test, if a window uses Xorg or Wayland, is to launch xeyes and move the cursor over the window. If the eyes move as well, it's Xwayland. If they don't, it's native Wayland.
Another side-note: Also, one can use xlsclients to list any applications currently running under Xwayland 😉
In our application, this issue seems fixed starting with Electron 28. (Version 27 still had some rendering issues, and sometimes segfaults when exiting. I did not observe this yet with 28.)
Reacted by Claudia Pellegrino, Joshua Ji and James Cuzella
Note: I have been running VSCode + Electron 29 on Wayland (Sway), with "window.titleBarStyle": "custom".
All the crashes on window creation seem to be fixed, even when I set "window.titleBarStyle": "native".
However, when running with "window.titleBarStyle": "native"there still appear to be some crashes having to do with the menu dialogs in some edge-cases.
For example: Once today I saw that menu dropdown dialogs stopped appearing when clicking on the top row menu buttons (e.g. "File | Edit | Selection | View | ..."). Just as I was trying to figure out what was going on, Electron crashed (sorry I have not rebuilt & re-installed Electron with debug symbols for v29 yet). I believe that this ones is a separate crash and therefore would need a separate issue to track it.
Activity
github-actions commentedon Mar 8, 2023
Hello @yagarea. Thanks for reporting this and helping to make Electron better!
Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.
Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.
Now adding the
blocked/need-reprolabel for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.[-][Bug]: [/-][+][Bug]: Crash when opening app running under Wayland[/+]ckerr commentedon Mar 14, 2023
This appears to be a crash in Element Desktop which is an Electron wrapper for Element Web.
@yagarea if this can be reproduced with standalone Electron, e.g. if just running
electronon its own with the same flags, please attach a crash report from that repro. Alternately, if this requires Element Desktop in order to crash, then please close this ticket and report the issue to the Element maintainers at https://github.com/vector-im/element-web/issues. Thank you!hrdl-github commentedon Mar 17, 2023
Running
/usr/lib/electron/electron --disable-dev-mode --ozone-platform=wayland /usr/lib/element/app.asar(element-desktop 1.11.20-1 from the Arch Linux community repository) reliably gives me the following:stack trace
This does not happen without the
--ozone-platform=waylandoption. Sincesignal-desktopupdated to element 22 I've been experiencing frequent crashes, especially at startup when no TTY is attached. I do not have a good stack trace though. Also relevant: signalapp/Signal-Desktop#6247 and signalapp/Signal-Desktop#6260TheComputerGuy96 commentedon Apr 3, 2023
Electron v23.2.1 seems to work fine with Discord on Wayland 🐸
[-][Bug]: Crash when opening app running under Wayland[/-][+][Bug]: Crash when opened under Wayland[/+]nidico commentedon Apr 16, 2023
I filed a similar issue in vector-im/element-desktop#873 which only occurs under certain circumstances (mixed-scaled dual monitor setup). Note that it behaves a bit differently in element-nightly (electron 24.0.0) and element 1.11.29 (electron 23.1.3).
This might be related. (Or not.)
darwin67 commentedon Apr 28, 2023
This might be a Chromium issue. I encounter similar issues with Chrome, Brave on Arch for a couple weeks at this point, and found this when I was searching for the error.
I also use Wayland/Sway/Arch, with multiple monitors in different scales.
9 remaining items
pm4rcin commentedon Sep 14, 2023
I've tested Tutanota and Element flatpak which both have updated to Electron 26 and the crashes are gone entirely. :)
dbrgn commentedon Sep 18, 2023
Are sure they haven't simply disabled Wayland? If I start the Element 1.11.42 Flatpak, it runs under XWayland 🙂
pm4rcin commentedon Sep 18, 2023
I have disabled X11 socket, ipc and even fallback-X11 to make sure.
dbrgn commentedon Sep 18, 2023
A bit offtopic, but: A simple way to test, if a window uses Xorg or Wayland, is to launch
xeyesand move the cursor over the window. If the eyes move as well, it's Xwayland. If they don't, it's native Wayland.Would be great if this would be fixed with Electron 26. Unfortunately Electron 26 causes some other crashes, so I currently cannot test whether it fixes the issue for my application or not.
RubberDuckShobe commentedon Sep 18, 2023
Having pretty much the same issue on Electron 27 and 26, it works on 27 when using
-disable-gpu-sandboxthough.Electron 26 only works on my end when I use
--disable-sandboxEDIT: Here's the actual error log
pm4rcin commentedon Sep 18, 2023
That explains why flatpak apps work fine on Electron 26 as they always use that option if I'm not mistaken.
trinitronx commentedon Sep 19, 2023
Another side-note: Also, one can use
xlsclientsto list any applications currently running under Xwayland 😉threema-danilo commentedon Dec 18, 2023
In our application, this issue seems fixed starting with Electron 28. (Version 27 still had some rendering issues, and sometimes segfaults when exiting. I did not observe this yet with 28.)
RubberDuckShobe commentedon Dec 18, 2023
ckerr commentedon Dec 18, 2023
Closing as fixed as per previous two comments. @threema-danilo, @RubberDuckShobe, thanks for the info!
Nantris commentedon May 8, 2024
I see this issue in 30.x even without Wayland.
trinitronx commentedon Jun 22, 2024
I can confirm these crashes are no longer happening on my system running ArchLinux packages:
electron29version:29.4.3-1codeversion:1.90.0-1EXPAND for platform / package version info
Intel HD Graphics 630driver:i915v: kernelDevice-2:
AMD Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M]driver:amdgpuv: kernelEGLv:1.5drivers:iris,radeonsi,swrastplatforms:
wayland,x11,surfaceless,deviceAPI:
OpenGLv:4.6compat-v:4.5vendor:amd mesav:24.1.1-arch10.1renderer:
AMD Radeon RX 7900 XTX(radeonsi navi31 LLVM 17.0.6 DRM 3.57 6.9.3-1-MANJARO)API:
Vulkanv:1.3.279drivers:radv,intelsurfaces:xcb,xlib,wayland~/.config/code-flags.conf:~/.config/electron29-flags.conf:~/.vscode/argv.jsonNantris commentedon Jun 22, 2024
Also confirming this is resolved (Wayland and otherwise.)
trinitronx commentedon Jun 22, 2024
Note: I have been running VSCode + Electron 29 on Wayland (Sway), with
"window.titleBarStyle": "custom".All the crashes on window creation seem to be fixed, even when I set
"window.titleBarStyle": "native".However, when running with
"window.titleBarStyle": "native"there still appear to be some crashes having to do with the menu dialogs in some edge-cases.For example: Once today I saw that menu dropdown dialogs stopped appearing when clicking on the top row menu buttons (e.g. "
File | Edit | Selection | View | ..."). Just as I was trying to figure out what was going on, Electron crashed (sorry I have not rebuilt & re-installed Electron with debug symbols for v29 yet). I believe that this ones is a separate crash and therefore would need a separate issue to track it.