** Description changed:

+ [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
  ProcVersionSignature: Ubuntu 3.2.0-20.32-generic 3.2.12
  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/blueman-applet
  InstallationMedia: Xubuntu 12.04 "Precise Pangolin" - Alpha amd64 (20120204)
  InterpreterPath: /usr/bin/python2.7
  ProcCmdline: /usr/bin/python /usr/bin/blueman-applet
  PythonArgs: ['/usr/bin/blueman-applet']SourcePackage: blueman
  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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/962469

Title:
  blueman-applet crashed with KeyError in card_cb(): 'bluez.path'

To manage notifications about this bug go to:
https://bugs.launchpad.net/blueman/+bug/962469/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to