XFtree CVS problems for me (still..)

Olivier Fourdan fourdan at xfce.org
Mon Mar 11 10:43:00 CET 2002


Hi all,

xftree crashes when opening preference dialog too.

Cheers,
Olivier.

On Mon, 2002-03-11 at 10:30, H.R. ter Veer wrote:
> On 09 Mar 2002 09:45:47 -0500
> Ben Hall <bhall at chat.carleton.ca> wrote:
> 
> 
> Same problem on my machine:
> 
> ~/src/xfce-stable$ xftree
> 
> Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
> 
> Gtk-CRITICAL **: file gtkobject.c: line 1144 (gtk_object_get_user_data): assertion `object != NULL' failed.
> xftree: signal 11 received. Cleaning up before exiting
> 
> running slackware 8.0.
> 
> > Hi guys,
> > 
> > I'm still having problems with the xftree in CVS.  According to gdb:
> > 
> > 
> > Gtk-WARNING **: invalid unclassed pointer in cast to `GtkObject'
> > 
> > Gtk-CRITICAL **: file gtkobject.c: line 1145 (gtk_object_get_user_data):
> > assertion `GTK_IS_OBJECT (object)' failed.
> > 
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x0805a39e in set_title_ctree (ctree=0x402e3784, path=0xbfffd33c
> > "lÓÿ¿äQ8@") at xtree_functions.c:834
> > 834	  if (win->iconname) g_free(win->iconname);
> > 
> > 
> > 
> > Looking at xtree_functions.c in around line 830 I see:
> > 
> > set_title_ctree (GtkWidget * ctree, const char *path)
> > {
> >   char *title,*hostname;
> >   cfg *win;
> >   GdkAtom atomo;
> >   entry *en;
> >   GtkCTreeNode *root;
> > 
> >   hostname=our_host_name();
> >   win = gtk_object_get_user_data (GTK_OBJECT (ctree));
> >   title = (char *)malloc((strlen("XFTree:
> > ")+strlen(hostname)+strlen(path)+1)*sizeof(char));
> >   if (win->iconname) g_free(win->iconname);
> >   win->iconname = (char *)malloc((strlen("XFTree:
> > ")+strlen(hostname)+strlen(path)+1)*sizeof(char));
> >   if (!title || !win->iconname) return;
> > ....
> > 
> > 
> > This is the same problem I had a few days ago.  Is it just me that is
> > having these issues?  Any ideas?
> > 
> > Sorry to bug,
> > 
> > Ben
> > 
> > 
> > _______________________________________________
> > Xfce mailing list
> > Xfce at moongroup.com
> > http://moongroup.com/mailman/listinfo/xfce
> 
> 
> -- 
> 
> 
> ------------------------------------------------
>   You don't need eyes to see, you need vision
> ------------------------------------------------
> 
> 
> _______________________________________________
> Xfce mailing list
> Xfce at moongroup.com
> http://moongroup.com/mailman/listinfo/xfce
> 
-- 
Olivier               <fourdan at xfce.org>            http://www.xfce.org
-----------------------------------------------------------------------
XFce is a lightweight  desktop  environment  for  various *NIX systems.
Designed for productivity,  it loads  and  executes  applications fast,
while conserving  system resources. XFce is all free software, released
under GNU General Public License.    Available from http://www.xfce.org




More information about the Xfce mailing list