XFtree CVS problems in freeBSD

Edscott Wilson García edscott at imp.mx
Thu Mar 14 14:44:55 CET 2002


I just found that the same error occuring in slackware8 appears in FreeBSD, so 
I should have it fixed shortly. Unfortunately I've got to go to work now.

Edscott

On Jue 14 Mar 2002 00:40, H.R. ter Veer wrote:
> On Wed, 13 Mar 2002 17:25:38 -0600
> Edscott Wilson Garcia <edscott at imp.mx> wrote:
>
> What GTK / GLIB version are you using?
>
> > Sorry for no answer from me since I was uncommunicated since saturday.
> > I did several changes to xftree since then, but don't think any are
> > related to the problem. I'll check on it as soon as I get home in about
> > an hour or so. Funny part is that it doesn't not happen to me. I guess
> > it's because my options are set different.
> >
> > Edscott
> >
> > On Monday 11 March 2002 05:01, H.R. ter Veer wrote:
> > > On 11 Mar 2002 05:16:07 -0500
> > > Ben Hall <bhall at chat.carleton.ca> wrote:
> > >
> > > I get the following:
> > >
> > > gdb `which xftree`
> > > GNU gdb 5.0
> > > Copyright 2000 Free Software Foundation, Inc.
> > > GDB is free software, covered by the GNU General Public License, and
> > > you are welcome to change it and/or distribute copies of it under
> > > certain conditions. Type "show copying" to see the conditions.
> > > There is absolutely no warranty for GDB.  Type "show warranty" for
> > > details. This GDB was configured as "i386-slackware-linux"...
> > > (gdb) run
> > > Starting program: /usr/local/bin/xftree
> > >
> > > 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.
> > > set_title_ctree (ctree=0x15,
> > >     path=0x4000b903
> > > "\211Â\213Eü\205Àt\005\003P\004ë\a1Òë\003\003Q\004\213\203Ì") at
> > > xtree_functions.c:834 834       if (win->iconname)
> > > g_free(win->iconname); (gdb)
> > >
> > > > Hmm.. this is exactly the same error I get..  At Edscott's suggestion
> > > > I did the following:
> > > >
> > > > gdb /path/to/xftree
> > > >
> > > > (gdb) run
> > > > Starting program:  /path/to/xftree
> > > >
> > > > 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.
> > > > 0x0805a3fe in set_title_ctree (ctree=0x402d0954, path=0xbfffd33c
> > > > "lÓÿ¿ä!7@")
> > > >     at xtree_functions.c:834
> > > > 834	  if (win->iconname) g_free(win->iconname);
> > > >
> > > >
> > > > What do you get when you run this?  Any chance you get this same
> > > > error?
> > > >
> > > > Thanks,
> > > >
> > > > Ben
> > > >
> > > > On Mon, 2002-03-11 at 04: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
> > > >
> > > > _______________________________________________
> > > > Xfce mailing list
> > > > Xfce at moongroup.com
> > > > http://moongroup.com/mailman/listinfo/xfce
> >
> > --
> > saludos,
> >
> > Edscott
> > _______________________________________________
> > Xfce mailing list
> > Xfce at moongroup.com
> > http://moongroup.com/mailman/listinfo/xfce




More information about the Xfce mailing list