GNOME Bugzilla – Bug 673988
udisks2 ABI break in 1.93 -> 1.94, crashes gnome-disk-utility
Last modified: 2012-04-12 13:51:56 UTC
When I start palimpsest on my 64-bit Arch Linux, I'm greeted a screenful of GLib-GIO-WARNING messages about interface mismatches, followed by a segfault in udisks_client_get_drive_info() gnome-disk-utility 3.4.0-1 udisks2 1.94.0-1 glib2 2.32.0-1 I rebuilt gnome-disk-utility and udisks2 with -O1 -ggdb to get the stack trace. (palimpsest:31857): GLib-GIO-WARNING **: Trying to set property Name of type ay but according to the expected interface the type is s (palimpsest:31857): GLib-GIO-WARNING **: Trying to set property UUID of type ay but according to the expected interface the type is s (palimpsest:31857): GLib-GIO-WARNING **: Trying to set property IdLabel of type ay but according to the expected interface the type is s (palimpsest:31857): GLib-GIO-WARNING **: Trying to set property IdUUID of type ay but according to the expected interface the type is s [... repeated a few times ...] (palimpsest:31857): GLib-GIO-WARNING **: Trying to set property Vendor of type ay but according to the expected interface the type is s (palimpsest:31857): GLib-GIO-WARNING **: Trying to set property Model of type ay but according to the expected interface the type is s (palimpsest:31857): GLib-GIO-WARNING **: Trying to set property Revision of type ay but according to the expected interface the type is s (palimpsest:31857): GLib-GIO-WARNING **: Trying to set property Serial of type ay but according to the expected interface the type is s [... repeated once more ...] Program received signal SIGSEGV, Segmentation fault. (gdb) bt full
+ Trace 230051
Created attachment 211925 [details] udisksctl-dump.txt 'udisksctl dump' sprays the same errors, but doesn't segfault. Here's the output of the dump command.
Apparently this is a result of udisks2 ABI break between 1.93 -> 1.94. When I try to access the 1.93 daemon with 1.94 libraries -- or vice versa -- I get this crash. Is this ABI break deliberate?
Yeah, this was a deliberate ABI break... and there will be one more before 2.0.0 cf. http://lists.freedesktop.org/archives/devkit-devel/2012-April/001239.html After that 2.0.0 there will be no more ABI breaks. Btw, if you reboot right after updating 1.93.0 -> 1.94.0 there should be no problems since no new processes using libudisks2 will be spawned. That's also why the Fedora update for 1.94.0 has the SuggestReboot flag set to TRUE. Other OSes may do other things.