For reference,

It's not entirely clear whether this is an upstream or downstream issue,
but I'm leaning on the former. The source seems to indicate that
chrome_crash_handler is meant only for an official (branded) Chromium
build [3][4]; This is backed up by [5], which however has much obsolete
stuff.

Relevant upstream reports:

[1] Issue 1377365: Chromium dev fails to launch: "posix_spawn: No such file or 
directory".
[2] Issue 1176772: Land Crashpad for Chromium-Linux.

As a matter of fact, if I manually copy chrome_crash_handler (from
somewhere else) into the snap, Chromium launches normally.

Unfortunately simply disabling posix_spawn for chrome_crash_handler
doesn't work, as already detected here. There is some IPC[6] involved
and the other end — the client process in the diagram, I reckon —
aborts.

[1]: https://bugs.chromium.org/p/chromium/issues/detail?id=1377365
[2]: https://bugs.chromium.org/p/chromium/issues/detail?id=1176772
[3]: 
https://source.chromium.org/chromium/chromium/src/+/main:BUILD.gn;drc=45940cd0c24186a35012d06d0aa0302e98830ab4;l=510
[4]: 
https://source.chromium.org/chromium/chromium/src/+/main:chrome/BUILD.gn;drc=45940cd0c24186a35012d06d0aa0302e98830ab4;l=1712
[5]: 
https://source.chromium.org/chromium/chromium/src/+/main:docs/website/site/developers/crash-reports/index.md
[6]: 
https://chromium.googlesource.com/crashpad/crashpad/+/refs/heads/main/doc/overview_design.md

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1993581

Title:
  [snap] posix_spawn: No such file or directory

Status in chromium-browser package in Ubuntu:
  In Progress

Bug description:
  Chromium from the edge channel fails to launch with

    % chromium
    [17618:17618:1019/163156.976437:FATAL:spawn_subprocess.cc(221)] 
posix_spawn: No such file or directory (2)

    % snap info chromium
    channels:
      latest/stable:    106.0.5249.119 2022-10-14 (2136) 150MB -
      latest/candidate: 106.0.5249.119 2022-10-13 (2136) 150MB -
      latest/beta:      107.0.5304.36  2022-10-13 (2135) 152MB -
      latest/edge:      108.0.5355.0   2022-10-18 (2146) 153MB -
    installed:          108.0.5355.0              (2146) 153MB -

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1993581/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to