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

Crash on startup with OBSIDIAN_USE_WAYLAND=1 #19

Open
byronclark opened this issue Mar 8, 2022 · 5 comments
Open

Crash on startup with OBSIDIAN_USE_WAYLAND=1 #19

byronclark opened this issue Mar 8, 2022 · 5 comments

Comments

@byronclark
Copy link

@byronclark byronclark commented Mar 8, 2022

Version: 0.13.30
Platform: Fedora 35

When setting OBSIDIAN_USE_WAYLAND=1 via flatseal, Obsidian crashes on startup with a SIGSEGV.
Setting OBSIDIAN_USE_WAYLAND=0 resolves the issue by launching with Xwayland.

It looks like this may come from the Electron 16 upgrade and be caused by electron/electron#32487

@byronclark
Copy link
Author

@byronclark byronclark commented Mar 8, 2022

More likely related to electron/electron#32436 (comment)

@smidm
Copy link

@smidm smidm commented Mar 9, 2022

Temporary workaround: downgrade to the latest working version.

sudo flatpak update --commit=d7a571984f74af5e16b90197dab8003f79af1c0c91dd70a8a0c9f535f3510a68 md.obsidian.Obsidian

@D4nte
Copy link

@D4nte D4nte commented Mar 12, 2022

Same here, here is the crash stack in case it helps:

On Fedora 35 (Gnome)

▶ uname -a
Linux xps-franck 5.16.12-200.fc35.x86_64 #1 SMP PREEMPT Wed Mar 2 19:06:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
▶ flatpak run md.obsidian.Obsidian                                                                                                                                                    
[3 preload-host-spawn-strategy] Running: /app/bin/zypak-helper child - /app/obsidian --type=zygote --enable-crashpad
2022-03-12 22:31:03 Loading main app package /app/resources/obsidian.asar
LaunchProcess: failed to execvp:
xdg-settings
[3:0313/093103.698905:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0313/093103.698971:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0313/093103.714644:ERROR:cursor_loader.cc(116)] Failed to load a platform cursor of type kNull
/app/bin/obsidian.sh: line 17:     3 Segmentation fault      (core dumped) zypak-wrapper /app/obsidian --enable-features=UseOzonePlatform --ozone-platform=wayland $@

~                                                                                                                                                                                                                                                                         ⍉
▶ [54:0100/000000.997530:ERROR:gpu_init.cc(454)] Passthrough is not supported, GL is egl, ANGLE is 
[54:0100/000000.000696:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.

@zchap26
Copy link

@zchap26 zchap26 commented Mar 13, 2022

Version: 0.13.33
Platform: Debian 11.

bullseye@debian:~$ flatpak run md.obsidian.Obsidian
[3 preload-host-spawn-strategy] Running: /app/bin/zypak-helper child - /app/obsidian --type=zygote --enable-crashpad
2022-03-13 20:47:40 Loading updated app package /home/knabe/.var/app/md.obsidian.Obsidian/config/obsidian/obsidian-0.13.33.asar
LaunchProcess: failed to execvp:
xdg-settings
[3:0313/214740.678370:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0313/214740.678485:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0313/214740.702286:ERROR:cursor_loader.cc(116)] Failed to load a platform cursor of type kNull
/app/bin/obsidian.sh: line 17:     3 Segmentation fault      zypak-wrapper /app/obsidian --enable-features=UseOzonePlatform --ozone-platform=wayland $@
bullseye@debian:~$ [54:0100/000000.760756:ERROR:gpu_init.cc(454)] Passthrough is not supported, GL is egl, ANGLE is 
[54:0100/000000.764655:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.

@richardbowman
Copy link

@richardbowman richardbowman commented Mar 18, 2022

Same issue is happening to me. I just tried the AppImage as well, which is experiencing the same issue. When it launches, I note that its actually using a separately downloaded code package "/.config/obsidian/obsidian-0.13.33.asar" when it starts which is why downgrading as suggested above didn't immediately work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants