gnome-shell-portal-helper crashed with SIGTRAP in waitUntilSyncedOrDie() from WebKit::XDGDBusProxy::launch() ["bwrap: setting up uid map: Permission denied" ; "Failed to fully launch dbus-proxy: Child process exited with code 1"]

Bug #2051574 reported by Marcelo Carvalho
56
This bug affects 10 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Confirmed
Medium
Unassigned
webkit2gtk (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Same as Summary

ProblemType: Crash
DistroRelease: Ubuntu 24.04
Package: gnome-shell 45.3-1ubuntu1
ProcVersionSignature: Ubuntu 6.6.0-14.14-generic 6.6.3
Uname: Linux 6.6.0-14-generic x86_64
ApportVersion: 2.27.0-0ubuntu6
Architecture: amd64
CasperMD5CheckResult: pass
CrashCounter: 1
CurrentDesktop: ubuntu:GNOME
Date: Mon Jan 29 08:56:29 2024
DisplayManager: gdm3
ExecutablePath: /usr/libexec/gnome-shell-portal-helper
InstallationDate: Installed on 2024-01-25 (4 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240116)
ProcCmdline: /usr/libexec/gnome-shell-portal-helper
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
RelatedPackageVersions: mutter-common 45.3-1ubuntu1
Signal: 5
SourcePackage: gnome-shell
StacktraceTop:
 ?? () from /lib/x86_64-linux-gnu/libwebkitgtk-6.0.so.4
 ?? () from /lib/x86_64-linux-gnu/libwebkitgtk-6.0.so.4
 ?? () from /lib/x86_64-linux-gnu/libwebkitgtk-6.0.so.4
 ?? () from /lib/x86_64-linux-gnu/libwebkitgtk-6.0.so.4
 ?? () from /lib/x86_64-linux-gnu/libwebkitgtk-6.0.so.4
Title: gnome-shell-portal-helper crashed with signal 5
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sudo users
separator:

Revision history for this message
Marcelo Carvalho (mcarvalho-astranis) wrote :
Revision history for this message
Marcelo Carvalho (mcarvalho-astranis) wrote :

Thank you.

Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 waitUntilSyncedOrDie () at /usr/src/webkit2gtk-2.43.3-1/Source/WebKit/UIProcess/Launcher/glib/XDGDBusProxy.cpp:180
 WebKit::XDGDBusProxy::launch () at /usr/src/webkit2gtk-2.43.3-1/Source/WebKit/UIProcess/Launcher/glib/XDGDBusProxy.cpp:241
 WebKit::bubblewrapSpawn () at /usr/src/webkit2gtk-2.43.3-1/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp:902
 WebKit::ProcessLauncher::launchProcess () at /usr/src/webkit2gtk-2.43.3-1/Source/WebKit/UIProcess/Launcher/glib/ProcessLauncherGLib.cpp:226
 WebKit::ProcessLauncher::create () at /usr/src/webkit2gtk-2.43.3-1/Source/WebKit/UIProcess/Launcher/ProcessLauncher.h:112

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gnome-shell (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
summary: - WiFi connecting gives error message every time but connects - Ubuntu
- 24.04
+ gnome-shell-portal-helper crashed with SIGTRAP in waitUntilSyncedOrDie()
+ from WebKit::XDGDBusProxy::launch()
information type: Private → Public
Revision history for this message
Marcelo Carvalho (mcarvalho-astranis) wrote : Re: [Bug 2051574] Re: gnome-shell-portal-helper crashed with SIGTRAP in waitUntilSyncedOrDie() from WebKit::XDGDBusProxy::launch()

I can confirm it happened to me all the time when tryin 24.04.

_M

On Mon, Jan 29, 2024 at 7:35 PM Daniel van Vugt <email address hidden>
wrote:

> ** Summary changed:
>
> - WiFi connecting gives error message every time but connects - Ubuntu
> 24.04
> + gnome-shell-portal-helper crashed with SIGTRAP in waitUntilSyncedOrDie()
> from WebKit::XDGDBusProxy::launch()
>
> ** Information type changed from Private to Public
>
> ** Also affects: webkit2gtk (Ubuntu)
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2051574
>
> Title:
> gnome-shell-portal-helper crashed with SIGTRAP in
> waitUntilSyncedOrDie() from WebKit::XDGDBusProxy::launch()
>
> Status in gnome-shell package in Ubuntu:
> New
> Status in webkit2gtk package in Ubuntu:
> New
>
> Bug description:
> Same as Summary
>
> ProblemType: Crash
> DistroRelease: Ubuntu 24.04
> Package: gnome-shell 45.3-1ubuntu1
> ProcVersionSignature: Ubuntu 6.6.0-14.14-generic 6.6.3
> Uname: Linux 6.6.0-14-generic x86_64
> ApportVersion: 2.27.0-0ubuntu6
> Architecture: amd64
> CasperMD5CheckResult: pass
> CrashCounter: 1
> CurrentDesktop: ubuntu:GNOME
> Date: Mon Jan 29 08:56:29 2024
> DisplayManager: gdm3
> ExecutablePath: /usr/libexec/gnome-shell-portal-helper
> InstallationDate: Installed on 2024-01-25 (4 days ago)
> InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Daily amd64
> (20240116)
> ProcCmdline: /usr/libexec/gnome-shell-portal-helper
> ProcEnviron:
> LANG=en_US.UTF-8
> PATH=(custom, no user)
> SHELL=/bin/bash
> XDG_RUNTIME_DIR=<set>
> RelatedPackageVersions: mutter-common 45.3-1ubuntu1
> Signal: 5
> SourcePackage: gnome-shell
> StacktraceTop:
> ?? () from /lib/x86_64-linux-gnu/libwebkitgtk-6.0.so.4
> ?? () from /lib/x86_64-linux-gnu/libwebkitgtk-6.0.so.4
> ?? () from /lib/x86_64-linux-gnu/libwebkitgtk-6.0.so.4
> ?? () from /lib/x86_64-linux-gnu/libwebkitgtk-6.0.so.4
> ?? () from /lib/x86_64-linux-gnu/libwebkitgtk-6.0.so.4
> Title: gnome-shell-portal-helper crashed with signal 5
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups: adm cdrom dip lpadmin plugdev sudo users
> separator:
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2051574/+subscriptions
>
>

--

________
This email and any attachments may contain Astranis confidential
and/or proprietary information governed by a non-disclosure agreement, and
are intended solely for the individual or entity specified by the message.

Revision history for this message
Launchpad Janitor (janitor) wrote : Re: gnome-shell-portal-helper crashed with SIGTRAP in waitUntilSyncedOrDie() from WebKit::XDGDBusProxy::launch()

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Changed in webkit2gtk (Ubuntu):
status: New → Confirmed
Revision history for this message
Karol (wasowski02) wrote :

The issue is still present in a clean installation from noble beta iso. It appears whenever the system is waken up from sleep.

Revision history for this message
Lucas (lucky8919) wrote :

Issue present on installed today 24.04, during initial boot

Revision history for this message
Lucas (lucky8919) wrote :

Any workaround for this?

Revision history for this message
ajg (goesele) wrote :

I have the same problem on Ubuntu 24.04 with all updates. But there is a workaround, as gnome-shell-portal-helper isn't strictly needed.

If you connect to a public wifi which then doesn't allow you to access the internet, because you didn't accept terms of service and didn't log in, you can do it manually:

Try to connect your browser to for instance http://8.8.8.8 (any ip-number will do, but you have to use "http", not "https". This will lead you to the login page. I tested it with firefox.

The source of all my wisdom: https://askubuntu.com/a/1378966

Revision history for this message
Daniel van Vugt (vanvugt) wrote :
tags: added: jammy
summary: gnome-shell-portal-helper crashed with SIGTRAP in waitUntilSyncedOrDie()
- from WebKit::XDGDBusProxy::launch()
+ from WebKit::XDGDBusProxy::launch() ["Failed to fully launch dbus-proxy:
+ Child process exited with code 1"]
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote (last edit ): Re: gnome-shell-portal-helper crashed with SIGTRAP in waitUntilSyncedOrDie() from WebKit::XDGDBusProxy::launch() ["Failed to fully launch dbus-proxy: Child process exited with code 1"]

I've asked to Michael Catanzaro that maintains webkit gtk and here's his analysis:

```
Jan 29 08:56:29 hostname org.gnome.Shell.PortalHelper[2906]: bwrap: Creating new namespace failed: Permission denied
Jan 29 08:56:29 hostname gnome-shell-por[2712]: Failed to fully launch dbus-proxy: Child process exited with code 1
```

xdg-dbus-proxy gets run under bubblewrap because we need to put the .flatpak-info file into the filesystem namespace of the xdg-dbus-proxy

It looks like bubblewrap doesn't have permission to create a new user namespace. That's probably an apparmor problem?

Maybe it only happens in a non-default apparmor configuration?

Maybe a problem with https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces ?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Some log snippets from Ubuntu crash reports:

---

org.gnome.Shell.PortalHelper[3349]: bwrap: setting up uid map: Permission denied
gnome-shell-por[3215]: Failed to fully launch dbus-proxy: Sub processo terminou com o código 1

---

org.gnome.Shell.PortalHelper[139725]: bwrap: setting up uid map: Permission denied
gnome-shell-por[139684]: Failed to fully launch dbus-proxy: Child process exited with code 1

---

org.gnome.Shell.PortalHelper[8043]: bwrap: setting up uid map: Permission denied
gnome-shell-por[8005]: Failed to fully launch dbus-proxy: 子进程已退出,代码 1

---

org.gnome.Shell.PortalHelper[2723]: bwrap: setting up uid map: Permission denied
gnome-shell-por[2660]: Failed to fully launch dbus-proxy: Child process exited with code 1

---

org.gnome.Shell.PortalHelper[8728]: bwrap: setting up uid map: Permission denied
gnome-shell-por[8690]: Failed to fully launch dbus-proxy: Child process exited with code 1

summary: gnome-shell-portal-helper crashed with SIGTRAP in waitUntilSyncedOrDie()
- from WebKit::XDGDBusProxy::launch() ["Failed to fully launch dbus-proxy:
- Child process exited with code 1"]
+ from WebKit::XDGDBusProxy::launch() ["bwrap: setting up uid map:
+ Permission denied" ; "Failed to fully launch dbus-proxy: Child process
+ exited with code 1"]
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.