blueman-applet crashed with KeyError in card_cb(): 'bluez.path'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
blueman (Fedora) |
Won't Fix
|
Undecided
|
|||
blueman (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre | ||
Precise |
Fix Released
|
High
|
Mathieu Trudel-Lapierre |
Bug Description
[IMPACT]
Changing pulseaudio settings (audio profiles, via the Sound applet or any other mixer application), as well as connecting headphones on cards with jack-sensing cause blueman-applet to crash. It's catching all pulseaudio events and tries to grab the bluez path even for devices that aren't bluetooth devices.
The upload applies a simple patch to check for the existence of the bluez.path property in the device properties; which is only available on bluetooth devices, prior to trying to access it, thus avoiding a crash due to an attempt to access invalid data.
[TESTCASE]
1) Connect headphones to the computer.
This requires systems with jack-sensing, but is the most obvious reproducer. Alternatively:
1) Open Sound properties
2) Switch to the Output tab.
3) Select a device and change the value for the Mode: drop-down if available, on a device other than the bluetooth headset.
[Regression Potential]
Possible regressions could include other bugs related to handling the bluetooth headset audio profile changes (from HSP/HFP to A2DP for example) surfacing due to the fact that blueman-applet no longer crashes as soon as non-bluetooth devices are changed in any way.
===
Step to reproduce:
Plug in or unplug headphones
Does it after every boot.
System runs stabel.....
ProblemType: CrashDistroRelease: Ubuntu 12.04
Package: blueman 1.23-0ubuntu1
ProcVersionSign
Uname: Linux 3.2.0-20-generic x86_64
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
CrashCounter: 1
Date: Thu Mar 22 20:04:45 2012
ExecutablePath: /usr/bin/
InstallationMedia: Xubuntu 12.04 "Precise Pangolin" - Alpha amd64 (20120204)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/bin/
PythonArgs: ['/usr/
Title: blueman-applet crashed with KeyError in card_cb(): 'bluez.path'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin mythtv netdev plugdev sambashare sudo www-data
tags: | removed: need-duplicate-check |
visibility: | private → public |
Changed in blueman (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
description: | updated |
tags: | added: testcase |
Changed in blueman (Ubuntu Precise): | |
importance: | Undecided → High |
milestone: | none → ubuntu-12.04.1 |
status: | New → Triaged |
Changed in blueman (Ubuntu): | |
status: | Triaged → In Progress |
Changed in blueman (Ubuntu Precise): | |
status: | Triaged → In Progress |
description: | updated |
tags: | added: verification-done |
tags: | added: utopic |
Changed in blueman (Fedora): | |
importance: | Unknown → Undecided |
status: | Unknown → Won't Fix |
Status changed to 'Confirmed' because the bug affects multiple users.