Your message dated Tue, 2 Mar 2010 21:50:58 +0100
with message-id <[email protected]>
and subject line Re: Bug#570854: Menu entries for browsers no longer working
has caused the Debian Bug report #570854,
regarding icewm: Menu entries for browsers no longer work
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
570854: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570854
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: icewm
Version: 1.3.6-1
Severity: normal

I have entries in ~/.icewm/menu to run iceweasel and iceape. These
always used to work but now they don't. Nothing happens at all - no
error messages, nothing. I can run the browsers perfectly well from
xterm. The other menu items I have all work as normal.

I am not using Gnome.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages icewm depends on:
ii  icewm-common                  1.3.6-1    wonderful Win95-OS/2-Motif-like wi
ii  libc6                         2.10.2-5   Embedded GNU C Library: Shared lib
ii  libesd0                       0.2.41-7   Enlightened Sound Daemon - Shared 
ii  libfontconfig1                2.8.0-2    generic font configuration library
ii  libgcc1                       1:4.4.3-2  GCC support library
ii  libglib2.0-0                  2.22.4-1   The GLib library of C routines
ii  libgtk2.0-0                   2.18.7-1   The GTK+ graphical user interface 
ii  libice6                       2:1.0.6-1  X11 Inter-Client Exchange library
ii  libsm6                        2:1.1.1-1  X11 Session Management library
ii  libx11-6                      2:1.3.3-1  X11 client-side library
ii  libxext6                      2:1.1.1-2  X11 miscellaneous extension librar
ii  libxft2                       2.1.14-1   FreeType-based font drawing librar
ii  libxinerama1                  2:1.1-2    X11 Xinerama extension library
ii  libxrandr2                    2:1.3.0-3  X11 RandR extension library

icewm recommends no packages.

Versions of packages icewm suggests:
pn  icewm-gnome-support           <none>     (no description available)
pn  ttf-bitstream-vera            <none>     (no description available)

-- no debconf information



--- End Message ---
--- 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 ---

Reply via email to