AppImage Segfaulting when trying to open another vault on Wayland

Steps to reproduce

  • Open the AppImage with --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto. Mine is already loaded into a vault.
  • Open the command palette and open another vault
  • Wait for up to 5 seconds
  • Crash

Did you follow the troubleshooting guide? [Y/N]

Yes

Expected result

No crash.

Actual result

2023-11-13 13:00:27 Loading main app package /tmp/.mount_obsidixro5Tx/resources/obsidian.asar
2023-11-13 13:00:27 Checking for update using Github
2023-11-13 13:00:28 Success.
2023-11-13 13:00:28 Latest version is 1.4.16
2023-11-13 13:00:28 App is up to date.

~ took 20.0s                                                                                                                                                                                                [13:00]
➜ echo $?
139

Environment

This is on startup, I cannot get debug info after the bug because it crashed.

SYSTEM INFO:
	Obsidian version: v1.4.16
	Installer version: v1.4.16
	Operating system: #1 SMP PREEMPT_DYNAMIC Wed Oct 25 21:39:20 UTC 2023 6.5.9-300.fc39.x86_64
	Login status: logged in
	Catalyst license: none
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 9
	Plugins enabled: 8
		1: Periodic Notes v0.0.17
		2: MAKE.md v0.8.13
		3: Dataview v0.5.64
		4: Editor Syntax Highlight v0.1.3
		5: Templater v1.17.0
		6: No dupe leaves v0.0.11
		7: JavaScript Libraries v1.0.0
		8: Hot Reload v0.1.10

RECOMMENDATIONS:
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

That “JavaScript Libraries” is a samples plugin only with the name changed. Also this crash does not happen on X11 or MacOS.


Additional information

Please, don’t open a new thread if one already exists.

As I mentioned on that thread, wayland support in electron suffers several bugs (beyond this recent crash) and I advise you to use xwayland (or x11) for the time being.

Apologies, I thought the issue was slightly different and warranted a different bug report. Will move the information to the original thread.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.