Sway crashed when uploading files to browser

I’m on the system image v3 (which I know is in unstable, so some bugs are expected), and Sway crashes every time I try to upload a file to a site via either Firefox (my preferred browser) or Chromium. I’ve had this issue on several sites (mostly sites to order CNC cut parts e.g. SendCutSend or CAD File Quotes | CNC Milling, Turning & Cutting | eMachineShop ). I’m wondering if anyone else has encountered this, is there a workaround?
I’m also not seeing any messages in journalctl -r or dmesg that seem related to the issue.

Even trying to upload the error log here crashed my browser. Here are the top lines from ‘sudo journalctl -r’:

Aug 22 08:28:18 reform sudo[7156]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Aug 22 08:28:18 reform sudo[7156]:  keydelk : TTY=pts/0 ; PWD=/home/keydelk ; USER=root ; COMMAND=/bin/journalctl -r
Aug 22 08:28:16 reform systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Aug 22 08:27:52 reform wpa_supplicant[656]: wlp1s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-60 noise=-89 txrate=58500
Aug 22 08:27:52 reform wpa_supplicant[656]: wlp1s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-65 noise=-89 txrate=58500
Aug 22 08:27:46 reform polkitd(authority=local)[657]: Unregistered Authentication Agent for unix-session:2 (system bus name :1.121, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Aug 22 08:27:46 reform pulseaudio[891]: X11 I/O error exit handler called, preparing to tear down X11 modules
Aug 22 08:27:46 reform pulseaudio[891]: X11 I/O error handler called
Aug 22 08:27:46 reform systemd[1]: Started Hostname Service.
Aug 22 08:27:46 reform dbus-daemon[622]: [system] Successfully activated service 'org.freedesktop.hostname1'
Aug 22 08:27:46 reform systemd[1]: Starting Hostname Service...
Aug 22 08:27:46 reform dbus-daemon[622]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.169' (uid=1000 pid=5585 comm="/usr/lib/firefox-esr/firefox-esr")
Aug 22 08:27:27 reform wpa_supplicant[656]: wlp1s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-72 noise=-89 txrate=26000
Aug 22 08:26:51 reform wpa_supplicant[656]: wlp1s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-61 noise=-89 txrate=19500
Aug 22 08:26:00 reform wpa_supplicant[656]: wlp1s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-66 noise=-89 txrate=39000

I have seen similar on Chromium, but I have to say that Vivaldi has been solid, only slower due to it doing a lot more than Chromium.

Strange, I’m having no such issue. Sounds like a problem with the GTK3 file picker? Can you use the file picker in other GTK3 applications?

I don’t really see anything interesting in that log.

Can you give me an example of another GTK3 application with a file picker? I’d be happy to test - but am not sure which application run on GTK3.

Same issue opening a file in GIMP (whille using the Sway environment). The issue doesn’t occur when using the Gnome desktop, which makes an okay workaround for now. But I prefer using Sway for automatic window tiling and the snappier performance. I’ve left my sway config file with default settings, so I’m not sure if the issue is related. I have updated and installed a few packages (not a clean v3 image - so its possible that one of the dependencies was updated to broken version).

1 Like