On 01/06/2010 02:29 AM, Martin Pitt wrote: > Hello Daniel, > > Daniel Kahn Gillmor [2010-01-06 1:28 -0500]: >> [ 1875.523376] devkit-disks-da[2335]: segfault at c ip 080660da sp bffb23f0 >> error 4 in devkit-disks-daemon[8048000+28000] > > In order to get some better idea what happens, please do > > gdb --args /usr/lib/devicekit-disks/devkit-disks-daemon --replace > > as root, then "run". Then replicate the steps to cause a crash. Once > gdb catches the crash, do "bt full". Please copy the entire gdb output > here, plus a couple of lines of devkit-disk-daemon's output, so that > we can see what it was trying to do.
OK, with debug symbols now:
**** REMOVING
/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/block/sdc/sdc1
**** EMITTING REMOVED for
/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/block/sdc/sdc1
**** REMOVING
/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/block/sdc
**** EMITTING REMOVED for
/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/block/sdc
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7b9a720 (LWP 15715)]
poller_device_free (device=0x0) at devkit-disks-poller.c:293
293 if (device->dev_path != NULL) {
(gdb) bt
#0 poller_device_free (device=0x0) at devkit-disks-poller.c:293
#1 0xb7de3877 in g_list_foreach () from /lib/libglib-2.0.so.0
#2 0x0806658a in poller_have_data (channel=0x8076300, condition=G_IO_IN,
user_data=0x0) at devkit-disks-poller.c:344
#3 0xb7e1c88d in ?? () from /lib/libglib-2.0.so.0
#4 0xb7de5f28 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#5 0xb7de96b3 in ?? () from /lib/libglib-2.0.so.0
#6 0xb7de9b7a in g_main_loop_run () from /lib/libglib-2.0.so.0
#7 0x08066386 in poller_run (argc=2, argv=0xbffffd24) at
devkit-disks-poller.c:391
#8 devkit_disks_poller_setup (argc=2, argv=0xbffffd24) at
devkit-disks-poller.c:416
#9 0x08066af8 in main (argc=2, argv=0xbffffd24) at main.c:138
(gdb)
hth,
--dkg
signature.asc
Description: OpenPGP digital signature

