bluetoothd 5.56 segfaults when keyboard connects [SIGSEGV in get_report_cb() from notify_handler() from notify_handler() from queue_foreach() from queue_foreach()]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bluez Utilities |
Fix Released
|
Unknown
|
|||
bluez (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
https:/
---
bluetoothd crashes when my Lenovo Trackpoint II keyboard connects. I see this in dmesg:
[ 58.257605] input: TrackPoint Keyboard II Keyboard as /devices/
[ 58.258542] input: TrackPoint Keyboard II Mouse as /devices/
[ 58.259561] input: TrackPoint Keyboard II Consumer Control as /devices/
/input28
[ 58.259661] input: TrackPoint Keyboard II System Control as /devices/
nput29
[ 58.260151] input: TrackPoint Keyboard II as /devices/
[ 58.260267] hid-generic 0005:17EF:
on 10:4a:7d:01:8d:7f
[ 58.263556] bluetoothd[685]: segfault at 59 ip 00005574d1d10683 sp 00007ffd03bd7570 error 6 in bluetoothd[
[ 58.263568] Code: 00 00 4c 8b 21 64 48 8b 04 25 28 00 00 00 48 89 84 24 38 11 00 00 31 c0 48 8d 6c 24 10 89 fb 49 89 c9 48 89 ef b9 23 02 00 00 <41> c7 44 24 58 00 00 00 00 f3 48 ab c7 44 24 10 0a 00 00 00 c7 07
This segfault is with bluez 5.56-0ubuntu3 in Ubuntu 21.04 (up-to-date as of today). It did not happen in 20.10.
When I downgraded bluez to 5.55-0ubuntu1.1 the problem went away.
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: bluez 5.56-0ubuntu3
Uname: Linux 5.11.0-
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu62
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: GNOME
Date: Wed Apr 14 21:03:29 2021
InstallationDate: Installed on 2021-02-26 (47 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
InterestingModules: rfcomm bnep btusb bluetooth
MachineType: LENOVO 20AW0006US
ProcEnviron:
TERM=screen-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/zsh
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: bluez
UpgradeStatus: Upgraded to hirsute on 2021-04-14 (0 days ago)
dmi.bios.date: 01/27/2015
dmi.bios.release: 2.31
dmi.bios.vendor: LENOVO
dmi.bios.version: GLET77WW (2.31 )
dmi.board.
dmi.board.name: 20AW0006US
dmi.board.vendor: LENOVO
dmi.board.version: 0B98401 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad T440p
dmi.product.name: 20AW0006US
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
hciconfig:
hci0: Type: Primary Bus: USB
BD Address: 10:4A:7D:01:8D:7F ACL MTU: 1021:5 SCO MTU: 96:5
UP RUNNING
RX bytes:267050 acl:16636 sco:0 events:966 errors:0
TX bytes:28087 acl:371 sco:0 commands:388 errors:0
Changed in bluez: | |
status: | Unknown → Fix Released |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It sounds like some part of the system has crashed. To help us find the cause of the crash please follow these steps:
1. Look in /var/crash for crash files and if found run:
ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.
2. If step 1 failed then look at https:/ /errors. ubuntu. com/user/ ID where ID is the content of file /var/lib/ whoopsie/ whoopsie- id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.
3. If step 2 also failed then apply the workaround from bug 994921, reboot, reproduce the crash, and retry step 1.
Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.