User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061028 Firefox/2.0 Build Identifier: xfprint4-manager segfaults, though printing in general works. gdb backtrace attached. Reproducible: Always
Created attachment 856 gdb backtrace
I think the patch below should fix the crash. I have committed this to SVN with revision 24070. Index: libxfprint/printer-list-window.c =================================================================== --- libxfprint/printer-list-window.c (revision 24068) +++ libxfprint/printer-list-window.c (working copy) @@ -347,7 +347,8 @@ if (strcmp (default_printer, printer->name) == 0) gtk_tree_selection_select_iter (selection, &iter); - g_object_unref (G_OBJECT (icon)); + if (icon) + g_object_unref (G_OBJECT (icon)); printer_el = g_list_next (printer_el); }
Yep, confirmed. The patch fixed the crash. Thanks !