Skip to content

blueman-applet crashes on resume from suspend (D-Bus race condition) #3207

Description

@MalikMlitat

Version: 2.3.5-3build1 (Ubuntu 24.04 noble)

Description:
blueman-applet crashes intermittently when the system resumes from suspend.
The crash appears to be a race condition where blueman tries to communicate
with bluetoothd via D-Bus before the bluetooth service has fully restarted.

Steps to reproduce:

  1. Suspend the system (e.g. close laptop lid)
  2. Resume from suspend
  3. blueman-applet crashes — Ubuntu reports an internal error for /usr/bin/blueman-applet

Expected: applet reconnects to bluetoothd gracefully after resume
Actual: applet crashes with a Python/GLib exception

Workaround: systemd-sleep hook that kills and restarts blueman-applet 3s after resume

Related: #325, #488, #2521


Once you've run the two sudo commands for the sleep hook, the workaround should kick in on your next resume. Let me know if the crash persists after that.

Sources:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions