Debian Bug report logs - #265486
Triggers glibc NPTL assertion

version graph

Package: user-mode-linux; Maintainer for user-mode-linux is User Mode Linux Maintainers <pkg-uml-pkgs@lists.alioth.debian.org>; Source for user-mode-linux is src:user-mode-linux.

Reported by: "Simon Rumble" <h91vlsn02@sneakemail.com>

Date: Fri, 13 Aug 2004 11:18:07 UTC

Severity: normal

Tags: moreinfo

Fixed in version user-mode-linux/2.6.17-1um-1

Done: Mattia Dongili <malattia@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#265486; Package libc6. Full text and rfc822 format available.

Acknowledgement sent to "Simon Rumble" <h91vlsn02@sneakemail.com>:
New Bug report received and forwarded. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Simon Rumble" <h91vlsn02@sneakemail.com>
To: submit@bugs.debian.org
Subject: Upgrade breaks system
Date: 13 Aug 2004 11:10:45 -0000
Package: libc6
Version: 2.3.2.ds1-16
Severity: Grave

I'm no C guru but the upgrade to libc6 has SERIOUSLY broken things on my
system, including dpkg itself.  Ack!

Recovery suggestions would be appreciated.

Preparing to replace libc6 2.3.2.ds1-13 (using
.../libc6_2.3.2.ds1-16_i386.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.3.2.ds1-16) ...
Current default timezone: 'Europe/London'.
Local time is now:      Fri Aug 13 12:03:23 BST 2004.
Universal Time is now:  Fri Aug 13 11:03:23 UTC 2004.
Run 'tzconfig' if you wish to change it.

dpkg: ../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



Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#265486; Package libc6. Full text and rfc822 format available.

Acknowledgement sent to GOTO Masanori <gotom@debian.or.jp>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. Full text and rfc822 format available.

Message #10 received at 265486@bugs.debian.org (full text, mbox, reply):

From: GOTO Masanori <gotom@debian.or.jp>
To: "Simon Rumble" <h91vlsn02@sneakemail.com>, 265486@bugs.debian.org
Subject: Re: Bug#265486: Upgrade breaks system
Date: Fri, 13 Aug 2004 21:30:30 +0900
At 13 Aug 2004 11:10:45 -0000,
Simon Rumble wrote:
> I'm no C guru but the upgrade to libc6 has SERIOUSLY broken things on my
> system, including dpkg itself.  Ack!
> 
> Recovery suggestions would be appreciated.
> 
> Preparing to replace libc6 2.3.2.ds1-13 (using
> .../libc6_2.3.2.ds1-16_i386.deb) ...
> Unpacking replacement libc6 ...
> Setting up libc6 (2.3.2.ds1-16) ...
> Current default timezone: 'Europe/London'.
> Local time is now:      Fri Aug 13 12:03:23 BST 2004.
> Universal Time is now:  Fri Aug 13 11:03:23 UTC 2004.
> Run 'tzconfig' if you wish to change it.
> 
> dpkg: ../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

Calm down, please.  What architecture?  What kernel version?  What
glibc packages did you install?  Your information is too limited.

Regards,
-- gotom




Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#265486; Package libc6. Full text and rfc822 format available.

Acknowledgement sent to Bruce Stephens <bruce.stephens@isode.com>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. Full text and rfc822 format available.

Message #15 received at 265486@bugs.debian.org (full text, mbox, reply):

From: Bruce Stephens <bruce.stephens@isode.com>
To: 265486@bugs.debian.org
Subject: Something's broken
Date: Fri, 13 Aug 2004 13:41:00 +0100
I find that dpkg seems to work OK (fortunately).  But something's
definitely wrong, and I'm guessing it's due to the libc6 upgrade.

For example, oggenc (from vorbis-tools, last changed months ago)
doesn't work---it always produces a file with an average bit rate of
0.7 bits per second.  The file seems OK---ogginfo reports sensible
looking data from it---but the bitrate is entirely wrong.



Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#265486; Package libc6. Full text and rfc822 format available.

Acknowledgement sent to "Simon Rumble" <h91vlsn02@sneakemail.com>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. Full text and rfc822 format available.

Message #20 received at 265486@bugs.debian.org (full text, mbox, reply):

From: "Simon Rumble" <h91vlsn02@sneakemail.com>
To: 265486@bugs.debian.org
Subject: More details
Date: 13 Aug 2004 13:13:01 -0000
> Calm down, please.What architecture?

i386

> What kernel version?

2.6.5-linode2-1um
(that is, 2.6.5 with some patches to work in User Mode Linux)

> What glibc packages did you install? 

libc6_2.3.2.ds1-16_i386.deb



Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#265486; Package libc6. Full text and rfc822 format available.

Acknowledgement sent to "Simon Rumble" <h91vlsn02@sneakemail.com>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. Full text and rfc822 format available.

Message #25 received at 265486@bugs.debian.org (full text, mbox, reply):

From: "Simon Rumble" <h91vlsn02@sneakemail.com>
To: 265486@bugs.debian.org
Subject: NPTL-related
Date: 13 Aug 2004 13:25:17 -0000
Ack!  Turns out it's a UML thing to do with NPTL.  I apologise for the hysteria, but it kinda seemed rather broken 8)

Perhaps we could implement some kind of check for a UML kernel, at least while they don't support NPTL/TLS?



Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#265486; Package libc6. Full text and rfc822 format available.

Acknowledgement sent to Bruce Stephens <Bruce.Stephens@isode.com>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. Full text and rfc822 format available.

Message #30 received at 265486@bugs.debian.org (full text, mbox, reply):

From: Bruce Stephens <Bruce.Stephens@isode.com>
To: 265486@bugs.debian.org
Subject: Please ignore my note on this bug
Date: Sat, 14 Aug 2004 00:33:05 +0100
There's clearly something wrong with my system, but it doesn't seem
all that likely to be libc related.  In any case, I've no reason to
believe it to be related to this bug.



Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#265486; Package libc6. Full text and rfc822 format available.

Acknowledgement sent to GOTO Masanori <gotom@debian.or.jp>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. Full text and rfc822 format available.

Message #35 received at 265486@bugs.debian.org (full text, mbox, reply):

From: GOTO Masanori <gotom@debian.or.jp>
To: "Simon Rumble" <h91vlsn02@sneakemail.com>, 265486@bugs.debian.org, control@bugs.debian.org
Subject: Re: Bug#265486: NPTL-related
Date: Sun, 15 Aug 2004 11:40:51 +0900
severity 265486 normal
tags 265486 moreinfo
thanks

At 13 Aug 2004 13:25:17 -0000,
Simon Rumble wrote:
> Ack!  Turns out it's a UML thing to do with NPTL.  I apologise for
> the hysteria, but it kinda seemed rather broken 8)
> 
> Perhaps we could implement some kind of check for a UML kernel, at
> least while they don't support NPTL/TLS?

At least we have not heard about UML problem with the 2.6 kernel.  The
current user-mode-linux 2.4 kernel and uml\* packages in debian works
well.  The recent modification for glibc from -13 to -16 is not so
large.  

Please investigate more and report us the detailed information.  If
you don't have spare time to check it, and you have no objection,
we'll close it.

Regards,
-- gotom



Severity set to `normal'. Request was from GOTO Masanori <gotom@debian.or.jp> to control@bugs.debian.org. Full text and rfc822 format available.

Tags added: moreinfo Request was from GOTO Masanori <gotom@debian.or.jp> to control@bugs.debian.org. Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#265486; Package libc6. Full text and rfc822 format available.

Acknowledgement sent to Rev Simon Rumble <simon@rumble.net>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. Full text and rfc822 format available.

Message #44 received at 265486@bugs.debian.org (full text, mbox, reply):

From: Rev Simon Rumble <simon@rumble.net>
To: "GOTO Masanori gotom-at-debian.or.jp |Debian bugs|" <aawhi2dxf20t@sneakemail.com>
Cc: Simon Rumble <h91vlsn02@sneakemail.com>, 265486@bugs.debian.org
Subject: Re: Bug#265486: NPTL-related
Date: Mon, 16 Aug 2004 17:04:26 +0100
This one time, at band camp, GOTO Masanori gotom-at-debian.or.jp |Debian bugs| wrote:

> At least we have not heard about UML problem with the 2.6 kernel.  The
> current user-mode-linux 2.4 kernel and uml\* packages in debian works
> well.  The recent modification for glibc from -13 to -16 is not so
> large.  
>
> Please investigate more and report us the detailed information.  If
> you don't have spare time to check it, and you have no objection,
> we'll close it.

This is beyond me, but I'm quoting from the forum for linode.com:

UML does not (yet) support Thread Local Storage (TLS) in either 2.4 or 
2.6. TLS is required by the Native POSIX Thread Library (NPTL) so NPTL 
is also not supported by UML.

The difference in the way the problem manifests itself (or not) between 
2.4 and 2.6 is because NPTL enabled /lib/ld.so checks 'uname' in 2.4 
kernels. If extraversion begins with "-ntpl" then this 2.4 kernel has 
NPTL (and TLS) support. If extraversion doesn't have that string, ld.so 
assumes that the kernel doesn't have NPTL (or TLS) support. If the 
kernel is >=2.6, then ld.so assumes that NPTL (and TLS) support is 
present, so things start to go haywire under UML, where this assumption 
is invalid.

-- 
Rev Simon Rumble <simon@rumble.net>
www.rumble.net

 "Call me a cynic, but for me "much more stable than the last
  version of Windows" is not exactly a ringing endorsement."
- James Riden



Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#265486; Package libc6. Full text and rfc822 format available.

Acknowledgement sent to GOTO Masanori <gotom@debian.or.jp>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. Full text and rfc822 format available.

Message #49 received at 265486@bugs.debian.org (full text, mbox, reply):

From: GOTO Masanori <gotom@debian.or.jp>
To: Rev Simon Rumble <simon@rumble.net>, 265486@bugs.debian.org
Cc: "GOTO Masanori gotom-at-debian.or.jp |Debian bugs|" <aawhi2dxf20t@sneakemail.com>, Simon Rumble <h91vlsn02@sneakemail.com>
Subject: Re: Bug#265486: NPTL-related
Date: Wed, 18 Aug 2004 09:18:39 +0900
At Mon, 16 Aug 2004 17:04:26 +0100,
Rev Simon Rumble wrote:
> This one time, at band camp, GOTO Masanori gotom-at-debian.or.jp |Debian bugs| wrote:
> 
> > At least we have not heard about UML problem with the 2.6 kernel.  The
> > current user-mode-linux 2.4 kernel and uml\* packages in debian works
> > well.  The recent modification for glibc from -13 to -16 is not so
> > large.  
> >
> > Please investigate more and report us the detailed information.  If
> > you don't have spare time to check it, and you have no objection,
> > we'll close it.
> 
> This is beyond me, but I'm quoting from the forum for linode.com:

Thanks for your point.

> UML does not (yet) support Thread Local Storage (TLS) in either 2.4 or 
> 2.6. TLS is required by the Native POSIX Thread Library (NPTL) so NPTL 
> is also not supported by UML.

OK, that makes sense.

> The difference in the way the problem manifests itself (or not)
> between 2.4 and 2.6 is because NPTL enabled /lib/ld.so checks
> 'uname' in 2.4 kernels. If extraversion begins with "-ntpl" then
> this 2.4 kernel has NPTL (and TLS) support.  If extraversion doesn't
> have that string, ld.so assumes that the kernel doesn't have NPTL
> (or TLS) support.

This is RedHat/SuSE related issue.  We debian does not support nptl
2.4 kernel.

> If the kernel is >=2.6, then ld.so assumes that NPTL (and TLS)
> support is present, so things start to go haywire under UML, where
> this assumption is invalid.

NPTL/TLS is enabled when:

    (1) libc6-i686 is installed.
    (2) LD_ASSUME_KERNEL environment variable is not used or is set >2.6.

So you can disable TLS/NPTL using LD_ASSUME_KERNEL=2.4.1 or removing
libc6-i686.  If UML can provide information about TLS support for
ld.so, we can implement to disable NPTL/TLS under UML.  If not - you
need to disable NPTL/TLS by your hand.

It's UML issue, not glibc.  Should this report be opened for a while?
If you have no objection, we'll close this bug.

Regards,
-- gotom



Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#265486; Package libc6. Full text and rfc822 format available.

Acknowledgement sent to Daniel Jacobowitz <dan@debian.org>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. Full text and rfc822 format available.

Message #54 received at 265486@bugs.debian.org (full text, mbox, reply):

From: Daniel Jacobowitz <dan@debian.org>
To: GOTO Masanori <gotom@debian.or.jp>, 265486@bugs.debian.org
Cc: Rev Simon Rumble <simon@rumble.net>, "GOTO Masanori gotom-at-debian.or.jp |Debian bugs|" <aawhi2dxf20t@sneakemail.com>, Simon Rumble <h91vlsn02@sneakemail.com>
Subject: Re: Bug#265486: NPTL-related
Date: Sat, 21 Aug 2004 10:41:25 -0400
On Wed, Aug 18, 2004 at 09:18:39AM +0900, GOTO Masanori wrote:
> NPTL/TLS is enabled when:
> 
>     (1) libc6-i686 is installed.
>     (2) LD_ASSUME_KERNEL environment variable is not used or is set >2.6.
> 
> So you can disable TLS/NPTL using LD_ASSUME_KERNEL=2.4.1 or removing
> libc6-i686.  If UML can provide information about TLS support for

No, you have to use LD_ASSUME_KERNEL; there's an NPTL package in libc6
also.

> It's UML issue, not glibc.  Should this report be opened for a while?
> If you have no objection, we'll close this bug.

Or reassign it to user-mode-linux?

-- 
Daniel Jacobowitz



Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#265486; Package libc6. Full text and rfc822 format available.

Acknowledgement sent to GOTO Masanori <gotom@debian.or.jp>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. Full text and rfc822 format available.

Message #59 received at 265486@bugs.debian.org (full text, mbox, reply):

From: GOTO Masanori <gotom@debian.or.jp>
To: Daniel Jacobowitz <dan@debian.org>
Cc: GOTO Masanori <gotom@debian.or.jp>, 265486@bugs.debian.org, control@bugs.debian.org, Rev Simon Rumble <simon@rumble.net>, Simon Rumble <h91vlsn02@sneakemail.com>
Subject: Re: Bug#265486: NPTL-related
Date: Mon, 23 Aug 2004 13:08:57 +0900
reassign 265486 user-mode-linux
thanks

At Sat, 21 Aug 2004 10:41:25 -0400,
Daniel Jacobowitz wrote:
> On Wed, Aug 18, 2004 at 09:18:39AM +0900, GOTO Masanori wrote:
> > NPTL/TLS is enabled when:
> > 
> >     (1) libc6-i686 is installed.
> >     (2) LD_ASSUME_KERNEL environment variable is not used or is set >2.6.
> > 
> > So you can disable TLS/NPTL using LD_ASSUME_KERNEL=2.4.1 or removing
> > libc6-i686.  If UML can provide information about TLS support for
> 
> No, you have to use LD_ASSUME_KERNEL; there's an NPTL package in libc6
> also.

Ah, correct...

> > It's UML issue, not glibc.  Should this report be opened for a while?
> > If you have no objection, we'll close this bug.
> 
> Or reassign it to user-mode-linux?

Agreed, it's good idea to reassign.  It seems there's no objection, I
reassign it to uml.

Regards,
-- gotom



Bug reassigned from package `libc6' to `user-mode-linux'. Request was from GOTO Masanori <gotom@debian.or.jp> to control@bugs.debian.org. Full text and rfc822 format available.

Changed Bug title. Request was from Matt Zimmerman <mdz@debian.org> to control@bugs.debian.org. Full text and rfc822 format available.

Reply sent to Mattia Dongili <malattia@debian.org>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to "Simon Rumble" <h91vlsn02@sneakemail.com>:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #68 received at 265486-close@bugs.debian.org (full text, mbox, reply):

From: Mattia Dongili <malattia@debian.org>
To: 265486-close@bugs.debian.org
Subject: Bug#265486: fixed in user-mode-linux 2.6.17-1um-1
Date: Tue, 27 Jun 2006 14:06:04 -0700
Source: user-mode-linux
Source-Version: 2.6.17-1um-1

We believe that the bug you reported is fixed in the latest version of
user-mode-linux, which is due to be installed in the Debian FTP archive:

user-mode-linux_2.6.17-1um-1.diff.gz
  to pool/main/u/user-mode-linux/user-mode-linux_2.6.17-1um-1.diff.gz
user-mode-linux_2.6.17-1um-1.dsc
  to pool/main/u/user-mode-linux/user-mode-linux_2.6.17-1um-1.dsc
user-mode-linux_2.6.17-1um-1_i386.deb
  to pool/main/u/user-mode-linux/user-mode-linux_2.6.17-1um-1_i386.deb
user-mode-linux_2.6.17-1um.orig.tar.gz
  to pool/main/u/user-mode-linux/user-mode-linux_2.6.17-1um.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 265486@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mattia Dongili <malattia@debian.org> (supplier of updated user-mode-linux package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 24 Jun 2006 11:57:45 +0200
Source: user-mode-linux
Binary: user-mode-linux
Architecture: source i386
Version: 2.6.17-1um-1
Distribution: unstable
Urgency: low
Maintainer: User Mode Linux Maintainers <pkg-uml-pkgs@lists.alioth.debian.org>
Changed-By: Mattia Dongili <malattia@debian.org>
Description: 
 user-mode-linux - User-mode Linux (kernel)
Closes: 265486 312562 366915
Changes: 
 user-mode-linux (2.6.17-1um-1) unstable; urgency=low
 .
   * New upstream release:
     - includes TLS support (Closes: #312562) (Closes: #265486)
     - merged 01_uml_net patch (hence dropped from the package)
   * Build with HOST_2G_2G as the kernel team doesn't seem to care about setting
     a decent PAGE_OFFSET (hopefully closes: #366915).
Files: 
 24a151f02afccd359253cb82c48fd40e 855 misc extra user-mode-linux_2.6.17-1um-1.dsc
 0c3cfa760eef9096317a79088080c62c 13461 misc extra user-mode-linux_2.6.17-1um.orig.tar.gz
 b0e96c8635729ede2dfd3794e4d29d74 15567 misc extra user-mode-linux_2.6.17-1um-1.diff.gz
 5f6e992953d4ed0f9fa028f0a8fde964 23996536 misc extra user-mode-linux_2.6.17-1um-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEoXEcgpRPaOotLEERAhHxAKCEDTjZo3YUtLFpdn+1szviTgcU3QCgtAzj
BtaVWkL10L5PwMyiQbj2c2I=
=RSv5
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 26 Jun 2007 22:19:13 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 6 03:54:05 2016; Machine Name: beach

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.