[Bluedevil] [Bug 453137] Kubuntu 22.04, Bluetooth Headphones connect automatically, then immediately disconnect again

2022-05-04 Thread Michael Braxner
https://bugs.kde.org/show_bug.cgi?id=453137

--- Comment #5 from Michael Braxner  ---
(In reply to Nicolas Fella from comment #4)
> It indeed looks like pulseaudio is crashing because of zero
> division/arithmetic error

Thanks for the reply and input ... the issue has been raised on Gitlab.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Bluedevil] [Bug 453137] Kubuntu 22.04, Bluetooth Headphones connect automatically, then immediately disconnect again

2022-05-04 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=453137

--- Comment #4 from Nicolas Fella  ---
It indeed looks like pulseaudio is crashing because of zero division/arithmetic
error

-- 
You are receiving this mail because:
You are watching all bug changes.

[Bluedevil] [Bug 453137] Kubuntu 22.04, Bluetooth Headphones connect automatically, then immediately disconnect again

2022-05-04 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=453137

Nicolas Fella  changed:

   What|Removed |Added

 Resolution|--- |UPSTREAM
 Status|REPORTED|RESOLVED

--- Comment #3 from Nicolas Fella  ---
Please report this to https://gitlab.freedesktop.org/pulseaudio/pulseaudio/.
There is no indication that this problem has anything to do with Plasma's
bluetooth code

-- 
You are receiving this mail because:
You are watching all bug changes.

[Bluedevil] [Bug 453137] Kubuntu 22.04, Bluetooth Headphones connect automatically, then immediately disconnect again

2022-05-03 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=453137

Nate Graham  changed:

   What|Removed |Added

   Keywords||regression
 CC||n...@kde.org,
   ||nicolas.fe...@gmx.de

-- 
You are receiving this mail because:
You are watching all bug changes.

[Bluedevil] [Bug 453137] Kubuntu 22.04, Bluetooth Headphones connect automatically, then immediately disconnect again

2022-04-30 Thread Michael Braxner
https://bugs.kde.org/show_bug.cgi?id=453137

--- Comment #2 from Michael Braxner  ---
Yah, I actually managed to mangle the logs ... wouldn't you know it. Trying
again ...

4/30/22 7:33 PM kernel  input: Nat's Flex (AVRCP) as
/devices/virtual/input/input31
4/30/22 7:33 PM systemd-logind  Watching system buttons on /dev/input/event19
(Nat's Flex (AVRCP))
4/30/22 7:33 PM bluetoothd  /org/bluez/hci0/dev_A8_91_3D_DF_A8_F4/fd3:
fd(43) ready
4/30/22 7:33 PM rtkit-daemonSupervising 0 threads of 0 processes of 0
users.
4/30/22 7:33 PM rtkit-daemonSuccessfully made thread 8884 of process 3426
owned by '1000' RT at priority 5.
4/30/22 7:33 PM rtkit-daemonSupervising 1 threads of 1 processes of 1
users.
4/30/22 7:33 PM kernel  traps: bluetooth[8884] trap divide error
ip:7f862dc68490 sp:7f862498cc30 error:0 in
module-bluez5-device.so[7f862dc66000+9000]
4/30/22 7:33 PM bluetoothd  Endpoint unregistered: sender=:1.126
path=/MediaEndpoint/A2DPSink/sbc
4/30/22 7:33 PM bluetoothd  Endpoint unregistered: sender=:1.126
path=/MediaEndpoint/A2DPSource/sbc
4/30/22 7:33 PM bluetoothd  Endpoint unregistered: sender=:1.126
path=/MediaEndpoint/A2DPSink/sbc_xq_453
4/30/22 7:33 PM bluetoothd  Endpoint unregistered: sender=:1.126
path=/MediaEndpoint/A2DPSource/sbc_xq_453
4/30/22 7:33 PM bluetoothd  Endpoint unregistered: sender=:1.126
path=/MediaEndpoint/A2DPSink/sbc_xq_512
4/30/22 7:33 PM bluetoothd  Endpoint unregistered: sender=:1.126
path=/MediaEndpoint/A2DPSource/sbc_xq_512
4/30/22 7:33 PM bluetoothd  Endpoint unregistered: sender=:1.126
path=/MediaEndpoint/A2DPSink/sbc_xq_552
4/30/22 7:33 PM systemd pulseaudio.service: Main process exited, code=killed,
status=8/FPE
4/30/22 7:33 PM bluetoothd  Endpoint unregistered: sender=:1.126
path=/MediaEndpoint/A2DPSource/sbc_xq_552
4/30/22 7:33 PM systemd pulseaudio.service: Failed with result 'signal'.
4/30/22 7:33 PM systemd pulseaudio.service: Consumed 2min 20.027s CPU time.
4/30/22 7:33 PM acpid   input device has been disconnected, fd 20
4/30/22 7:33 PM systemd pulseaudio.service: Scheduled restart job, restart
counter is at 2.
4/30/22 7:33 PM systemd Stopped Sound Service.
4/30/22 7:33 PM systemd pulseaudio.service: Consumed 2min 20.027s CPU time.
4/30/22 7:33 PM systemd Starting Sound Service...
4/30/22 7:33 PM rtkit-daemonSuccessfully made thread 8889 of process 8889
owned by '1000' high priority at nice level -11.
4/30/22 7:33 PM rtkit-daemonSupervising 1 threads of 1 processes of 1
users.
4/30/22 7:33 PM pulseaudio  Stale PID file, overwriting.
4/30/22 7:33 PM rtkit-daemonSupervising 1 threads of 1 processes of 1
users.
4/30/22 7:33 PM rtkit-daemonSuccessfully made thread 8890 of process 8889
owned by '1000' RT at priority 5.
4/30/22 7:33 PM rtkit-daemonSupervising 2 threads of 1 processes of 1
users.
4/30/22 7:33 PM rtkit-daemonSupervising 2 threads of 1 processes of 1
users.
4/30/22 7:33 PM rtkit-daemonSuccessfully made thread 8891 of process 8889
owned by '1000' RT at priority 5.
4/30/22 7:33 PM rtkit-daemonSupervising 3 threads of 1 processes of 1
users.
4/30/22 7:33 PM systemd Started Sound Service.
4/30/22 7:33 PM pulseaudio  Could not find
org.bluez.BatteryProviderManager1.RegisterBatteryProvider(), is bluetoothd
started with experimental features enabled (-E flag)?
4/30/22 7:33 PM bluetoothd  Endpoint registered: sender=:1.246
path=/MediaEndpoint/A2DPSink/sbc
4/30/22 7:33 PM bluetoothd  Endpoint registered: sender=:1.246
path=/MediaEndpoint/A2DPSource/sbc
4/30/22 7:33 PM bluetoothd  Endpoint registered: sender=:1.246
path=/MediaEndpoint/A2DPSink/sbc_xq_453
4/30/22 7:33 PM bluetoothd  Endpoint registered: sender=:1.246
path=/MediaEndpoint/A2DPSource/sbc_xq_453
4/30/22 7:33 PM bluetoothd  Endpoint registered: sender=:1.246
path=/MediaEndpoint/A2DPSink/sbc_xq_512
4/30/22 7:33 PM bluetoothd  Endpoint registered: sender=:1.246
path=/MediaEndpoint/A2DPSource/sbc_xq_512
4/30/22 7:33 PM bluetoothd  Endpoint registered: sender=:1.246
path=/MediaEndpoint/A2DPSink/sbc_xq_552
4/30/22 7:33 PM bluetoothd  Endpoint registered: sender=:1.246
path=/MediaEndpoint/A2DPSource/sbc_xq_552



Since I just don't know what I'm doing here, I can only guess that pulseaudio
showing up killed just after the device turns up as an unregistered sender ...
4/30/22 7:33 PM systemd pulseaudio.service: Main process exited, code=killed,
status=8/FPE

... is responsible for the observed problem, i.e. the disconnect, probably
triggered when pulseaudio restarts ...
4/30/22 7:33 PM systemd pulseaudio.service: Scheduled restart job, restart
counter is at 2.

So it seems either an internal pulseaudio problem, or a problem triggered by
the division by 0 in the bluetooth module ...
4/30/22 7:33 PM kernel  traps: bluetooth[8884] trap divide error
ip:7f862dc68490 sp:7f862498cc30 error:0 in
module-bluez5-device.so[7f862dc66000+9000]

or some combination of the two.

Any Ideas?

-- 
You are receiving 

[Bluedevil] [Bug 453137] Kubuntu 22.04, Bluetooth Headphones connect automatically, then immediately disconnect again

2022-04-28 Thread Michael Braxner
https://bugs.kde.org/show_bug.cgi?id=453137

Michael Braxner  changed:

   What|Removed |Added

 CC||braxner.mich...@gmail.com

--- Comment #1 from Michael Braxner  ---
Forgot to attach the logs ... duh:

Before switching headphones on:
4/28/22 9:32 AM bluetoothd  Bluetooth daemon 5.64
4/28/22 9:32 AM bluetoothd  Starting SDP server
4/28/22 9:32 AM systemd Started Bluetooth service.
4/28/22 9:32 AM systemd Reached target Bluetooth Support.
4/28/22 9:32 AM kernel  Bluetooth: BNEP (Ethernet Emulation) ver 1.3
4/28/22 9:32 AM kernel  Bluetooth: BNEP filters: protocol multicast
4/28/22 9:32 AM kernel  Bluetooth: BNEP socket layer initialized
4/28/22 9:32 AM bluetoothd  Bluetooth management interface 1.21 initialized
4/28/22 9:32 AM NetworkManager[1651152767.0663] Loaded device plugin:
NMBluezManager
(/usr/lib/x86_64-linux-gnu/NetworkManager/1.36.4/libnm-device-plugin-bluetooth.so)
4/28/22 9:32 AM pulseaudio  Could not find
org.bluez.BatteryProviderManager1.RegisterBatteryProvider(), is bluetoothd
started with experimental features enabled (-E flag)?
4/28/22 9:32 AM kernel  Bluetooth: RFCOMM TTY layer initialized
4/28/22 9:32 AM kernel  Bluetooth: RFCOMM socket layer initialized
4/28/22 9:32 AM kernel  Bluetooth: RFCOMM ver 1.11
4/28/22 9:32 AM bluetoothd  Endpoint registered: sender=:1.39
path=/MediaEndpoint/A2DPSink/sbc
4/28/22 9:32 AM bluetoothd  Endpoint registered: sender=:1.39
path=/MediaEndpoint/A2DPSource/sbc
4/28/22 9:32 AM bluetoothd  Endpoint registered: sender=:1.39
path=/MediaEndpoint/A2DPSink/sbc_xq_453
4/28/22 9:32 AM bluetoothd  Endpoint registered: sender=:1.39
path=/MediaEndpoint/A2DPSource/sbc_xq_453
4/28/22 9:32 AM bluetoothd  Endpoint registered: sender=:1.39
path=/MediaEndpoint/A2DPSink/sbc_xq_512
4/28/22 9:32 AM bluetoothd  Endpoint registered: sender=:1.39
path=/MediaEndpoint/A2DPSource/sbc_xq_512
4/28/22 9:32 AM bluetoothd  Endpoint registered: sender=:1.39
path=/MediaEndpoint/A2DPSink/sbc_xq_552
4/28/22 9:32 AM bluetoothd  Endpoint registered: sender=:1.39
path=/MediaEndpoint/A2DPSource/sbc_xq_552
4/28/22 9:32 AM bluetoothd  Endpoint unregistered: sender=:1.39
path=/MediaEndpoint/A2DPSink/sbc
4/28/22 9:32 AM bluetoothd  Endpoint unregistered: sender=:1.39
path=/MediaEndpoint/A2DPSource/sbc
4/28/22 9:32 AM bluetoothd  Endpoint unregistered: sender=:1.39
path=/MediaEndpoint/A2DPSink/sbc_xq_453
4/28/22 9:32 AM bluetoothd  Endpoint unregistered: sender=:1.39
path=/MediaEndpoint/A2DPSource/sbc_xq_453
4/28/22 9:32 AM bluetoothd  Endpoint unregistered: sender=:1.39
path=/MediaEndpoint/A2DPSink/sbc_xq_512
4/28/22 9:32 AM bluetoothd  Endpoint unregistered: sender=:1.39
path=/MediaEndpoint/A2DPSource/sbc_xq_512
4/28/22 9:32 AM bluetoothd  Endpoint unregistered: sender=:1.39
path=/MediaEndpoint/A2DPSink/sbc_xq_552
4/28/22 9:32 AM bluetoothd  Endpoint unregistered: sender=:1.39
path=/MediaEndpoint/A2DPSource/sbc_xq_552
4/28/22 9:33 AM pulseaudio  Could not find
org.bluez.BatteryProviderManager1.RegisterBatteryProvider(), is bluetoothd
started with experimental features enabled (-E flag)?
4/28/22 9:33 AM bluetoothd  Endpoint registered: sender=:1.55
path=/MediaEndpoint/A2DPSink/sbc
4/28/22 9:33 AM bluetoothd  Endpoint registered: sender=:1.55
path=/MediaEndpoint/A2DPSource/sbc
4/28/22 9:33 AM bluetoothd  Endpoint registered: sender=:1.55
path=/MediaEndpoint/A2DPSink/sbc_xq_453
4/28/22 9:33 AM bluetoothd  Endpoint registered: sender=:1.55
path=/MediaEndpoint/A2DPSource/sbc_xq_453
4/28/22 9:33 AM bluetoothd  Endpoint registered: sender=:1.55
path=/MediaEndpoint/A2DPSink/sbc_xq_512
4/28/22 9:33 AM bluetoothd  Endpoint registered: sender=:1.55
path=/MediaEndpoint/A2DPSource/sbc_xq_512
4/28/22 9:33 AM bluetoothd  Endpoint registered: sender=:1.55
path=/MediaEndpoint/A2DPSink/sbc_xq_552
4/28/22 9:33 AM bluetoothd  Endpoint registered: sender=:1.55
path=/MediaEndpoint/A2DPSource/sbc_xq_552
4/28/22 9:33 AM systemd Starting Bluetooth OBEX service...
4/28/22 9:33 AM systemd Started Bluetooth OBEX service.


Following the switch on:
4/28/22 9:37 AM systemd Reached target Bluetooth.
4/28/22 9:37 AM bluetoothd  /org/bluez/hci0/dev_A8_91_3D_DF_A8_F4/fd0:
fd(43) ready
4/28/22 9:37 AM kernel  traps: bluetooth[3201] trap divide error
ip:7f26b96da490 sp:7f2677ffec30 error:0 in
module-bluez5-device.so[7f26b96d8000+9000]
4/28/22 9:37 AM bluetoothd  Endpoint unregistered: sender=:1.55
path=/MediaEndpoint/A2DPSink/sbc
4/28/22 9:37 AM bluetoothd  Endpoint unregistered: sender=:1.55
path=/MediaEndpoint/A2DPSource/sbc
4/28/22 9:37 AM bluetoothd  Endpoint unregistered: sender=:1.55
path=/MediaEndpoint/A2DPSink/sbc_xq_453
4/28/22 9:37 AM bluetoothd  Endpoint unregistered: sender=:1.55
path=/MediaEndpoint/A2DPSource/sbc_xq_453
4/28/22