eclipse-theia / theia

Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
http://theia-ide.org
Eclipse Public License 2.0
20.08k stars 2.5k forks source link

Crash on wayland with ozone platform set to wayland #14235

Open pgawron opened 1 month ago

pgawron commented 1 month ago

Bug Description:

Theia IDE crashes in wayland mode on startup.

Steps to Reproduce:

  1. ./TheiaIDE.AppImage --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=wayland

These option lead to hard crash: './TheiaIDE.AppImage --enable-fe…' terminated by signal SIGSEGV (Address boundary error)

Additional Information

Fedora 40 running gnome on wayland

Version 1.54.0
VS Code API Version: 1.93.1
tsmaeder commented 1 month ago

@jfaltermeier any insights?

jfaltermeier commented 1 month ago

Unfortunately not. The options work fine on my Ubuntu 22.04 with Wayland, and I can confirm that the Ozone layer is being used. I don’t have a Fedora 40 setup available at the moment.

tsmaeder commented 1 month ago

@pgawron why are you adding those parameters?

pgawron commented 1 month ago

@pgawron why are you adding those parameters?

To run Theia as a native wayland application, rather using XWayland layer.

Drsheppard01 commented 5 days ago

I'm not sure, but looks like it's related issue https://github.com/microsoft/vscode/issues/168620#issuecomment-1344788669