Re: devkit segfaults in do_show_info()

2009-11-05 Thread gibboris
On Fri, Nov 06, 2009 at 12:41:30AM +0100, Martin Pitt wrote: > gibbo...@gmail.com [2009-10-08 4:02 +0200]: > > Resolved the 'introspection data references non-existing property' > > by updating dbus-glib from 0.76 to 0.80, it should *really* be > > noted in the README for the ease of maintainers a

Re: devkit segfaults in do_show_info()

2009-11-05 Thread Martin Pitt
gibbo...@gmail.com [2009-10-08 4:02 +0200]: > Resolved the 'introspection data references non-existing property' > by updating dbus-glib from 0.76 to 0.80, it should *really* be > noted in the README for the ease of maintainers and the > ./configure should *really* check it. FYI, current DK-D req

Re: devkit segfaults in do_show_info()

2009-10-07 Thread gibboris
On Tue, Oct 06, 2009 at 12:18:37AM +0200, gibbo...@gmail.com wrote: > $ devkit-disks --show-info /dev/sda7 > devkit-disks-daemon throws : > > ** (devkit-disks-daemon:9668): WARNING **: introspection data references > non-existing property NativePath > [ ... same message for each property follow .

Re: devkit segfaults in do_show_info()

2009-10-05 Thread gibboris
[patch attached about the segfault] About the NULL values : dbus_g_proxy_call doesn't succeed : $ /usr/libexec/devkit-disks-daemon (devkit-disks-daemon:346): devkit-disks-daemon-WARNING **: Failed to acquire org.freedesktop.DeviceKit.Disks (devkit-disks-daemon

Re: devkit segfaults in do_show_info()

2009-10-01 Thread gibboris
As a precision : dbus_g_proxy_call() returns 0 but hash_table contains 0 entry. It's maybe related to the fact that props->device_file_by_id[n] and props->device_file_by_path[n] are NULL => segfault the "for" loop should probably contains something like : props->device_file_by_id != NULL and props

devkit segfaults in do_show_info()

2009-09-29 Thread gibboris
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 0x00403637 in do_show_info () #1 0x