Actually upstream bug report https://github.com/bluez/bluez/issues/112 confirms the symptoms.
** Summary changed: - bluetoothd segfaults when Trackpoint II keyboard connects + bluetoothd segfaults when Trackpoint II keyboard connects [SIGSEGV in get_report_cb() from notify_handler() from notify_handler() from queue_foreach() from queue_foreach()] ** Changed in: bluez (Ubuntu) Status: Incomplete => Confirmed ** Description changed: + https://errors.ubuntu.com/problem/e93420b383ce737e9a5dd894617135836bd75eb8 + + --- + bluetoothd crashes when my Lenovo Trackpoint II keyboard connects. I see this in dmesg: [ 58.257605] input: TrackPoint Keyboard II Keyboard as /devices/virtual/misc/uhid/0005:17EF:60E1.0005/input/input26 [ 58.258542] input: TrackPoint Keyboard II Mouse as /devices/virtual/misc/uhid/0005:17EF:60E1.0005/input/input27 [ 58.259561] input: TrackPoint Keyboard II Consumer Control as /devices/virtual/misc/uhid/0005:17EF:60E1.0005/input /input28 [ 58.259661] input: TrackPoint Keyboard II System Control as /devices/virtual/misc/uhid/0005:17EF:60E1.0005/input/i nput29 [ 58.260151] input: TrackPoint Keyboard II as /devices/virtual/misc/uhid/0005:17EF:60E1.0005/input/input31 - [ 58.260267] hid-generic 0005:17EF:60E1.0005: input,hidraw4: BLUETOOTH HID v0.47 Keyboard [TrackPoint Keyboard II] + [ 58.260267] hid-generic 0005:17EF:60E1.0005: input,hidraw4: BLUETOOTH HID v0.47 Keyboard [TrackPoint Keyboard II] on 10:4a:7d:01:8d:7f [ 58.263556] bluetoothd[685]: segfault at 59 ip 00005574d1d10683 sp 00007ffd03bd7570 error 6 in bluetoothd[5574d1ce5000+a9000] [ 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-051100-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu62 Architecture: amd64 CasperMD5CheckResult: unknown 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-256color - PATH=(custom, no user) - XDG_RUNTIME_DIR=<set> - LANG=en_US.UTF-8 - SHELL=/bin/zsh + TERM=screen-256color + PATH=(custom, no user) + XDG_RUNTIME_DIR=<set> + LANG=en_US.UTF-8 + SHELL=/bin/zsh ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-051100-generic root=UUID=d3f49081-f2cd-43ca-b9ed-bd8157d94ee3 ro quiet splash vt.handoff=7 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.asset.tag: Not Available dmi.board.name: 20AW0006US dmi.board.vendor: LENOVO dmi.board.version: 0B98401 WIN dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.ec.firmware.release: 1.8 dmi.modalias: dmi:bvnLENOVO:bvrGLET77WW(2.31):bd01/27/2015:br2.31:efr1.8:svnLENOVO:pn20AW0006US:pvrThinkPadT440p:rvnLENOVO:rn20AW0006US:rvr0B98401WIN:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.family: ThinkPad T440p dmi.product.name: 20AW0006US dmi.product.sku: LENOVO_MT_20AW_BU_Think_FM_ThinkPad T440p dmi.product.version: ThinkPad T440p 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 + 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 ** Also affects: bluez via https://github.com/bluez/bluez/issues/112 Importance: Unknown Status: Unknown ** Changed in: bluez (Ubuntu) Status: Confirmed => Fix Committed ** Tags added: fixed-in-5.57 fixed-upstream ** Summary changed: - bluetoothd segfaults when Trackpoint II keyboard connects [SIGSEGV in get_report_cb() from notify_handler() from notify_handler() from queue_foreach() from queue_foreach()] + bluetoothd segfaults when keyboard connects [SIGSEGV in get_report_cb() from notify_handler() from notify_handler() from queue_foreach() from queue_foreach()] ** Changed in: bluez (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to bluez in Ubuntu. https://bugs.launchpad.net/bugs/1924217 Title: bluetoothd segfaults when keyboard connects [SIGSEGV in get_report_cb() from notify_handler() from notify_handler() from queue_foreach() from queue_foreach()] Status in Bluez Utilities: Unknown Status in bluez package in Ubuntu: Fix Committed Bug description: https://errors.ubuntu.com/problem/e93420b383ce737e9a5dd894617135836bd75eb8 --- bluetoothd crashes when my Lenovo Trackpoint II keyboard connects. I see this in dmesg: [ 58.257605] input: TrackPoint Keyboard II Keyboard as /devices/virtual/misc/uhid/0005:17EF:60E1.0005/input/input26 [ 58.258542] input: TrackPoint Keyboard II Mouse as /devices/virtual/misc/uhid/0005:17EF:60E1.0005/input/input27 [ 58.259561] input: TrackPoint Keyboard II Consumer Control as /devices/virtual/misc/uhid/0005:17EF:60E1.0005/input /input28 [ 58.259661] input: TrackPoint Keyboard II System Control as /devices/virtual/misc/uhid/0005:17EF:60E1.0005/input/i nput29 [ 58.260151] input: TrackPoint Keyboard II as /devices/virtual/misc/uhid/0005:17EF:60E1.0005/input/input31 [ 58.260267] hid-generic 0005:17EF:60E1.0005: input,hidraw4: BLUETOOTH HID v0.47 Keyboard [TrackPoint Keyboard II] on 10:4a:7d:01:8d:7f [ 58.263556] bluetoothd[685]: segfault at 59 ip 00005574d1d10683 sp 00007ffd03bd7570 error 6 in bluetoothd[5574d1ce5000+a9000] [ 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-051100-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu62 Architecture: amd64 CasperMD5CheckResult: unknown 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-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/zsh ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-051100-generic root=UUID=d3f49081-f2cd-43ca-b9ed-bd8157d94ee3 ro quiet splash vt.handoff=7 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.asset.tag: Not Available dmi.board.name: 20AW0006US dmi.board.vendor: LENOVO dmi.board.version: 0B98401 WIN dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.ec.firmware.release: 1.8 dmi.modalias: dmi:bvnLENOVO:bvrGLET77WW(2.31):bd01/27/2015:br2.31:efr1.8:svnLENOVO:pn20AW0006US:pvrThinkPadT440p:rvnLENOVO:rn20AW0006US:rvr0B98401WIN:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.family: ThinkPad T440p dmi.product.name: 20AW0006US dmi.product.sku: LENOVO_MT_20AW_BU_Think_FM_ThinkPad T440p dmi.product.version: ThinkPad T440p 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 To manage notifications about this bug go to: https://bugs.launchpad.net/bluez/+bug/1924217/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp