[snap] chromium crashes when opening a URL from an external application
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
Fix Released
|
Critical
|
Olivier Tilloy |
Bug Description
This appears to be a rather recent regression. I started observing this about 3 weeks ago (around July 10), and it was recently reported by another user (https:/
Steps to reproduce:
0) Make sure the chromium snap is your default browser
1) Open the chromium snap, and do your usual browsing activities
2) Open a terminal, and execute `xdg-open https:/
2b) Repeat step 2 a few times until you get a notification that chromium crashed, offering to restore the previous session
When the crash happens, I'm seeing this relevant error:
[ERROR:
and the corresponding entries in journalctl:
juil. 31 09:53:07 bribon audit[25535]: AVC apparmor="DENIED" operation=
juil. 31 09:53:07 bribon audit[25535]: AVC apparmor="DENIED" operation=
description: | updated |
Changed in chromium-browser (Ubuntu): | |
status: | Fix Committed → Fix Released |
From chrome/ browser/ process_ singleton_ posix.cc:
// When the second process sends the current directory and command line flags to
// the first process, it waits for an ACK message back from the first process
// for a certain time. If there is no ACK message back in time, then the first
// process will be considered as hung for some reason. The second process then
// retrieves the process id from the symbol link and kills it by sending
// SIGKILL. Then the second process starts as normal.
The "read() failed" error message suggests that reading from the socket fails for some reason, so the second process considers the first one hung, and it kills it. The timeout isn't reached, because the default built-in value is 20 seconds, and the problem happens much sooner than that.