Xffm: crash at launch

edscott wilson garcia edscott at imp.mx
Thu Mar 13 23:57:16 CET 2003


Mickaël:

The problem is caused because of an uninitialized variable for icon
theme. I will upload a fix to the CVS later tonight. All that is needed
is the line:
 
    tree_details->theme = g_strdup("gnome");

around line #337 of src/treeview.c (where the tree_details structure
gets created). You can also avoid the bug (like it avoided me) by
running the xfce-mcs-manager and selecting a theme for xffm before
running xffm.

Thanks for backtrace and feedback.

Edscott


El jue, 13-03-2003 a las 16:28, Mickaël Graf escribió:
> On Thu, 2003-03-13 at 22:23, edscott wilson garcia wrote:
> > 
> > That should not cause the crash. It must be something else. Please try
> > to run xffm with gdb, and when you get the crash, type "bt" at the gdb>
> > prompt. This will pinpoint the problem.
> > 
> > Edscott
> > 
> 
> Okay, here it is:
> 
> #0  0x406c4413 in _IO_vfprintf (s=0xbffff0ec,
>     format=0x4008ce95 "%s/%s/pixmaps/%s/mime.xml", ap=0xbffff21c)
>     at vfprintf.c:1524
> #1  0x406dff4b in _IO_vsnprintf (
>     string=0xbffff25c "/usr/share/xffm/pixmaps/8I\001@\001", maxlen=256,
>     format=0x4008ce95 "%s/%s/pixmaps/%s/mime.xml", args=0xbffff210)
>     at vsnprintf.c:130
> #2  0x406cb978 in __snprintf (
>     s=0xbffff25c "/usr/share/xffm/pixmaps/8I\001@\001", maxlen=256,
>     format=0x4008ce95 "%s/%s/pixmaps/%s/mime.xml") at snprintf.c:37
> #3  0x400786f0 in create_icons (tree_details=0x8100070) at icons.c:803
> #4  0x08060330 in create_treeview (path=0x80769d8 "/home/mickael")
>     at treeview.c:408
> #5  0x08060fe3 in init_xffm (argc=1, argv=0xbffff764) at treeview.c:734
> #6  0x080612f4 in main (argc=1, argv=0xbffff764) at main.c:135
> #7  0x4069017d in __libc_start_main (main=0x8061078 <main>, argc=1,
>     ubp_av=0xbffff764, init=0x804dd7c <_init>, fini=0x8061e40 <_fini>,
>     rtld_fini=0x4000a534 <_dl_fini>, stack_end=0xbffff75c)
>     at ../sysdeps/generic/libc-start.c:129
> 
> I must mention that I build it from the snapshot, it's nowadays
> impossible to run CVS for me.
> 
> Cheers
> Mickael
> 
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://moongroup.com/mailman/listinfo/xfce4-dev
> 





More information about the Xfce4-dev mailing list