Public bug reported:

Package: blueman 2.4.4-1build1 (Ubuntu 26.04.1 LTS)

## Symptom

After about 17 hours of uptime, blueman-applet starts failing every
D-Bus call with:

    org.freedesktop.DBus.Error.LimitsExceeded: The maximum number of
pending replies per connection has been reached

dbus-daemon logs `The maximum number of pending replies for ":1.98" (... 
blueman-applet ...)
has been reached (max_replies_per_connection=1024)` tens of thousands of times 
(42,000 in
7 hours here), and apport keeps rewriting 
/var/crash/_usr_bin_blueman-applet.1000.crash
(traceback in RecentConns.on_device_created -> Manager.find_device -> Base.get).

## Cause

- The AutoConnect plugin calls Device1.Connect every 60 s on a
configured device.

- When that device is out of range, bluetoothd never replies to the call (BlueZ 
bug,
  https://github.com/bluez/bluez/issues/2862: LE fallback after a BR/EDR 
EHOSTDOWN loses the reply).

- blueman 2.4.4 issues all its D-Bus calls with `GLib.MAXINT` as the timeout
  (blueman/bluez/Base.py), so each unanswered call stays pending forever.

- One pending reply leaks per minute. The 1024 limit was reached 1022.7 minutes 
after
  bluetoothd started, which matches.

## Upstream fix

blueman commit bdc48b6784 ("Use more reasonable dbus timeouts", 2026-04-18) 
replaces
`GLib.MAXINT` with a 10 s `DBUS_TIMEOUT` in blueman/bluez/Base.py. It is not in 
any release
yet (latest is 2.4.6, which still has `GLib.MAXINT`).

Please consider backporting it to the stable release (SRU).

## Workaround

Remove the unreachable device from AutoConnect (or empty the list), then
restart blueman-applet:

    gsettings set org.blueman.plugins.autoconnect services "[]"

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: blueman 2.4.4-1build1
ProcVersionSignature: Ubuntu 7.0.0-44.44-generic 7.0.14
Uname: Linux 7.0.0-44-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: XFCE
Date: Sat Nov 21 10:32:58 2026
InstallationDate: Installed on 2024-05-15 (920 days ago)
InstallationMedia: Xubuntu 23.10 "Mantic Minotaur" - Release amd64 (20231010)
ProcEnviron:
 LANG=fr_FR.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: blueman
UpgradeStatus: Upgraded to resolute on 2026-10-08 (43 days ago)

** Affects: blueman (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175457

Title:
  blueman-applet floods D-Bus with LimitsExceeded errors after ~17 h
  (infinite D-Bus timeouts), please backport upstream commit bdc48b6784

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/blueman/+bug/2175457/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to