devicekit-power needs to be stopped when new package is installed

Bug #422392 reported by Kees Cook
54
This bug affects 8 people
Affects Status Importance Assigned to Milestone
devicekit-disks (Ubuntu)
Invalid
Medium
Unassigned
devicekit-power (Ubuntu)
Fix Released
Undecided
Martin Pitt

Bug Description

Binary package hint: update-notifier

I cannot start update-notifier:

$ update-notifier

(update-notifier:21936): libgdu-WARNING **: Couldn't call GetAll() to get properties for /org/freedesktop/DeviceKit/Disks/devices/dm_2d32: Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist

I suspect this is bug 403192, but if that's the case, the bug should be "devicekit-disks does not restart when new package is installed".

ProblemType: Crash
Architecture: amd64
Date: Mon Aug 31 22:11:39 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/update-notifier
Package: update-notifier 0.87
ProcCmdline: update-notifier
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LANGUAGE=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-7.27-generic
SegvAnalysis:
 Segfault happened at: 0x7fa3947cf6d0 <gdu_device_get_object_path>: mov 0x18(%rdi),%rax
 PC (0x7fa3947cf6d0) ok
 source "0x18(%rdi)" (0x00000018) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: update-notifier
Stacktrace:
 #0 0x00007fa3947cf6d0 in gdu_device_get_object_path ()
    from /usr/lib/libgdu.so.0
 #1 0x00007fa3947cd939 in gdu_pool_new () from /usr/lib/libgdu.so.0
 #2 0x000000000040b896 in up_do_hal_init ()
 #3 0x0000000000406ab2 in main ()
StacktraceTop:
 gdu_device_get_object_path ()
 gdu_pool_new () from /usr/lib/libgdu.so.0
 up_do_hal_init ()
 main ()
Title: update-notifier crashed with SIGSEGV in gdu_device_get_object_path()
Uname: Linux 2.6.31-7-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy fuse libvirtd lpadmin mythtv plugdev sambashare sbuild scanner video

Revision history for this message
Kees Cook (kees) wrote :
summary: - update-notifier crashed with SIGSEGV in gdu_device_get_object_path()
+ devicekit-disks (and devicekit-power) need to be stopped when new
+ package is installed
affects: update-notifier (Ubuntu) → devicekit-disks (Ubuntu)
Revision history for this message
Kees Cook (kees) wrote : Re: devicekit-disks (and devicekit-power) need to be stopped when new package is installed

Killing the running devkit-disks demon solved the update-notifier issue, so that means there needs to be a way to trigger daemon restarts when the packages are updated.

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:gdu_device_get_object_path (device=0x0) at gdu-device.c:721
gdu_pool_new () at gdu-pool.c:1144
up_do_hal_init (un=0x0) at gdu.c:217
main (argc=1, argv=0x7fffd8370e88)

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in devicekit-disks (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
visibility: private → public
Kees Cook (kees)
Changed in devicekit-disks (Ubuntu):
milestone: none → ubuntu-9.10-beta
status: New → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote : Re: devicekit-disks (and devicekit-power) need to be stopped when new package is installed

Incidentally I had the same thought some days ago, when I packaged a new devicekit-power:

devicekit-power (010+git20090913-0ubuntu1) karmic; urgency=low

  * Update to current git to get the upstream-applied version of
    0001-fix-crash-on-freeing-history-data.patch, and drop patch.
  * debian/rules: Disable test suite on build again, it needs a running system
    D-BUS.
  * Add debian/devicekit-power.postinst: Kill old daemon at package configure
    time, to ensure that the new one will run from then on.

 -- Martin Pitt <email address hidden> Mon, 14 Sep 2009 12:35:59 +0200

Changed in devicekit-power (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: New → Fix Released
summary: - devicekit-disks (and devicekit-power) need to be stopped when new
- package is installed
+ devicekit-power needs to be stopped when new package is installed
Revision history for this message
Martin Pitt (pitti) wrote :

Let's keep this bug for -power, and use bug 403192 for devicekit-disks.

Changed in devicekit-disks (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.