Your message dated Tue, 14 Apr 2009 19:52:32 +0200
with message-id <20090414175232.gc4...@yellowpig>
and subject line Bug#511698: popen broken on 32bit userland with 64bit kernel
has caused the Debian Bug report #520916,
regarding hanging update-menus process
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.)
--
520916: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520916
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: menu
Version: 2.1.41
Severity: normal
Using automatic installation via FAI I see a hanging "update-menus
--trigger" call causing the build to fail:
root 22433 0.0 0.2 2696 1312 pts/0 S+ 14:57 0:00 /bin/sh
/var/lib/dpkg/info/menu.postinst triggered /usr/share/menu
root 22434 97.6 0.2 3144 1236 pts/0 R+ 14:57 2:24 update-menus
--trigger
strace-ing the PID outside the chroot gives me tons of EBADF which
might be the reason for the 100% cpu load and the hanging process:
[...]
read(4293087900, 0xf7f18000, 8192) = -1 EBADF (Bad file descriptor)
read(4293087900, 0xf7f18000, 8192) = -1 EBADF (Bad file descriptor)
read(4293087900, 0xf7f18000, 8192) = -1 EBADF (Bad file descriptor)
read(4293087900, 0xf7f18000, 8192) = -1 EBADF (Bad file descriptor)
[...]
Killing the update-menus process and manually invoking update-menus
inside the chroot displays:
# update-menus -v
update-menus[12725]: Dpkg is not locking dpkg status area, good.
update-menus[12725]: Reading installed packages list...
acpi-support
acpi-support-base
acpid
adduser
[...]
-> it displays the whole package list and then it just hangs (same
problem as running via FAI).
Funnily it works when invoked through strace:
# strace -o /tmp/log -ffff update-menus -v
update-menus[11649]: Dpkg is not locking dpkg status area, good.
update-menus[11649]: Reading installed packages list...
update-menus[11649]: Reading translation rules in
/etc/menu-methods/translate_menus.
update-menus[11649]: Reading menu-entry files in /etc/menu/.
update-menus[11649]: 0 menu entries found (0 total).
update-menus[11649]: Reading menu-entry files in /usr/lib/menu/.
update-menus[11649]: 0 menu entries found (0 total).
update-menus[11649]: Reading menu-entry files in /usr/share/menu/.
update-menus[11649]: 38 menu entries found (38 total).
update-menus[11649]: Reading menu-entry files in /usr/share/menu/default/.
update-menus[11649]: 0 menu entries found (38 total).
update-menus[11649]: Running menu-methods in /etc/menu-methods/.
update-menus[11649]: Running method: /etc/menu-methods/fluxbox
#
Do you have any idea what's going on here?
Please let me know if you need any further information, I've a
chroot available where I can easily reproduce/work on the problem.
System information: building a Debian/sid i386 system on a amd64 box.
ii libc6 2.9-6
GNU C Library: Shared libraries
ii menu 2.1.41
generates programs menu for all menu-aware applications
regards,
-mika-
--- End Message ---
--- Begin Message ---
On Mon, Mar 30, 2009 at 09:53:52PM +0200, Bill Allombert wrote:
> Below is the answer of the GLIBC maintainer.
> It appears that these bugs are instances of bug #521863
> against the Linux kernel. This bug will be fixed in
> 2.6.26-2-amd64 for lenny and 2.6.29-1-amd64 for sid.
>
> I will let the bugs open so other affected users can see.
> Please close your bug once you have updated your kernel
> and confirmed this fix the issue.
Well, Lenny 5.0.1 has been released with this fix and I tested it
fixed the issue, so I am closing these reports.
Thanks for your cooperation,
--
Bill. <[email protected]>
Imagine a large red swirl here.
--- End Message ---