xftree crashes (But it's different this time =] )

edscott wilson garcia edscott at imp.mx
Thu Aug 29 02:14:25 CEST 2002


On Wed, 2002-08-28 at 18:46, Michael Grubb wrote:
> Ok, I've been through the archives and I've found the references to the NULL pointer problem in
> xtree_gui.c, noted that it is indeed fixed in CVS.

It seems the problem you describe is not related to that fix. Rather it
seems like trouble with the gdk pixmaps. Specifically it is where the
icons with letters are created (hence the gdk_draw_text). Since xftree
tries to use the same font to do the draw_text, maybe there's a font
trouble. Do a "mv $HOME/.xfce/xftreerc $HOME/.xfce/xftreerc.bak" and
restart xftree. If it's a font trouble, this will make it go away.

Edscott

> 
> However it is still segfaulting on me.
> Here is the output of the gdb backtrace.
> 
> This GDB was configured as "i686-pc-linux-gnu"...
> (gdb) run
> Starting program: /home/mgrubb/xfce-stable/xftree/xftree 
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x4013fc62 in gdk_draw_text () from /usr/lib/libgdk-1.2.so.0
> (gdb) bt
> #0  0x4013fc62 in gdk_draw_text () from /usr/lib/libgdk-1.2.so.0
> #1  0x08073051 in create_pixmaps (h=-1, ctree=0x80c4bf0) at xtree_icons.c:650
> #2  0x0805f1eb in new_top (path=0x808b800 "/home/mgrubb", 
>     xap=0x808da00 "/home/mgrubb/.xfce", 
>     trash=0x808ea20 "/home/mgrubb/.xfce/trash", reg=0x809dd6c, width=380, 
>     height=480, flags=1) at xtree_gui.c:1256
> #3  0x08060974 in gui_main (path=0x808b800 "/home/mgrubb", 
>     xap_path=0x808da00 "/home/mgrubb/.xfce", 
>     trash=0x808ea20 "/home/mgrubb/.xfce/trash", 
>     reg_file=0x808fa40 "/home/mgrubb/.xfce/xtree.reg", geo=0xbfffe958, flags=1)
>     at xtree_gui.c:1620
> #4  0x08058f8c in main (argc=1, argv=0xbffffa34) at xtree.c:297
> #5  0x402c73c1 in __libc_start_main () from /lib/libc.so.6
> _______________________________________________
> Xfce mailing list
> Xfce at moongroup.com
> http://moongroup.com/mailman/listinfo/xfce
> 





More information about the Xfce mailing list