Debian Sarge, Intel x86, XFCE 4.4RC1 built from source. xfdesktop segfaults every few hours. I managed to capture a core file, and here's the backtrace. I don't really know how to trigger the segfault reliably, unfortunately. :-( GNU gdb 6.3-debian Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1". Core was generated by `xfdesktop'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/libxfcegui4.so.4...done. Loaded symbols for /usr/local/lib/libxfcegui4.so.4 Reading symbols from /usr/local/lib/libxfce4mcs-client.so.3...done. Loaded symbols for /usr/local/lib/libxfce4mcs-client.so.3 Reading symbols from /usr/X11R6/lib/libSM.so.6...done. Loaded symbols for /usr/X11R6/lib/libSM.so.6 Reading symbols from /usr/X11R6/lib/libICE.so.6...done. Loaded symbols for /usr/X11R6/lib/libICE.so.6 Reading symbols from /usr/X11R6/lib/libX11.so.6...done. Loaded symbols for /usr/X11R6/lib/libX11.so.6 Reading symbols from /usr/local/lib/libthunar-vfs-1.so.2...done. Loaded symbols for /usr/local/lib/libthunar-vfs-1.so.2 Reading symbols from /usr/lib/libjpeg.so.62...done. Loaded symbols for /usr/lib/libjpeg.so.62 Reading symbols from /usr/lib/libpng12.so.0...done. Loaded symbols for /usr/lib/libpng12.so.0 Reading symbols from /usr/local/lib/libexo-0.3.so.0...done. Loaded symbols for /usr/local/lib/libexo-0.3.so.0 Reading symbols from /usr/lib/libgthread-2.0.so.0...done. Loaded symbols for /usr/lib/libgthread-2.0.so.0 Reading symbols from /lib/tls/libpthread.so.0...done. Loaded symbols for /lib/tls/libpthread.so.0 Reading symbols from /usr/local/lib/libxfce4util.so.4...done. Loaded symbols for /usr/local/lib/libxfce4util.so.4 Reading symbols from /usr/local/lib/libthunarx-1.so.2...done. Loaded symbols for /usr/local/lib/libthunarx-1.so.2 Reading symbols from /usr/lib/libgtk-x11-2.0.so.0...done. Loaded symbols for /usr/lib/libgtk-x11-2.0.so.0 Reading symbols from /usr/lib/libgdk-x11-2.0.so.0...done. Loaded symbols for /usr/lib/libgdk-x11-2.0.so.0 Reading symbols from /usr/lib/libatk-1.0.so.0...done. Loaded symbols for /usr/lib/libatk-1.0.so.0 Reading symbols from /usr/lib/libgdk_pixbuf-2.0.so.0...done. Loaded symbols for /usr/lib/libgdk_pixbuf-2.0.so.0 Reading symbols from /usr/lib/libpangoxft-1.0.so.0...done. Loaded symbols for /usr/lib/libpangoxft-1.0.so.0 Reading symbols from /usr/lib/libpangox-1.0.so.0...done. Loaded symbols for /usr/lib/libpangox-1.0.so.0 Reading symbols from /usr/lib/libpango-1.0.so.0...done. Loaded symbols for /usr/lib/libpango-1.0.so.0 Reading symbols from /lib/tls/libm.so.6...done. Loaded symbols for /lib/tls/libm.so.6 Reading symbols from /usr/lib/libgmodule-2.0.so.0...done. Loaded symbols for /usr/lib/libgmodule-2.0.so.0 Reading symbols from /lib/tls/libdl.so.2...done. Loaded symbols for /lib/tls/libdl.so.2 Reading symbols from /usr/local/lib/libdbus-glib-1.so.2...done. Loaded symbols for /usr/local/lib/libdbus-glib-1.so.2 Reading symbols from /usr/lib/libgobject-2.0.so.0...done. Loaded symbols for /usr/lib/libgobject-2.0.so.0 Reading symbols from /usr/local/lib/libdbus-1.so.3...done. Loaded symbols for /usr/local/lib/libdbus-1.so.3 Reading symbols from /lib/tls/libnsl.so.1...done. Loaded symbols for /lib/tls/libnsl.so.1 Reading symbols from /usr/lib/libglib-2.0.so.0...done. Loaded symbols for /usr/lib/libglib-2.0.so.0 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /usr/lib/libz.so.1...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /usr/X11R6/lib/libXrandr.so.2...done. Loaded symbols for /usr/X11R6/lib/libXrandr.so.2 Reading symbols from /usr/X11R6/lib/libXi.so.6...done. Loaded symbols for /usr/X11R6/lib/libXi.so.6 Reading symbols from /usr/X11R6/lib/libXext.so.6...done. Loaded symbols for /usr/X11R6/lib/libXext.so.6 Reading symbols from /usr/lib/libXft.so.2...done. Loaded symbols for /usr/lib/libXft.so.2 Reading symbols from /usr/lib/libfreetype.so.6...done. Loaded symbols for /usr/lib/libfreetype.so.6 Reading symbols from /usr/lib/libfontconfig.so.1...done. Loaded symbols for /usr/lib/libfontconfig.so.1 Reading symbols from /usr/lib/libXcursor.so.1...done. Loaded symbols for /usr/lib/libXcursor.so.1 Reading symbols from /usr/lib/libXrender.so.1...done. Loaded symbols for /usr/lib/libXrender.so.1 Reading symbols from /usr/lib/libpangoft2-1.0.so.0...done. Loaded symbols for /usr/lib/libpangoft2-1.0.so.0 Reading symbols from /usr/lib/libexpat.so.1...done. Loaded symbols for /usr/lib/libexpat.so.1 Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2...done. Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 Reading symbols from /lib/tls/libnss_compat.so.2...done. Loaded symbols for /lib/tls/libnss_compat.so.2 Reading symbols from /lib/tls/libnss_nis.so.2...done. Loaded symbols for /lib/tls/libnss_nis.so.2 Reading symbols from /lib/tls/libnss_files.so.2...done. Loaded symbols for /lib/tls/libnss_files.so.2 Reading symbols from /usr/lib/gconv/ISO8859-1.so...done. Loaded symbols for /usr/lib/gconv/ISO8859-1.so Reading symbols from /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so...done. Loaded symbols for /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so Reading symbols from /usr/lib/pango/1.4.0/modules/pango-basic-fc.so...done. Loaded symbols for /usr/lib/pango/1.4.0/modules/pango-basic-fc.so Reading symbols from /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xpm.so...done. Loaded symbols for /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xpm.so Reading symbols from /usr/local/lib/xfce4/modules/xfce4_desktop_menu.so...done. Loaded symbols for /usr/local/lib/xfce4/modules/xfce4_desktop_menu.so Reading symbols from /usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so...done. Loaded symbols for /usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so Reading symbols from /usr/lib/libart_lgpl_2.so.2...done. Loaded symbols for /usr/lib/libart_lgpl_2.so.2 Reading symbols from /usr/lib/libgsf-1.so.1...done. Loaded symbols for /usr/lib/libgsf-1.so.1 Reading symbols from /usr/lib/libcroco-0.6.so.3...done. Loaded symbols for /usr/lib/libcroco-0.6.so.3 Reading symbols from /usr/lib/libxml2.so.2...done. Loaded symbols for /usr/lib/libxml2.so.2 Reading symbols from /usr/lib/librsvg-2.so.2...done. Loaded symbols for /usr/lib/librsvg-2.so.2 Reading symbols from /usr/lib/libbz2.so.1.0...done. Loaded symbols for /usr/lib/libbz2.so.1.0 #0 0x40679988 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0 (gdb) where #0 0x40679988 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0 #1 0x0805bc17 in xfdesktop_icon_get_position (icon=0x4068a708, row=0x8063150, col=0x0) at xfdesktop-icon.c:175 #2 0x0805f5bc in xfdesktop_icon_view_paint_icon (icon_view=0x813ff20, icon=0x8140418, area=0x822aba4) at xfdesktop-icon-view.c:1801 #3 0x0805fa36 in xfdesktop_icon_view_repaint_queued_icons ( user_data=0x822aba0) at xfdesktop-icon-view.c:1902 #4 0x406f8583 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0 #5 0x406f5582 in g_main_depth () from /usr/lib/libglib-2.0.so.0 #6 0x406f65f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #7 0x406f6930 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #8 0x406f6ed3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #9 0x40353bb3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #10 0x080558a2 in main (argc=1, argv=0xbffffbb4) at main.c:394 (gdb)
Minimised app icons, or file icons? Backtrace looks corrupt, unfortunately... There's no way I can see how col=0x0 is possible for frame #1. I'll try to look at it this evening, though.
Minimized app icons. And yes, backtrace might be corrupt...
Ok, if the backtrace is correct, it's possible that the 'icon' param isn't valid. Is there any output to console before xfdesktop crashes?
Actually, it's possible I fixed this along with another bug. Can you test again?
Test how... from SVN?
(In reply to comment #5) > Test how... from SVN? Yes.
If you're unable to use SVN, you can grab a tarball here: http://spuriousinterrupt.org/files/xfce4/test/xfdesktop-svn_r23389.tar.bz2 You can install it to an alternate prefix if you want, like /opt/xfdesktop-test. Just kill the running xfdesktop and run /opt/xfdesktop-test/bin/xfdesktop instead.
I built from SVN yesterday and it has not yet crashed. Before, it would crash every few hours, so I guess it is fixed in SVN. Thanks!
sounds good...