--- Begin Message ---
#include <hallo.h>
* Anthony Campbell [Tue, Mar 02 2010, 09:10:32AM]:
> > cd /tmp
> > strace -o log -f -p $(pidof icewm)
> >
> > Now run gvim from one of your broken menu entries. Wait 10 seconds.
> > Press Ctrl-C in the terminal to stop strace, then:
> >
> > bzip2 -9 log
> >
> > And then send the log.bz2 file to me. Thanks.
> >
> > Regards,
> > Eduard.
> >
>
> Did you mean gvim or iceweasel? Gvim works perfectly from the menu.
Uhm, I though you were saying that gvim does not start.
However, why do you call your log file log-icewm and not log-iceweasel?
;-)
Anyhow, this is not a problem in icewm AFAICS. Just look at the exec
lines, /usr/bin/iceweasel starts just fine. What happens after that is
the big mysterium. It seems like your bash checks the directories in
your path and then something goes really wrong. See system trace log
below. First relevant shell error message is unfornatelly croped (pass
" -s 4096" to strace to see more). But it complains about iceweasel line
190, which is:
if type "${ICEWEASEL_DSP}" > /dev/null 2>&1; then
Is your dev filesystem broken? Bad permissions of /dev/null? Whatever, it
looks like that failing check confuses the script and then it tries to
run firefox-bin from the wrong directory (i.e. the first in the path).
So, please add -s 4096 (or something), find out why your bash breaks and
fix it. gvim seems to start because it does not use a startup script and
just runs the executable from its path.
Closing the report now, not a bug.
Regards,
Eduard.
2786 fcntl64(1, F_GETFD) = 0
2786 fcntl64(1, F_DUPFD, 10) = 10
2786 fcntl64(1, F_GETFD) = 0
2786 fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
2786 dup2(3, 1) = 1
2786 close(3) = 0
2786 fcntl64(2, F_GETFD) = 0
2786 fcntl64(2, F_DUPFD, 10) = 11
2786 fcntl64(2, F_GETFD) = 0
2786 fcntl64(11, F_SETFD, FD_CLOEXEC) = 0
2786 dup2(1, 2) = 2
2786 fcntl64(1, F_GETFD) = 0
2786 stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
2786 stat64("/home/ac/bin/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
2786 stat64("/bin/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
2786 stat64("/usr/bin/", {st_mode=S_IFDIR|0755, st_size=69632, ...}) = 0
2786 stat64("/sbin/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
2786 stat64("/usr/sbin/", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
2786 stat64("/usr/X11R6/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
2786 stat64("/usr/X11R6/bin/", 0xbfca2880) = -1 ENOENT (No such file or
directory)
2786 stat64("/usr/local/", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...})
= 0
2786 stat64("/usr/local/bin/", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096,
...}) = 0
2786 stat64("/home/ac/bin/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
2786 stat64("/usr/games/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
2786 stat64("/home/ac/bin/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
2786 open("/usr/share/locale/locale.alias", O_RDONLY) = 3
2786 fstat64(3, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0
2786 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0xb78c2000
2786 read(3, "# Locale name alias data base.\n#"..., 4096) = 2570
2786 brk(0x9b93000) = 0x9b93000
2786 brk(0x9b94000) = 0x9b94000
2786 brk(0x9b95000) = 0x9b95000
2786 read(3, "", 4096) = 0
2786 close(3) = 0
2786 munmap(0xb78c2000, 4096) = 0
2786 open("/usr/share/locale/en_GB.UTF-8/LC_MESSAGES/bash.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
2786 open("/usr/share/locale/en_GB.utf8/LC_MESSAGES/bash.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
2786 open("/usr/share/locale/en_GB/LC_MESSAGES/bash.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
2786 open("/usr/share/locale/en.UTF-8/LC_MESSAGES/bash.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
2786 open("/usr/share/locale/en.utf8/LC_MESSAGES/bash.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
2786 open("/usr/share/locale/en/LC_MESSAGES/bash.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
2786 write(2, "/usr/bin/iceweasel: line 190: ty"..., 48) = 48
2786 dup2(11, 2) = 2
2786 fcntl64(11, F_GETFD) = 0x1 (flags FD_CLOEXEC)
2786 close(11) = 0
2786 dup2(10, 1) = 1
2786 fcntl64(10, F_GETFD) = 0x1 (flags FD_CLOEXEC)
2786 close(10) = 0
2786 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
2786 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
2786 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
2786 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
2786 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
2786 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
2786 rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
2786 rt_sigaction(SIGQUIT, {SIG_DFL, [], 0}, {SIG_IGN, [], 0}, 8) = 0
2786 rt_sigaction(SIGCHLD, {SIG_DFL, [], 0}, {0x8088670, [], 0}, 8) = 0
2786 execve("/home/ac/firefox-bin", ["./firefox-bin"], [/* 27 vars */]) = -1
ENOENT (No such file or directory)
2786 stat64("/home/ac/firefox-bin", 0xbfca2790) = -1 ENOENT (No such file or
directory)
2786 stat64("/home/ac/firefox-bin", 0xbfca2770) = -1 ENOENT (No such file or
directory)
2786 open("/usr/share/locale/en_GB.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
2786 open("/usr/share/locale/en_GB.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
2786 open("/usr/share/locale/en_GB/LC_MESSAGES/libc.mo", O_RDONLY) = 3
2786 fstat64(3, {st_mode=S_IFREG|0644, st_size=1474, ...}) = 0
2786 mmap2(NULL, 1474, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb78c2000
2786 close(3) = 0
2786 open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
2786 open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
2786 open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
2786 write(2, "/usr/bin/iceweasel: line 117: /h"..., 78) = 78
2786 stat64("/home/ac/firefox-bin", 0xbfca2800) = -1 ENOENT (No such file or
directory)
2786 write(2, "/usr/bin/iceweasel: line 117: ex"..., 100) = 100
2786 exit_group(126) = ?
> Anyway, I've done both of them and attach them herewith.
>
> Regards,
>
> Anthony
>
> --
> Anthony Campbell - [email protected]
> Microsoft-free zone - Using Debian GNU/Linux
> http://www.acampbell.org.uk - sample my ebooks at
> http://www.smashwords.com/profile/view/acampbell
>
--
<HE> #debian.de ist zu Debian, wie Bild zu Journalismus ist. Hier geht es vor
allem um Blut, Sperma und ähnliches...
--- End Message ---