Bug 19678

Summary: hal makes nautilus crash on removing media
Product: hal Reporter: Vladimir Kokarev <matrix47>
Component: libhalAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: REOPENED --- QA Contact:
Severity: normal    
Priority: medium CC: fhimpe, matrix47
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: crash stack trace

Description Vladimir Kokarev 2009-01-21 11:55:10 UTC
Created attachment 22138 [details]
crash stack trace

when I remove any removeable device from my pc, nautilus crashes
this happens, for example, when I eject dvd drive or detach an usb-webcam

my hal version is 0.5.11
the bug remained with 0.5.12rc1
Comment 1 Danny Kukawka 2009-01-22 03:06:46 UTC
If nautilius crash because a device was removed in HAL it's a problem of Nautilis and not HAL. Please report the problem to GNOME.
Comment 2 Vladimir Kokarev 2009-01-22 05:31:39 UTC
here's gnome bug, where I was told to report it here:
http://bugzilla.gnome.org/show_bug.cgi?id=564894
Comment 3 A. Walton 2009-01-22 05:36:49 UTC
Except when Nautilus is crashing because of something happening inside of libhal, which we clearly can't do anything about: 
at libhal.c:1065 ~filter_func().
#6  0x00000000007e7640 in ?? ()
#7  0x00007f1826fd3e39 in filter_func (connection=0x81dd40, message=0x95d490, 
    user_data=<value optimized out>) at libhal.c:1065
        udi = 0x93e004 "/org/freedesktop/Hal/devices/volume_empty_dvd_plus_r"
        object_path = 0x9b3418 "/org/freedesktop/Hal/Manager"
        error = {name = 0x0, message = 0x0, dummy1 = 1, dummy2 = 0, 
  dummy3 = 0, dummy4 = 0, dummy5 = 1, padding1 = 0x80fb10}
        ctx = (LibHalContext *) 0x8320c0

It'd be nice to have a better stacktrace to see where exactly it's crashing, but it can't be far from there.
Comment 4 A. Walton 2009-01-22 05:38:24 UTC
(In reply to comment #3)
> Except when Nautilus is crashing because of something happening inside of
> libhal, which we clearly can't do anything about: 
"We" being the Nautilus source, of course.
Comment 5 Vladimir Kokarev 2009-01-22 05:44:55 UTC
A. Walton: can you suggest a method for getting a better stacktrace?
Comment 6 Danny Kukawka 2009-07-28 01:52:13 UTC
*** Bug 19913 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.