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

chromium freezes after mounting a removable storage #193

Open
donaastor opened this issue Jul 14, 2022 · 7 comments
Open

chromium freezes after mounting a removable storage #193

donaastor opened this issue Jul 14, 2022 · 7 comments

Comments

@donaastor
Copy link

This is a way to reliably reproduce this bug on my system:

  1. Plug out all removable drives and close/kill all instances of chromium.
  2. Plug in my USB flash drive, but not mount it (there is no automount).
  3. Run chromium and open some Open File dialog or Save File dialog.
  4. Navigate to my not yet mounted flash drive and click on it - chromium should mount it at this moment.
  5. Choose my file and close (click on "open" or "save" button) the dialog.

Now chromium is frozen. However, it is not completely dead - when I run another instance and attempt to close it on ".../Exit" a closing prompt appears in the frozen window asking me if I am sure that I want to leave the page. I can't interact with this prompt either. Cursor is stuck on whatever it was before closing my file dialog and keyboard shortcuts and mouse clicks are not being processed. It seems that only my I/O driver detaches from chromium.
I use x.org and i3. I am not sure what other info might be useful to share, but if you can, you can try to figure it out on your own since the system is installed from my script which is publicly available on GitHub here (it runs in order ins.sh, ins-chroot.sh, ins-late.sh; search for "pacman" or "aur_get" to see what packages I install). I have AMD's GPUs and this bug happens with both Intel's and AMD's CPU (as far as variety of my PCs go in my house).
If I mount my flash drive before startig chromium, this bug doesn't happen. (I am not sure what happens if I mount it after I start chromium but beofore I open a dialog).

@PF4Public
Copy link

Oh! Good one! I remember having similar issue on Gentoo (xfce in my case) with sftp shares or something like that, but didn't investigate this issue further.

Does this issue persist in v103?

@networkException
Copy link
Member

Is this exclusive to ungoogled-chromium or does it also occur on vanilla?

@donaastor
Copy link
Author

@PF4Public I just tested and yes, it unfortunately persists. I think only change now is that I can close chromium with an i3 keyboard shortcut, I think I couldn't do that before. Small news: the file does upload/download even though chromium froze.

@networkException I noticed you ask that in many other threads, but I still didn't prepare that info... I never dared to install vanilla chromium, sorry. Could you test it out, maybe?

@jstkdng
Copy link
Member

jstkdng commented Jul 14, 2022

I'm not able to reproduce this issue under sway/wayland. UC mounts the USB and uploads the file without freezing. Which GPU are you using?

@donaastor
Copy link
Author

donaastor commented Jul 15, 2022

@jstkdng I am using RX570 and some old Radeon R7 250X. You can also check my scripts to see what drivers I am using for them, it should be these packages: mesa xf86-video-amdgpu mesa-vdpau libva-mesa-driver vulkan-radeon vulkan-tools mesa-utils libva-utils

@notorand-it
Copy link

@donaastor does this happen also with other GTK-based applications?
I mean stuff like Firefox, Libreoffice, GIMP, GNOME FIles etc.
If you were running also KDE/Plasma, could you please try it with Dolphin (file browser)?

@donaastor
Copy link
Author

donaastor commented Sep 2, 2022

@notorand-it Hi. No, I checked Libreoffice and GIMP and they open files just fine, after mounting USB themselves. I am not on KDE/Plasma, so I didn't install Dolphin. And I didn't check Firefox and GNOME Files because the other 2 worked and I don't have these installed.

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

No branches or pull requests

5 participants