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. Thanks for your cooperation with handling this problem! Cheers, -- Bill. <ballo...@debian.org> Imagine a large red swirl here. ----- Forwarded message from Aurelien Jarno <aurel...@aurel32.net> ----- From: Aurelien Jarno <aurel...@aurel32.net> To: Bill Allombert <bill.allomb...@math.u-bordeaux1.fr>, 521...@bugs.debian.org Cc: Bill Allombert <ballo...@debian.org> Subject: Re: Bug#521863: popen broken on some systems reassign 521863 linux-image-2.6.26-1-amd64 forcemerge 518921 521863 thanks On Mon, Mar 30, 2009 at 06:50:38PM +0200, Bill Allombert wrote: > On Mon, Mar 30, 2009 at 06:41:26PM +0200, Bill Allombert wrote: > > On Mon, Mar 30, 2009 at 05:36:36PM +0200, Bill Allombert wrote: > > > Package: libc6 > > > Version: 2.9-6 > > > Severity: important > > > > > > Hello Debian GLIBC maintainers, > > > > > > popen is broken on some systems, though details are scare, > > > it seems it affect some amd64 with libc6 version 2.9-6 and > > > kernel 2.6.26-1-amd64. > > > > I can now reproduce this problem in a i386 sid chroot on a > > lenny-amd64 system running 2.6.26-1-amd64. > > test case: > # chroot /home/ia32 > # cat bug.c > #include <stdio.h> > > int main(void) > { > FILE *foo = popen("ls","r"); > pclose(foo); > return 0; > } > # gcc bug.c -o bug > # ./bug > # bin bug debootstrap etc lib mnt proc sbin srv test usr > boot bug.c dev home media opt root selinux sys tmp var > # exit > # /home/ia32/bug > # > > The same 32-bit binary work correctly outside the chroot (in the > amd64-lenny system, with libc6-i386 installed). > It's a know kernel problem for i386 installations with an amd64 kernel. Possible solutions: - install kernel linux-image-2.6.29-1-amd64 - install linux-image-2.6.26-1-amd64 from stable-proposed-updates Possible workarounds - install an i386 kernel - install libc6-i386 Reassigning an merging the bug. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net ----- End forwarded message ----- -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org