(In reply to Pulsebot from comment #46)
> Backout by [email protected]:
> https://hg.mozilla.org/integration/autoland/rev/59ce3da9e504
> Backed out 3 changesets for causing xpc failures @test_subprocess.js.

So it looks like we are facing some bad case of a race condition here.
We create `running` spawning a process and then we `connectRunning` with
its FDs and get a second `proc` process. There `running.stdout` is `id:
1` and had `fd: 16` when `proc.stdin` is `id: 5` with `fd: 16` which
seems to be consistent with the expected behavior of those pipes. It
means we have two `InputPipe` that shares the same FD. Upon creation
they `fillBuffer` https://searchfox.org/mozilla-
central/rev/b1cd7e191ac57f8dfe31806be2539e51843c03eb/toolkit/modules/subprocess/subprocess_common.sys.mjs#295.
So both enqueues a `read ` call. Somehow the `pollfd.revents`
https://searchfox.org/mozilla-
central/rev/b1cd7e191ac57f8dfe31806be2539e51843c03eb/toolkit/modules/subprocess/subprocess_unix.worker.js#569
turns `!= 0`for the `InputPipe` of `id:5` before the `id:1` and so we
trigger reading the content of the pipe, which is then not available
anymore to `id:1`.

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

Title:
  [snap] chrome-gnome-shell extension fails to detect native host
  connector

Status in Mozilla Firefox:
  In Progress
Status in KeePassXC Snap Builds:
  Unknown
Status in chromium-browser package in Ubuntu:
  Triaged
Status in firefox package in Ubuntu:
  In Progress
Status in goopg package in Ubuntu:
  Confirmed
Status in kdeconnect package in Ubuntu:
  Confirmed
Status in plasma-browser-integration package in Ubuntu:
  Confirmed

Bug description:
  (initially reported at https://forum.snapcraft.io/t/chrome-gnome-
  shell-does-not-work-with-chromium-snap/3377)

  See attached screenshot.

  [Workaround]
  If you're using Ubuntu 22.04 LTS, you can install GNOME Shell extensions with 
this app.

  sudo apt install gnome-shell-extension-manager

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1741074/+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