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

edscott wilson garcia edscott at imp.mx
Thu Aug 29 23:43:22 CEST 2002


On Thu, 2002-08-29 at 15:37, Michael Grubb wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Yes, it does work with the -p 1 option.
> However, now xfsamba won't compile, I get an error with the xtree_icon.c file 
> I believe I forgot to copy the output over.   Also did that fix xftrash to 
> work? I forgot to check.  I'm using gtk+ 1.2.10  on gentoo,
> What are the implications of the -p 1 option and since other applications call
> xftree is there a method in place to have those applications pass that 
> argument to xftree?

CVS is now updated and xfsamba compiles. The implications of -p 1 is
that you have a reduced set of icons. Those that require writing to
pixmaps on the server are not created (since your Xserver does not seem
to allow it). Also, the icons will not be scaled to the size of the
selected font, but remain in the same size always. 
For the panel to use -p 1, just modify the definition of the run command
to include -p 1 as arguments. I suppose with other applications would be
the same.

> 
> By the way thanks for the prompt response and quick fix.

3.8.18 is around the corner, so we really should get the fixes in
quickly today.

Edscott

> - -Michael
> 
> On Thursday 29 August 2002 02:00 pm, edscott wilson garcia wrote:
> > On Thu, 2002-08-29 at 10:59, Michael Grubb wrote:
> > > Thanks for the response,
> > > unfortunately, I have no $HOME/.xfce/xftreerc.
> > > I do however have a $HOME/.xfce/xtree.reg
> > > I moved it to a backup file, and reran xftree,
> > > this time I get lots of lines like:
> > > xftree:removing nonexitant ??? application from xtree.reg
> > > Where the ??? is replaced by specific application names,
> > > once that is done, I get the same old signal 11.
> >
> > This is a cleanup of applications not found on your box. When no .reg
> > file is found, you copy the default, which has a lot of old applications
> > which are not very current anymore.
> >
> > Please check out the latest CVS (uploaded a few minutes ago) and try to
> > run xftree with the option -p 1. It should work now.
> >
> > Edscott
> >
> > > On 28 Aug 2002 19:14:25 -0500
> > >
> > > edscott wilson garcia <edscott at imp.mx> wrote:
> > > > 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
> > > >
> > > > _______________________________________________
> > > > Xfce mailing list
> > > > Xfce at moongroup.com
> > > > http://moongroup.com/mailman/listinfo/xfce
> > >
> > > _______________________________________________
> > > Xfce mailing list
> > > Xfce at moongroup.com
> > > http://moongroup.com/mailman/listinfo/xfce
> >
> > _______________________________________________
> > Xfce mailing list
> > Xfce at moongroup.com
> > http://moongroup.com/mailman/listinfo/xfce
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQE9boYjAUDeVla85B8RAkEZAJ9mUaSgueC173i2lEtkxpm+q1kTnQCfeG1C
> bPCqHvqyeUK/0Fakd4ORSI4=
> =JHeg
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Xfce mailing list
> Xfce at moongroup.com
> http://moongroup.com/mailman/listinfo/xfce
> 





More information about the Xfce mailing list