[SOLVED] Chromium and chromium based browsers crash at start 18 August 2024, 17:46:15 Hi all and thanks for this great distro! Bear with me as I am not very tech savvy As said in the title, chromium and brave always crash a second after starting.When I start chromium from the terminal I get this message:~$ chromium [8029:8050:0818/174148.458939:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: Interfaccia «org.freedesktop.portal.FileChooser» inesistente[8029:8050:0818/174148.459018:ERROR:select_file_dialog_linux_portal.cc(285)] Failed to read portal version propertyErrore di segmentazione Last Edit: 21 August 2024, 23:35:00 by nous
Re: Chromium and chromium based browsers crash at start Reply #1 – 18 August 2024, 19:46:02 Sounds like a dbus issue, which I know very little about.Might want to review this thread.
Re: Chromium and chromium based browsers crash at start Reply #2 – 19 August 2024, 01:18:45 Thanks for the reply, I already found that thread, unfortunately it doesn't seem to be the same problem. To be sure I checked that discussion (about a notification daemon issue) and it was already setup correctly in my case. I think it has something to do with the way I start dbus, as I run artix with dinit, I am not really sure... From my understanding I need to run dbus as a system service (done with dinitctl as root) and as a user service, which I had some trouble setting up but I thought it worked fine in the end. To run dbus as user I did the following steps: 1. install dbus dbus-dinit dbus-dinit-user 2. install turnstile turnstile-dinit3. follow these steps https://github.com/davmac314/dinit/blob/master/doc/getting_started.md4. enable turnstiled as a system service with rootRight now I have these user services running and working: dinitctl list[ ] boot[{+} ] system[{+} ] dbus (pid: 1364)[{+} ] wireplumber (pid: 1370)[{+} ] pipewire (pid: 1368)[{+} ] pipewire-pulse (pid: 1369) ps aux | grep dbusdbus 1016 0.0 0.0 4984 3428 ? Ss 00:20 0:00 /usr/bin/dbus-daemon --system --nofork --nopidfile --print-address=4root 1030 0.0 0.3 414372 13124 ? Ssl 00:20 0:00 /usr/bin/thermald --no-daemon --dbus-enablesddm 1285 0.0 0.0 5356 1792 ? S 00:21 0:00 dbus-launch --autolaunch 69d3c7c82df64c52a4761c638b5a4025 --binary-syntax --close-stderrsddm 1286 0.0 0.0 4376 1804 ? Ss 00:21 0:00 /usr/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --sessionprova 1364 0.1 0.0 5248 3892 ? Ss 00:21 0:04 dbus-daemon --session --address=unix:path=/run/user/1001/bus --print-address=4prova 1577 0.0 0.0 4504 3328 ? S 00:21 0:00 /bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=unix:path=/run/user/1001/at-spi/bus_0prova 3886 0.0 0.0 7460 2176 pts/0 S+ 01:20 0:00 grep --color dbus
Re: Chromium and chromium based browsers crash at start Reply #3 – 19 August 2024, 09:44:32 The error is misleading, as it can be shown on instances where chromium starts and works normally.Do you perhaps have any of these env vars set?QT_QPA_PLATFORMTHEMEQT_PLATFORM_PLUGINIf so, unset them and test again.artist
Re: Chromium and chromium based browsers crash at start Reply #4 – 19 August 2024, 15:46:08 I made sure to unset those vars but I still get this message and chromium crashes almost immediately[4628:4647:0819/153502.067340:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: Interfaccia «org.freedesktop.portal.FileChooser» inesistente[4628:4647:0819/153502.068208:ERROR:select_file_dialog_linux_portal.cc(285)] Failed to read portal version propertyErrore di segmentazione[prova ~]$ env | grep QTQT_IM_MODULE=fcitxI get the same error both in XFCE and LXQT. As the error mentions desktop portals I checked and have these one installed:xdg-desktop-portalxdg-desktop-portal-gtkxdg-desktop-portal-lxqtxdg-desktop-portal-xapp
Re: Chromium and chromium based browsers crash at start Reply #5 – 19 August 2024, 17:17:58 This is the only relevant part of the error you get: segmentation faultPlease try with a different user, or at least a new chromium profileartist
Re: Chromium and chromium based browsers crash at start Reply #6 – 19 August 2024, 18:29:32 I tried with a new user and while I get some error, chromium seems to work fine.About creating a new chromium profile, I deleted ".config/chromium" and ".cache/chromium", but it didn't work. Maybe there's something else in my home folder that causes the problem, as also brave browser behaves in the same way.
Re: Chromium and chromium based browsers crash at start Reply #7 – 19 August 2024, 19:40:33 Make sure to check theming; often the cause can be found there.artist
Re: Chromium and chromium based browsers crash at start Reply #8 – 19 August 2024, 20:48:15 Thanks for the reply, I will check themes, but frankly I can't remember I did apply any theme... I tried to delete some gtk config files in my home directory and testing on i3wm, no idea where else to look, I think I'll make a new user.
Re: Chromium and chromium based browsers crash at start Reply #9 – 19 August 2024, 22:58:00 The mesa shader cache in .cache has caused a problem in the past after mesa version updates, there's a qt shader cache in there too, being graphics related stuff it might cause a crash.
Re: Chromium and chromium based browsers crash at start Reply #10 – 20 August 2024, 23:24:44 Actually I managed to solve this without having to create a new user! The culprit was probably the '.local/share/icons' folder, I don't really get how it had anything to do with btw, now chromium works again, thanks for the help. 3 Likes