Thanks for the two monitor logs. They indeed seem to confirm my
suspicion: The device bluetooth mouse battery gets add/change events
several times, but it never gets a remove event. On top of that, the add
events have different device paths, which causes the already existing
"treat add event as change" check to not work.That's a kernel bug, but
we need to make upower more robust against that.

Thanks to the logs I was able to complete my test case which now nicely
reproduces this crash.

** Changed in: upower (Ubuntu)
       Status: Incomplete => In Progress

** Changed in: upower (Ubuntu)
     Assignee: (unassigned) => Martin Pitt (pitti)

** Changed in: upower (Ubuntu)
    Milestone: None => ubuntu-13.09

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1112907

Title:
  abort with wireless HID devices: A handler is already registered for
  <battery>

Status in Upower:
  Unknown
Status in “upower” package in Ubuntu:
  In Progress

Bug description:
  .

  ProblemType: Crash
  DistroRelease: Ubuntu 13.04
  Package: upower 0.9.19-1ubuntu4
  ProcVersionSignature: Ubuntu 3.5.0-216.23-omap4 3.5.7.1
  Uname: Linux 3.5.0-216-omap4 armv7l
  ApportVersion: 2.8-0ubuntu3
  Architecture: armhf
  Date: Fri Feb  1 22:25:19 2013
  ExecutablePath: /usr/lib/upower/upowerd
  InstallationDate: Installed on 2013-01-17 (15 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha armhf+omap4 
(20130116)
  MarkForUpload: True
  ProcCmdline: /usr/lib/upower/upowerd
  ProcEnviron:
   
  Signal: 5
  SourcePackage: upower
  StacktraceTop:
   dbus_g_connection_register_g_object () from 
/usr/lib/arm-linux-gnueabihf/libdbus-glib-1.so.2
   ?? ()
   ?? ()
  Title: upowerd crashed with signal 5 in dbus_g_connection_register_g_object()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to