Public bug reported:
Sadly, I have no idea exactly how I managed to get such a state of HAL database.
When I try to click on the icon on my desktop which represents the wretched
thing
(a Canon camera formatted CF card), exo-eject just crashes in main:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f32c36fc7a0 (LWP 11140)]
0x00000000004033f5 in main (argc=1, argv=0x7fffcb72aa48) at main.c:338
338 main.c: No such file or directory.
in main.c
(gdb) bt
#0 0x00000000004033f5 in main (argc=1, argv=0x7fffcb72aa48) at main.c:338
(gdb) dir ~/compile/libexo/exo-0.3.4/exo-mount
Source directories searched:
/home/raa/compile/libexo/exo-0.3.4/exo-mount:$cdir:$cwd
(gdb) l
333 else
334 message = g_strdup_printf (_("Failed to mount \"%s\""),
name);
335
336 /* popup an error message dialog */
337 dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s.", message);
338 gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG
(dialog), "%s.", err->message);
339 gtk_dialog_run (GTK_DIALOG (dialog));
340 gtk_widget_destroy (dialog);
341 g_free (message);
342 }
(gdb) p err
$1 = (GError *) 0x0
(gdb) quit
The hal-device output for the UDI:
$ hal-device
0: udi = '/org/freedesktop/Hal/devices/volume_uuid_220D_41BE'
block.device = '/dev/sdc1' (string)
info.capabilities = { 'volume', 'block' } (string list)
volume.partition.media_size = 260047360 (0xf800200) (uint64)
volume.partition.scheme = 'mbr' (string)
block.major = 8 (0x8) (int)
volume.partition.type = '0x06' (string)
block.minor = 33 (0x21) (int)
volume.partition.label = '' (string)
block.is_volume = true (bool)
volume.partition.uuid = '' (string)
linux.hotplug_type = 3 (0x3) (int)
volume.partition.flags = { } (string list)
info.product = 'CANON_DC' (string)
volume.ignore = false (bool)
info.udi = '/org/freedesktop/Hal/devices/volume_uuid_220D_41BE' (string)
org.freedesktop.Hal.Device.Volume.method_names = { 'Mount', 'Unmount',
'Eject' } (string list)
org.freedesktop.Hal.Device.Volume.method_signatures = { 'ssas', 'as', 'as' }
(string list)
storage.model = '' (string)
org.freedesktop.Hal.Device.Volume.method_argnames = { 'mount_point fstype
extra_options', 'extra_options', 'extra_options' } (string list)
org.freedesktop.Hal.Device.Volume.method_execpaths = { 'hal-storage-mount',
'hal-storage-unmount', 'hal-storage-eject' } (string list)
info.interfaces = { 'org.freedesktop.Hal.Device.Volume' } (string list)
volume.mount.valid_options = { 'ro', 'sync', 'dirsync', 'noatime',
'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'shortname=',
'codepage=', 'iocharset=', 'umask=', 'dmask=', 'fmask=', 'uid=', 'flush' }
(string list)
volume.unmount.valid_options = { 'lazy' } (string list)
block.storage_device =
'/org/freedesktop/Hal/devices/storage_serial_Generic_USB_Storage_CFC_20020723160609130_0_1'
(string)
volume.fstype = 'vfat' (string)
volume.fsusage = 'filesystem' (string)
volume.fsversion = 'FAT16' (string)
volume.uuid = '220D-41BE' (string)
volume.label = 'CANON_DC' (string)
volume.mount_point = '' (string)
volume.is_mounted = false (bool)
linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/host5/target5:0:0/5:0:0:1/block/sdc/sdc1'
(string)
volume.is_mounted_read_only = false (bool)
info.parent =
'/org/freedesktop/Hal/devices/storage_serial_Generic_USB_Storage_CFC_20020723160609130_0_1'
(string)
volume.linux.is_device_mapper = false (bool)
volume.is_disc = false (bool)
volume.is_partition = true (bool)
volume.partition.number = 1 (0x1) (int)
volume.block_size = 512 (0x200) (int)
volume.num_blocks = 507360 (0x7bde0) (int)
volume.size = 259768320 (0xf7bc000) (uint64)
info.category = 'volume' (string)
volume.partition.start = 16384 (0x4000) (uint64)
** Affects: exo (Ubuntu)
Importance: Undecided
Status: New
--
exo-eject crashes trying to eject a strangely stuck HAL device
https://bugs.launchpad.net/bugs/264439
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs