** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1971632

Title:
  Kubuntu 22.04, Bluetooth Headphones connect automatically, then
  immediately disconnect; pulseautio crashes every time

Status in pulseaudio package in Ubuntu:
  Fix Released
Status in pulseaudio source package in Jammy:
  Fix Committed

Bug description:
  * Impact

  On a fresh install of Kubuntu 22.04, when I turn my properly paired
  bluetooth headphones on they automatically connect to the system, then
  immediately disconnect again. The headphones thus have to be manually
  're-connected' every time.

  * Test case

  Connect a bluetooth headset to the computer, try to change the active
  profile. The selection should be reflected and the quality match, the
  pairing and service should be stable

  * Regression potential

  The changes are in the bluetooth a2dp/sbc functions so any potential
  regression would impact the connectivity with bluetooth devices using
  an a2dp profile (aptX, SBC, AAC). Check with different devices using
  the previously listed profiles.

  
  ----------------------------

  Best as I understand it from the logs (appended below), pulseaudio showing up 
killed just after the headphones turn 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 ... but again, I'm only guessing here.

  
___________________________________________________________________________________________________

  System Logs after switching headphones on:

  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-daemon    Supervising 0 threads of 0 processes of 
0 users.
  4/30/22 7:33 PM       rtkit-daemon    Successfully made thread 8884 of 
process 3426 owned by '1000' RT at priority 5.
  4/30/22 7:33 PM       rtkit-daemon    Supervising 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-daemon    Successfully made thread 8889 of 
process 8889 owned by '1000' high priority at nice level -11.
  4/30/22 7:33 PM       rtkit-daemon    Supervising 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-daemon    Supervising 1 threads of 1 processes of 
1 users.
  4/30/22 7:33 PM       rtkit-daemon    Successfully made thread 8890 of 
process 8889 owned by '1000' RT at priority 5.
  4/30/22 7:33 PM       rtkit-daemon    Supervising 2 threads of 1 processes of 
1 users.
  4/30/22 7:33 PM       rtkit-daemon    Supervising 2 threads of 1 processes of 
1 users.
  4/30/22 7:33 PM       rtkit-daemon    Successfully made thread 8891 of 
process 8889 owned by '1000' RT at priority 5.
  4/30/22 7:33 PM       rtkit-daemon    Supervising 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

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: pulseaudio 1:15.99.1+dfsg1-1ubuntu1
  ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
  Uname: Linux 5.15.0-27-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82
  Architecture: amd64
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', 
'/dev/snd/controlC0', '/dev/snd/hwC0D2', '/dev/snd/hwC0D0', 
'/dev/snd/pcmC0D10p', '/dev/snd/pcmC0D9p', '/dev/snd/pcmC0D8p', 
'/dev/snd/pcmC0D7p', '/dev/snd/pcmC0D3p', '/dev/snd/pcmC0D0c', 
'/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  Date: Wed May  4 17:46:37 2022
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  SourcePackage: pulseaudio
  Symptom: audio
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/25/2022
  dmi.bios.release: 1.14
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.14.0
  dmi.board.name: 05XYW7
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.14.0:bd03/25/2022:br1.14:svnDellInc.:pnXPS159500:pvr:rvnDellInc.:rn05XYW7:rvrA00:cvnDellInc.:ct10:cvr:sku097D:
  dmi.product.family: XPS
  dmi.product.name: XPS 15 9500
  dmi.product.sku: 097D
  dmi.sys.vendor: Dell Inc.
  modified.conffile..etc.pulse.daemon.conf: [modified]
  mtime.conffile..etc.pulse.daemon.conf: 2022-04-29T21:03:20.101513

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to