The problem is back. This time I let the restart process wait for
several minutes. See this output.


peddecke@omer:~$ sudo service bluetooth restart
Job for bluetooth.service failed because the control process exited with error 
code.
See "systemctl status bluetooth.service" and "journalctl -xe" for details.
peddecke@omer:~$ systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
   Active: failed (Result: exit-code) since Wed 2021-02-03 14:21:30 CET; 14s ago
     Docs: man:bluetoothd(8)
  Process: 18598 ExecStart=/usr/lib/bluetooth/bluetoothd (code=exited, status=1/
 Main PID: 18598 (code=exited, status=1/FAILURE)
   Status: "Starting up"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─25952 /usr/lib/bluetooth/bluetoothd
feb 03 14:15:29 omer systemd[1]: bluetooth.service: Main process exited, 
code=exited, status=1/FAILURE
feb 03 14:15:29 omer bluetoothd[18598]: Unable to get on D-Bus
feb 03 14:16:59 omer systemd[1]: bluetooth.service: State 'stop-sigterm' timed 
out. Killing.
feb 03 14:16:59 omer systemd[1]: bluetooth.service: Killing process 25952 
(bluetoothd) with signal SIGKILL.
feb 03 14:18:30 omer systemd[1]: bluetooth.service: Processes still around 
after SIGKILL. Ignoring.
feb 03 14:20:00 omer systemd[1]: bluetooth.service: State 'stop-final-sigterm' 
timed out. Killing.
feb 03 14:20:00 omer systemd[1]: bluetooth.service: Killing process 25952 
(bluetoothd) with signal SIGKILL.
feb 03 14:21:30 omer systemd[1]: bluetooth.service: Processes still around 
after final SIGKILL. Entering failed mode.
feb 03 14:21:30 omer systemd[1]: bluetooth.service: Failed with result 
'exit-code'.
feb 03 14:21:30 omer systemd[1]: Failed to start Bluetooth service.


Seems the same problem where killing doesn't work.

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

Title:
  bluetoothd hangs and cannot be killed

Status in bluez package in Ubuntu:
  Incomplete
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Hi,

  When having a bluetooth headphone (JBL Live) connected  using the A2DP
  pulseaudio sink, the output sound suddenly stops during a music
  streaming of videocall session. Sometimes just disconnecting and
  reconnecting the headphone works, but some times reconnection is not
  possible anymore due to the hanging of bluetoothd. Bluetoothd still
  appears in the processes list, but cannot be killed, neither with
  "sudo service bluetooth stop" or "kill -9":

  $ ps afx | grep blue
   9597 tty2     Sl+    0:01              |   \_ gnome-control-center bluetooth
   5405 ?        Ss     0:00  \_ /usr/lib/bluetooth/obexd
  10694 pts/0    S+     0:00          \_ grep blue
  20548 ?        Ds     0:03 /usr/lib/bluetooth/bluetoothd

  All programs keep working normally, only bluetooth is affected as well
  as the bluetooth settings page.

  The only solution is a hard reboot. A soft reboot doesn't even work:
  the systems keeps trying to end the bluetoothd process so one needs to
  press the power button for a few seconds to terminate the process.

  $ bluetoothd --version
  5.48

  $ uname -a
  Linux omer 5.4.0-58-generic #64~18.04.1-Ubuntu SMP Wed Dec 9 17:11:11 UTC 
2020 x86_64 x86_64 x86_64 GNU/Linux

  Using Ubuntu 18.04.5 LTS preinstalled on a Dell XPS13, which has been working 
nice for over one year now just like previous versions.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.9-0ubuntu7.21
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  DistributionChannelDescriptor:
   # This is the distribution channel descriptor for the OEM CDs
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-bionic-amd64-20180608-47+beaver-three-eyed-raven+X92
  DistroRelease: Ubuntu 18.04
  InstallationDate: Installed on 2019-11-22 (415 days ago)
  InstallationMedia: Ubuntu 18.04 "Bionic" - Build amd64 LIVE Binary 
20180608-09:38
  InterestingModules: rfcomm bnep btusb bluetooth
  MachineType: Dell Inc. XPS 13 7390
  Package: linux
  PackageArchitecture: amd64
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-59-generic 
root=UUID=d3a4ed7f-d7f9-494e-91ed-554159c1b8ae ro quiet splash vt.handoff=1
  ProcVersionSignature: Ubuntu 5.4.0-59.65~18.04.1-generic 5.4.78
  Tags:  bionic
  Uname: Linux 5.4.0-59-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip docker lpadmin plugdev sambashare sudo vboxusers
  _MarkForUpload: True
  dmi.bios.date: 10/22/2020
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0G2D0W
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.7.0:bd10/22/2020:svnDellInc.:pnXPS137390:pvr:rvnDellInc.:rn0G2D0W:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: XPS
  dmi.product.name: XPS 13 7390
  dmi.product.sku: 0962
  dmi.sys.vendor: Dell Inc.
  hciconfig:
   hci0:        Type: Primary  Bus: USB
        BD Address: 4C:1D:96:DA:70:EA  ACL MTU: 1021:4  SCO MTU: 96:6
        DOWN 
        RX bytes:4127584 acl:43 sco:9279 events:521650 errors:0
        TX bytes:340220846 acl:518394 sco:8547 commands:3166 errors:0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1910405/+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