Chromium bug fixed!

For the past month or so I’ve had this intermittent problem where chromium would start crashing and would keep crashing every time I tried to start it until I rebooted.

Today I ran chromium under strace and straightaway discovered that it was trying to use shared memory in /dev/shm and it couldn’t because there was no space left.

There was no space left because I had PHP’s xdebug writing dump files there. I’ve just disabled xdebug while I’m not using it and after clearing out its old files I can now run chromium again.

I added a note about this to my debugging notes for in case this or something like it happens to me again.

More chromium woes

Man my chromium browser has been giving me a lot of grief lately. Two times so far I needed to reboot to fix the problem. This is the third time and rebooting is always such a hassle. :(

-------------------
Thu Nov 23 20:20:54 [bash:5.2.15 jobs:0 error:0 time:0]
jj5@charisma:/home/jj5
$ chromium 
[1123/202056.945777:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1123/202056.945823:ERROR:elf_dynamic_array_reader.h(64)] tag not found
Trace/breakpoint trap (core dumped)
-------------------

More chromium woes

So it seems that my trouble with chromium is not over. Today a new twist. Thank God I still have Firefox! I will try updating and rebooting again, but can’t do that at the moment.

-------------------
Mon Nov 20 10:11:08 [bash:5.2.15 jobs:0 error:0 time:0]
jj5@charisma:/home/jj5
$ chromium 
[4085207:4085207:1120/101109.660602:ERROR:policy_logger.cc(157)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
[4085207:4085238:1120/101109.672026:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672044:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672050:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672055:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672061:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672064:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672075:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672079:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672082:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672086:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672091:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672098:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672107:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672115:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672132:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672147:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672154:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672159:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672165:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672169:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672173:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672178:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672185:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085238:1120/101109.672193:ERROR:login_database.cc(1100)] Password decryption failed, encryption_result is 2
[4085207:4085207:1120/101109.758579:ERROR:cmd_buffer_helper.cc(141)] ContextResult::kFatalFailure: CommandBufferHelper::AllocateRingBuffer() failed
Fontconfig error: Cannot load default config file: No such file: (null)
[1120/101109.770548:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1120/101109.770620:ERROR:elf_dynamic_array_reader.h(64)] tag not found
30185030681216:error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED:../../third_party/boringssl/src/ssl/handshake.cc:393:
Trace/breakpoint trap (core dumped)
-------------------

// 2023-11-22 jj5 – UPDATE: a reboot fixed this problem.

Chromium crashed

Today my chromium crashed like this:

-------------------
Sat Nov 18 02:18:49 [bash:5.2.15 jobs:0 error:0 time:1]
jj5@charisma:/home/jj5
$ chromium 
[1118/021851.032430:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1118/021851.032474:ERROR:elf_dynamic_array_reader.h(64)] tag not found
Trace/breakpoint trap (core dumped)
-------------------

…gonna try upgrading, apparently there are new packages.
Update: upgrade didn’t fix the problem, but a reboot did.

Configuring download directory for Chromium and Firefox snaps

So I read this and this and solved my problem. Basically I bind /temp/download to /media/$USER/download and then I can set the download directory in Chromium and Firefox snaps to /media/$USER/download and my downloads go where I want them. This was actually harder to figure out than it should have been.

Snap-confine has elevated permissions

I tried to run `chromium` on my Kubuntu 20.04.3 LTS workstation and got the following error:

Snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks

I found this and this worked for me:

systemctl enable --now apparmor.service    
systemctl enable --now snapd.apparmor.service