Obsidian freezes when inserting attachments

I’m running Obsidian from the AppImage on Ubuntu. When I upload an image, the app completely freezes and I can’t interact with anything. I can quit the app normally, but can’t do anything else. On restarting, the image has been successfully uploaded.

Steps to reproduce

  1. Bring up the “Insert attachment” dialog.
  2. Upload an image.

Expected result

The image is uploaded, and the app does not crash.

Actual result

The image is uploaded, and the app crashes.


  • Operating system: Ubuntu 22.04.1, running GNOME 42.5.
  • Debug info (this is after a fresh restart of Obsidian):
	Obsidian version: v1.1.15
	Installer version: v0.15.9
	Operating system: #33~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 30 17:03:34 UTC 2 5.19.0-32-generic
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on
  • Here’s the terminal output when I run Obsidian from terminal and trigger the bug.
2023-03-01 18:56:12 Loading updated app package /home/pvankoughnett/.config/obsidian/obsidian-1.1.15.asar
2023-03-01 18:56:13 Checking for update using Github
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[16676:0301/125613.459339:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
2023-03-01 18:56:13 Success.
2023-03-01 18:56:13 Latest version is 1.1.15
2023-03-01 18:56:13 App is up to date.
[16676:0301/125630.444198:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[16676:0301/125630.733553:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[16676:0301/125630.735554:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
  • I’ve triggered the bug in restricted mode and in the sandbox vault.

The installer and Electron version are out of date for the Obsidian version being used.

A clean download and install might help.

Download and reinstall obsidian, post a screen recording of this happening in the sandbox vault.

Are you running under x11, xwayland or wayland?

I downloaded and installed the latest AppImage and got the same problem. Here’s a recording, though there isn’t much to see – it didn’t capture my cursor so you’ll have to believe me that I was clicking and typing stuff in the sandbox window without anything happening.
screen_recording.zip (2.6 MB, zipped WebM file)

This is on Wayland.

very weird. We’ll wait for other reports.

For what it’s worth, I don’t really understand the deal with the various display servers – my computer is running Wayland, but I don’t know how to tell whether Obsidian is running on Wayland or Xwayland. However, I did just try this on “Ubuntu on Xorg” and got the same behavior.

My apologies, I thought you were drag and dropping attachments.

I didn’t realize you could drag and drop attachments. Oddly enough, that works fine! That’s an acceptable workaround for me, though it would still be good to know what’s going on with the “Insert attachment” dialog.

Makes me wonder if it’s an Electron bug

1 Like