[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#218546: libc6: Version 2.3.2.ds1-8 makes all programs segfault



On Fri, Oct 31, 2003 at 08:48:49PM -0500, Alexander Earl Winston wrote:
> Package: libc6
> Version: 2.3.2.ds1-8
> Severity: critical
> Tags: sid
> Justification: breaks the whole system
> 
> I was running an unmodified 2.4.22 Linux kernel from the
> kernel-source-2.4.22 package. I ran both apt-get update and apt-get
> dist-upgrade. I verified that I wanted the programs upgraded and
> installed. When it came time for libc6 to be configured, everything
> went okay. The locales package came next, but somehow configuration was
> frozen. I waited ten minutes, then pressed Ctrl+C. I tried running
> apt-get again, but I received this message:
> 
> -bash: ../nptl/sysdeps/unix/sysv/linux/fork.c:132: __libc_fork: Assertion `({ __typeof (self->tid) __value; if (sizeof (__value) == 1) asm volatile ("movb %%gs:%P2,%b0" : "=q" (__value) : "0" (0), "i" (((size_t) &((struct pthread *)0)->tid))); else if (sizeof (__value) == 4) asm volatile ("movl %%gs:%P11,%0" : "=r" (__value) : "i" (((size_t) &((struct pthread *)0)->tid))); else { if (sizeof (__value) != 8) abort (); asm volatile ("movl %%gs:%P1,%%eax\n\t" "movl %%gs:%P2,%%edx" : "=A" (__value) : "i" (((size_t) &((struct pthread *)0)->tid)), "i" (((size_t) &((struct pthread *)0)->tid) +  4)); } __value; }) != ppid' failed.
> Segmentation fault

Are you _sure_ you were running 2.4.22?  The code in ld.so is supposed
to choose the copy of libc in /lib for any kernel version less than
2.6.0, and the string "nptl/sysdeps" doesn't occur for any such
libraries - only those under /lib/tls.

I can't reproduce this.  We're going to need more information somehow.

> All the other applications I tried to run gave me the same error, so I
> cut off power to my system and rebooted into a burned copy of
> bootbf2.4.iso, which is where I am now.

If you can reproduce this again the output of
"LD_DEBUG=all /lib/ld-linux.so.2 --list /bin/bash" would be very
useful.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: