FS#53502 - Bluetooth segfault when paiing headset

Attached to Project: Arch Linux
Opened by Uhuu (uhuu) - Thursday, 30 March 2017, 09:31 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 08 April 2017, 14:33 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When pairing Bluetooth headset Sony MDR 1000x via kde plasma applet, connection will be unsuccessful and bluetooth service crashes.
dmesg showing
[code]input: 04:5D:4B:15:8B:65 as /devices/virtual/input/input18
[ 76.764050] bluetoothd[548]: segfault at 58 ip 0000000000424786 sp 00007ffc2ced58c0 error 4 in bluetoothd[400000+fc000]
[ 101.931418] input: 04:5D:4B:15:8B:65 as /devices/virtual/input/input19
[ 101.998800] bluetoothd[1280]: segfault at 58 ip 0000000000424786 sp 00007fffc13d02b0 error 4 in bluetoothd[400000+fc000]
[/code]

journalctl -f showing

[code]
märts 30 12:27:19 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:22 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: Manager initialized
märts 30 12:27:22 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: Initialize Discover Page
märts 30 12:27:22 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: Starting scanning
märts 30 12:27:23 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:26 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: Stopping scanning
märts 30 12:27:26 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: PIN: "0000"
märts 30 12:27:26 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: Device type: "headset"
märts 30 12:27:26 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: Legacy: false
märts 30 12:27:26 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: From DB: true
märts 30 12:27:26 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: PIN: "0000"
märts 30 12:27:26 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:26 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:26 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: Initialize Pairing Page
märts 30 12:27:27 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:27 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:27 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: Pairing finished:
märts 30 12:27:27 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:27 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: error : false
märts 30 12:27:27 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: errorText : ""
märts 30 12:27:27 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:27 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: Initialize Connect Page
märts 30 12:27:27 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:27 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:28 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: Connect finished:
märts 30 12:27:28 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: error : false
märts 30 12:27:28 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: errorText : ""
märts 30 12:27:28 arvutusmasin kernel: input: 04:5D:4B:15:8B:65 as /devices/virtual/input/input20
märts 30 12:27:28 arvutusmasin kernel: bluetoothd[1293]: segfault at 58 ip 0000000000424786 sp 00007ffc0c642310 error 4 in bluetoothd[400000+fc000]
märts 30 12:27:28 arvutusmasin systemd[1]: Started Process Core Dump (PID 2700/UID 0).
märts 30 12:27:28 arvutusmasin systemd[1]: bluetooth.service: Main process exited, code=dumped, status=11/SEGV
märts 30 12:27:28 arvutusmasin NetworkManager[569]: <info> [1490866048.4104] device (6C:F3:73:BE:27:CD): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
märts 30 12:27:28 arvutusmasin systemd[1]: bluetooth.service: Unit entered failed state.
märts 30 12:27:28 arvutusmasin systemd[1]: bluetooth.service: Failed with result 'core-dump'.
märts 30 12:27:28 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:28 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:28 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:28 arvutusmasin systemd-coredump[2703]: Process 1293 (bluetoothd) of user 0 dumped core.

Stack trace of thread 1293:
#0 0x0000000000424786 n/a (bluetoothd)
#1 0x0000000000424e14 n/a (bluetoothd)
#2 0x0000000000420fb9 n/a (bluetoothd)
#3 0x00007fc3ab7b245a g_main_context_dispatch (libglib-2.0.so.0)
#4 0x00007fc3ab7b2810 n/a (libglib-2.0.so.0)
#5 0x00007fc3ab7b2b32 g_main_loop_run (libglib-2.0.so.0)
#6 0x000000000040ba48 n/a (bluetoothd)
#7 0x00007fc3aad88511 __libc_start_main (libc.so.6)
#8 0x000000000040c1c9 n/a (bluetoothd)
märts 30 12:27:28 arvutusmasin plasmashell[712]: qml: applet destroyed
märts 30 12:27:28 arvutusmasin dbus[542]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
märts 30 12:27:28 arvutusmasin systemd[1]: Starting Bluetooth service...
märts 30 12:27:28 arvutusmasin bluetoothd[2714]: Bluetooth daemon 5.38
märts 30 12:27:28 arvutusmasin dbus[542]: [system] Successfully activated service 'org.bluez'
märts 30 12:27:28 arvutusmasin systemd[1]: Started Bluetooth service.
märts 30 12:27:28 arvutusmasin bluetoothd[2714]: Starting SDP server
märts 30 12:27:28 arvutusmasin dbus[542]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
märts 30 12:27:28 arvutusmasin bluetoothd[2714]: Bluetooth management interface 1.14 initialized
märts 30 12:27:28 arvutusmasin bluetoothd[2714]: Failed to obtain handles for "Service Changed" characteristic
märts 30 12:27:28 arvutusmasin bluetoothd[2714]: Not enough free handles to register service
märts 30 12:27:28 arvutusmasin bluetoothd[2714]: Error adding Link Loss service
märts 30 12:27:28 arvutusmasin bluetoothd[2714]: Not enough free handles to register service
märts 30 12:27:28 arvutusmasin bluetoothd[2714]: Not enough free handles to register service
märts 30 12:27:28 arvutusmasin bluetoothd[2714]: Not enough free handles to register service
märts 30 12:27:28 arvutusmasin bluetoothd[2714]: Current Time Service could not be registered
märts 30 12:27:28 arvutusmasin bluetoothd[2714]: gatt-time-server: Input/output error (5)
märts 30 12:27:28 arvutusmasin bluetoothd[2714]: Not enough free handles to register service
märts 30 12:27:28 arvutusmasin bluetoothd[2714]: Not enough free handles to register service
märts 30 12:27:28 arvutusmasin bluetoothd[2714]: Sap driver initialization failed.
märts 30 12:27:28 arvutusmasin bluetoothd[2714]: sap-server: Operation not permitted (1)
märts 30 12:27:28 arvutusmasin systemd[1]: Starting Hostname Service...
märts 30 12:27:28 arvutusmasin bluetoothd[2714]: Endpoint registered: sender=:1.26 path=/MediaEndpoint/A2DPSource
märts 30 12:27:28 arvutusmasin bluetoothd[2714]: Endpoint registered: sender=:1.26 path=/MediaEndpoint/A2DPSink
märts 30 12:27:28 arvutusmasin NetworkManager[569]: <info> [1490866048.5149] keyfile: add connection in-memory (cb1ae77f-bcd2-41f8-92a4-a259b2e20a5e,"Minu föön Network")
märts 30 12:27:28 arvutusmasin NetworkManager[569]: <info> [1490866048.5202] bluez: BT device Minu föön (6C:F3:73:BE:27:CD) added (NAP)
märts 30 12:27:28 arvutusmasin NetworkManager[569]: <info> [1490866048.5227] manager: (6C:F3:73:BE:27:CD): new Bluetooth device (/org/freedesktop/NetworkManager/Devices/9)
märts 30 12:27:28 arvutusmasin NetworkManager[569]: <info> [1490866048.5230] device (6C:F3:73:BE:27:CD): state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
märts 30 12:27:28 arvutusmasin NetworkManager[569]: <info> [1490866048.5554] device (6C:F3:73:BE:27:CD): state change: unavailable -> disconnected (reason 'none') [20 30 0]
märts 30 12:27:28 arvutusmasin plasmashell[712]: networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "AllDevices"
märts 30 12:27:28 arvutusmasin plasmashell[712]: networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "Devices"
märts 30 12:27:28 arvutusmasin org_kde_powerdevil[807]: networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "AllDevices"
märts 30 12:27:28 arvutusmasin org_kde_powerdevil[807]: networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "Devices"
märts 30 12:27:28 arvutusmasin org_kde_powerdevil[807]: networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "AllDevices"
märts 30 12:27:28 arvutusmasin org_kde_powerdevil[807]: networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "Devices"
märts 30 12:27:28 arvutusmasin kdeinit5[657]: bluedevil: Bluetooth operational changed false
märts 30 12:27:28 arvutusmasin kdeinit5[657]: networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "AllDevices"
märts 30 12:27:28 arvutusmasin kdeinit5[657]: networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "Devices"
märts 30 12:27:28 arvutusmasin kdeinit5[657]: networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
märts 30 12:27:28 arvutusmasin kdeinit5[657]: networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
märts 30 12:27:28 arvutusmasin kdeinit5[657]: networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
märts 30 12:27:28 arvutusmasin kdeinit5[657]: networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
märts 30 12:27:28 arvutusmasin kdeinit5[657]: networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "AllDevices"
märts 30 12:27:28 arvutusmasin kdeinit5[657]: networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "Devices"
märts 30 12:27:28 arvutusmasin kdeinit5[657]: plasma-nm: virtual void SecretAgent::DeleteSecrets(const NMVariantMapMap&, const QDBusObjectPath&)
märts 30 12:27:28 arvutusmasin kdeinit5[657]: plasma-nm: Path: "/org/freedesktop/NetworkManager/Settings/9"
märts 30 12:27:28 arvutusmasin kdeinit5[657]: bluedevil: Bluetooth operational changed true
märts 30 12:27:28 arvutusmasin kdeinit5[657]: bluedevil: Agent registered
märts 30 12:27:28 arvutusmasin kdeinit5[657]: bluedevil: Requested default Agent
märts 30 12:27:28 arvutusmasin plasmashell[712]: networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
märts 30 12:27:28 arvutusmasin plasmashell[712]: networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
märts 30 12:27:28 arvutusmasin plasmashell[712]: networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
märts 30 12:27:28 arvutusmasin plasmashell[712]: networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
märts 30 12:27:28 arvutusmasin plasmashell[712]: networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "AllDevices"
märts 30 12:27:28 arvutusmasin plasmashell[712]: networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "Devices"
märts 30 12:27:28 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:28 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:28 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:28 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:28 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:28 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:28 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:28 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:28 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: Initialize Success Page
märts 30 12:27:29 arvutusmasin dbus[542]: [system] Successfully activated service 'org.freedesktop.hostname1'
märts 30 12:27:29 arvutusmasin systemd[1]: Started Hostname Service.
märts 30 12:27:29 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:29 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:29 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:29 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:29 arvutusmasin NetworkManager[569]: <info> [1490866049.7667] device (6C:F3:73:BE:27:CD): state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
märts 30 12:27:29 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:29 arvutusmasin plasmashell[712]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:34: TypeError: Cannot read property 'devices' of undefined
märts 30 12:27:29 arvutusmasin org_kde_powerdevil[807]: networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "AllDevices"
märts 30 12:27:29 arvutusmasin org_kde_powerdevil[807]: networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "Devices"
märts 30 12:27:29 arvutusmasin plasmashell[712]: networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "AllDevices"
märts 30 12:27:29 arvutusmasin plasmashell[712]: networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "Devices"
märts 30 12:27:29 arvutusmasin kdeinit5[657]: networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "AllDevices"
märts 30 12:27:29 arvutusmasin kdeinit5[657]: networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "Devices"
märts 30 12:27:32 arvutusmasin bluedevil-wizard[2693]: bluedevil.wizard: Wizard done: 1
[/code]

bluetooth packages up to bluez 5.37-2 & bluez-utils 5.37-2 work flawlessly.

Additional info:
* bluez 5.38-1 & bluez-utils 5.38-1 and up to latest


Steps to reproduce:

Pair Bluetooth headset Sony MDR 1000x via kde plasma applet.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 08 April 2017, 14:33 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#53442 
Comment by Andreas Radke (AndyRTR) - Thursday, 30 March 2017, 14:21 GMT
Duplicate of  FS#53442  ?
Comment by Haley S. (HaleyS) - Sunday, 02 April 2017, 13:13 GMT

Loading...