Xffm: crash at launch

Mickaël Graf mgf at bredband.net
Sat Mar 15 09:06:37 CET 2003

Hi Edscott,

I downloaded the last cvs-snapshot, and I still have the problem while
"tree_details->theme = g_strdup("gnome");" is now in treeview.c.

So here is the gdb stuff:

(gdb) file xffm
Reading symbols from xffm...done.
(gdb) run xffm
Starting program: /usr/local/bin/xffm xffm
[New Thread 1024 (LWP 18295)]
Warning, can't open /home/mickael/.xfce4/xffm/xffm.reg
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 18295)]
0x406c5413 in _IO_vfprintf (s=0xbffff0ec,
    format=0x4008d2cc "%s/%s/pixmaps/%s/mime.xml", ap=0xbffff21c)
    at vfprintf.c:1524
1524    vfprintf.c: No such file or directory.
        in vfprintf.c
(gdb) bt
#0  0x406c5413 in _IO_vfprintf (s=0xbffff0ec,
    format=0x4008d2cc "%s/%s/pixmaps/%s/mime.xml", ap=0xbffff21c)
    at vfprintf.c:1524
#1  0x406e0f4b in _IO_vsnprintf (
    string=0xbffff25c "/usr/share/xffm/pixmaps/8I\001@\001", maxlen=256,
    format=0x4008d2cc "%s/%s/pixmaps/%s/mime.xml", args=0xbffff210)
    at vsnprintf.c:130
#2  0x406cc978 in __snprintf (
    s=0xbffff25c "/usr/share/xffm/pixmaps/8I\001@\001", maxlen=256,
    format=0x4008d2cc "%s/%s/pixmaps/%s/mime.xml") at snprintf.c:37
#3  0x40078980 in create_icons (tree_details=0x8100078) at icons.c:810
#4  0x08060330 in create_treeview (path=0x8063e79 "/") at treeview.c:408
#5  0x08060fe3 in init_xffm (argc=2, argv=0xbffff764) at treeview.c:734
#6  0x080612f4 in main (argc=2, argv=0xbffff764) at main.c:135
#7  0x4069117d in __libc_start_main (main=0x8061078 <main>, argc=2,
    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'm using dbh 1.0-11, that I downloaded 2 months.
I don't do make distclean since I erase my old xfce-devel before
uncompressing the tarbal file.


On Thu, 2003-03-13 at 23:57, edscott wilson garcia wrote:
> 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

|Mickael Graf|mgf at bredband.net|
|http://korbinus.fr.st        |

More information about the Xfce4-dev mailing list