xfdesktop segfaults

Wiktor Grebla greblus at wp.pl
Wed Mar 1 13:49:25 CET 2006


Hi. 

I think i should post this to xfce-dev ML (it concerns snv build r20134) 
but let's assume it's a report from a kamikaze-user :>.

I've been using svn snapshots for some time, but around r19739 xfdesktop
started to segfault regularly. 

When i build r20134 without debug there are some deprecation warnings
like these:

desktop-menu.c: In function `g_module_check_init':
desktop-menu.c:432: warning: `xfce_icon_theme_get_for_screen' is
deprecated (declared at
/usr/include/xfce4/libxfcegui4/xfce-icontheme.h:66)
desktop-menu-file.c:261: warning: `xfce_icon_theme_load' is deprecated
(declared at /usr/include/xfce4/libxfcegui4/xfce-icontheme.h:80)
desktop-menu-file.c:360: warning: `xfce_icon_theme_load' is deprecated
(declared at /usr/include/xfce4/libxfcegui4/xfce-icontheme.h:80)
desktop-menu-file.c:417: warning: `xfce_icon_theme_load' is deprecated
(declared at /usr/include/xfce4/libxfcegui4/xfce-icontheme.h:80)

but xfce4_desktop_menu compiles.

xfdesktop segfaults right after starting it, unfortunately gdb's bt is 
not very helpful:

Loaded symbols for /usr/lib/gconv/ISO8859-1.so
#0  0xb788b66e in ?? ()
from /usr/lib/libgobject-2.0.so.0
(gdb) 
(gdb) bt
#0  0xb788b66e in ?? () from /usr/lib/libgobject-2.0.so.0
Cannot access memory at address 0x20

With --enable-debug=full menu module does not compile at all:

desktop-menu.c: In function `g_module_check_init':
desktop-menu.c:432: warning: implicit declaration of function
`xfce_icon_theme_get_for_screen'
desktop-menu.c:432: warning: assignment makes pointer from integer
without a cast
desktop-menu-file.c: In function `menu_file_xml_start':
desktop-menu-file.c:261: warning: implicit declaration of function
`xfce_icon_theme_load'
desktop-menu-file.c:262: warning: assignment makes pointer from integer
without a cast
desktop-menu-file.c:361: warning: assignment makes pointer from integer
without a cast
desktop-menu-file.c:418: warning: assignment makes pointer from integer
without a cast
make[3]: *** [xfce4_desktop_menu_la-desktop-menu.lo] Błąd 1

And with --enable-debug=yes it compiles, but xfdesktop segfaults similarly 
(though in a more verbose way ;)):

DBG[xfce-desktop.c:134] xfce_desktop_ensure_system_font_size(): dividing
by PANGO_SCALE
DBG[xfce-desktop.c:137] xfce_desktop_ensure_system_font_size(): system
font size is 11.00000
DBG[xfdesktop-icon-view.c:1044] xfdesktop_setup_grids(): CELL_SIZE=107,
TEXT_WIDTH=99, ICON_SIZE=32
DBG[xfdesktop-icon-view.c:1045] xfdesktop_setup_grids(): grid size is
8x11
DBG[xfdesktop-icon-view.c:1058] xfdesktop_setup_grids(): created
grid_layout with 352 positions

DBG[xfdesktop-icon-view.c:1059] xfdesktop_setup_grids
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 

DBG[xfdesktop-icon-view.c:471] xfdesktop_icon_view_focus_in(): GOT FOCUS
*** attempt to put segment in horiz list twice
*** attempt to put segment in horiz list twice
Segmentation fault (core dumped)

bt is same as the above. 

If there is anything more i can report, please let me know.

Cheers,
W.

-- 
Overdrawn?  But I still have checks left!



More information about the Xfce mailing list