Hi,
I experience segault using devicekit-disks 007
(both gentoo ebuild of gnome overlay and from sources)

It probably stops in :
"for (n = 0; props->device_file_by_id[n] != NULL; n++)"
of do_show_info() in devkit-disks.c

The backtrace is helpless :
#0  0x0000000000403637 in do_show_info ()
#1  0x0000000000404be6 in main ()
----
0x000000000040362e <do_show_info+334>:  callq  0x4019b0 <g_pr...@plt>
0x0000000000403633 <do_show_info+339>:  mov    0x30(%rbx),%rax
0x0000000000403637 <do_show_info+343>:  mov    (%rax),%rsi
0x000000000040363a <do_show_info+346>:  test   %rsi,%rsi
0x000000000040363d <do_show_info+349>:  je     0x403667 <do_show_info+391>
0x000000000040363f <do_show_info+351>:  xor    %r12d,%r12d
0x0000000000403642 <do_show_info+354>:  nopw   0x0(%rax,%rax,1)
0x0000000000403648 <do_show_info+360>:  xor    %eax,%eax
0x000000000040364a <do_show_info+362>:  mov    $0x405dc8,%edi
0x000000000040364f <do_show_info+367>:  inc    %r12d
----
I can't --dump as it segfault after the "device-file:"
of the first device (sda)

---------------------
Commenting both loops let's devkit-disks continue ... but ...
with NULL|0|no|01 jan. 1970|... values for all devices

dbus-monitor --system --monitor only throws two times :
signal sender=org.freedesktop.DBus -> dest=(null destination) 
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; 
member=NameOwnerChanged
   string ":1.123"
   string ":1.123"
   string ""
______
Adding some debug infos I come into :

in device_properties_get() : call to :
g_hash_table_foreach (hash_table, (GHFunc) collect_props, props);
and in collect_props() I put a :
g_warning("[COLLECT_PROPS]\n");
which does NOT appears (if you know about a way to debug there so
I can track this down ...)

Wish it helps

Raph
_______________________________________________
devkit-devel mailing list
devkit-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/devkit-devel

Reply via email to