Bug#521863: popen broken on some systems
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).
Cheers,
--
Bill. <ballombe@debian.org>
Imagine a large red swirl here.
Reply to: