Bernhard R. Link, le Wed 27 Sep 2006 12:40:45 +0200, a écrit : > What window manager are you using? (Perhaps it resizes the window > on startup in a way triggering a bug).
fvwm > Do you have any Xresources set that could make a difference? > (take a look at the output of "xrdb -query") Same result with empty Xresources. > What version is your app-defaults file? > (output of grep DefsVersion /etc/X11/app-defaults/Xfm) Xfm.appDefsVersion: 1.5 > Any changes to the config files? > (output of debsums -e) No change. I've just installed the package this morning, actually. > > I'll compile a gdb-able version and produce a backtrace. > > That could help, too. #0 0xb7fff410 in __kernel_vsyscall () #1 0x4294e9d1 in raise () from /lib/tls/i686/cmov/libc.so.6 #2 0x42950209 in abort () from /lib/tls/i686/cmov/libc.so.6 #3 0x4298481a in __libc_message () from /lib/tls/i686/cmov/libc.so.6 #4 0x4298e07e in _int_realloc () from /lib/tls/i686/cmov/libc.so.6 #5 0x4298e998 in realloc () from /lib/tls/i686/cmov/libc.so.6 #6 0x0806af3c in mime_parse_line (filename=0x80f7c40 "/etc/mailcap", linenr=0xbfbb2908, f=0x80f8c48) at mime.c:425 #7 0x0806b318 in mailcap_parse (filename=0x80f7c40 "/etc/mailcap") at mime.c:718 #8 0x0806a4ea in mime_parse_line ( filename=0x808ffc0 "/etc/X11/xfm/xfm_mailcap", linenr=0xbfbb2a98, f=0x80e6b38) at mime.c:575 #9 0x0806b318 in mailcap_parse (filename=0x808ffc0 "/etc/X11/xfm/xfm_mailcap") at mime.c:718 #10 0x0804ef1d in initFileWindows () at FmFw.c:1006 #11 0x0806264a in main (argc=Cannot access memory at address 0x0 > frame 6 #6 0x0806af3c in mime_parse_line (filename=0x80f7c40 "/etc/mailcap", linenr=0xbfbb2908, f=0x80f8c48) at mime.c:425 425 h = realloc(buffer,i); > p *linenr $5 = 202 That's image/gif; /usr/bin/zgv '%s'; test=expr "`/usr/bin/tty`" : '/dev/\(tty\|vc/\)[0-9][0-9]*' >/dev/null 2>&1 || expr "$STY" : '[0-9][0-9]*\.tty[0-9][0-9]*\.'`hostname`'$' >/dev/null 2>&1; description=GIF Image; nametemplate=%s.gif; needsterminal in my /etc/mailcap. There's something odd in that function: size_t buflen = 1000; char *buffer = malloc(128); shouldn't that be size_t buflen = 1000; char *buffer = malloc(buflen); ? Making the change makes xfm now run on my box. Regards, Samuel