CVS xftree crashing...

edscott wilson garcia edscott at imp.mx
Tue Jun 18 20:03:41 CEST 2002


On Tue, 2002-06-18 at 11:45, Stephane Paltani wrote:
> Hi there,
> 
> Am I the only one unable to run the current CVS
> (downloaded yesterday) xftree?
> It creates the window and sigsev immediately after.
> 
> In xtree_gui.c, I find:
> 
>  newtop(
>  ...
>   win->iconname = NULL;
>   set_icon (win->top,win->iconname, xftree_icon_xpm);
> 
> in libs/xfce-commonc.c :
> 
>  set_icon (
>  ...
>   gdk_window_set_icon_name (toplevel->window, name);
> 
> This gdk function does not really like having its name parameter
> being NULL (it comes from "win->iconname = NULL;"). It ends up
> with a segmentation violation.
> 
> There is a bunch of commented lines before "win->iconname = NULL;".
> Putting them back and commenting out "win->iconname = NULL;" does
> produce a much better result, even if it not the intended one.
> 
> I guess xftree should fail for everybody, so why am I the only one
> to complain ? ;-)

It seems that neither xftree_gui.c nor libs/xfce-commonc.c have changed
at the CVS since 3.8.16. Do you have the same trouble with 3.8.16?

Edscott






More information about the Xfce-dev mailing list