pthread_rwlock_wrlock() broken on amd64, fix available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Debian) |
Fix Released
|
Unknown
|
|||
glibc (Ubuntu) |
Fix Released
|
High
|
Jeff Bailey |
Bug Description
The version of glibc shipped with Hoary Hedgehog appears to contain the bug with
pthread_
http://
This can cause MySQL to lock up. (I'm seeing it when running the 'auto_increment'
test from the MySQL test suite when compiling MySQL 4.1 from the latest BK
sources.)
http://
In Debian Bug tracker #314408, Stefan Praszalowicz (stefan-avedya) wrote : libc6: Fix pthread_rwlock_wrlock hang with nptl | #1 |
In Debian Bug tracker #314408, David N. Welton (davidnwelton) wrote : Debian NPTL seems broken | #2 |
Both of these bugs seem like reasonably serious issues. I'm not sure
exactly which one 'mine' is, but it looks a bit more like 276312:
http://
Like the bug Stefan reports, this has caused problems on machines that
were supposed to be deployed at client sites, so I will be raising the
Severity of the bug.
See also:
http://
Thankyou,
--
David N. Welton
- http://
Apache, Linux, Tcl Consulting
- http://
In Debian Bug tracker #314408, David N. Welton (davidnwelton) wrote : | #3 |
On 6/16/05, David Welton <email address hidden> wrote:
> Both of these bugs seem like reasonably serious issues. I'm not sure
> exactly which one 'mine' is, but it looks a bit more like 276312:
Ah, I see that 314408 is an amd64 thing, so mine is either 276312, or
some other NPTL. In any case, the version of NPTL in Debian is not
ready for production use and should either be updated or turned off by
default.
--
David N. Welton
- http://
Apache, Linux, Tcl Consulting
- http://
In Debian Bug tracker #314408, Stefan Praszalowicz (stefan-avedya) wrote : libc6: the patch seems to work | #4 |
Package: libc6
Version: 2.3.2.ds1-22
Followup-For: Bug #314408
Just following up ... I built glibc with the patch above, and installed it
on a production server: so far, so good.
-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.12
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=
Versions of packages libc6 depends on:
ii libdb1-compat 2.1.3-7 The Berkeley database routines [gl
-- no debconf information
Joe Kislo (joe-k12s) wrote : | #5 |
Happens on MySQL 4.0 aswell.
Just setup a dual Opteron server with a Hoary ubuntu install. Using MySQL's
64-bit gcc mysqld binary (dynamically linked) running the regression tests
supplied by MySQL for 4.0.24, they crash the server on the autoincrement test.
Joe Kislo (joe-k12s) wrote : | #6 |
applying the linked patch to glibc2.
Joe Kislo (joe-k12s) wrote : | #7 |
w/ the patched GBLIC the MySQL supplied binary passes all regression tests (FWIW
the Ubuntu mysql does not)
Ending Tests
Shutting-down MySQL daemon
Master shutdown finished
Slave shutdown finished
All 211 tests were successful.
In Debian Bug tracker #314408, Steve Langasek (vorlon) wrote : Re: libc6: Fix pthread_rwlock_wrlock hang with nptl | #8 |
severity 314408 important
thanks
Given that this bug is specific to amd64, it is not actually a
release-critical bug for Debian (yet); there's no sense in letting this bug
block glibc updates from reaching testing when amd64 isn't even in the
archive...
Does http://
that the fix is already included in glibc 2.3.5?
Thanks,
--
Steve Langasek
postmodern programmer
Matt Zimmerman (mdz) wrote : | #9 |
This patch looks like a good candidate for a Hoary backport; it affects more
than just MySQL, and the fix is simple and isolated.
Jeff, any reservations about that?
In Debian Bug tracker #314408, GOTO Masanori (gotom-debian) wrote : Re: Bug#314408: libc6: Fix pthread_rwlock_wrlock hang with nptl | #10 |
tags 314408 fixed-upstream
thanks
At Fri, 24 Jun 2005 03:58:02 -0700,
Steve Langasek wrote:
> Given that this bug is specific to amd64, it is not actually a
> release-critical bug for Debian (yet); there's no sense in letting this bug
> block glibc updates from reaching testing when amd64 isn't even in the
> archive...
>
> Does http://
> that the fix is already included in glibc 2.3.5?
Thanks for your checks - looking through the bug report, it's already
fixed in the recent glibc. I marked as fixed-upstream and I expect
it'll be fixed in the next glibc 2.3.5.
Regards,
-- gotom
In Debian Bug tracker #314408, GOTO Masanori (gotom) wrote : Bug#314408: fixed in glibc 2.3.5-3 | #11 |
Source: glibc
Source-Version: 2.3.5-3
We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive:
glibc-doc_
to pool/main/
glibc_2.
to pool/main/
glibc_2.3.5-3.dsc
to pool/main/
libc6-dbg_
to pool/main/
libc6-dbg_
to pool/main/
libc6-dbg_
to pool/main/
libc6-dbg_
to pool/main/
libc6-dbg_
to pool/main/
libc6-dbg_
to pool/main/
libc6-dbg_
to pool/main/
libc6-dbg_
to pool/main/
libc6-dev-
to pool/main/
libc6-dev-
to pool/main/
libc6-dev-
to pool/main/
libc6-dev_
to pool/main/
libc6-dev_
to pool/main/
libc6-dev_
to pool/main/
libc6-dev_
to pool/main/
libc6-dev_
to pool/main/
libc6-dev_
to pool/main/
libc6-dev_
to pool/main/
libc6-dev_
to pool/main/
libc6-i686_
to pool/main/
libc6-pic_
to pool/main/
libc6-pic_
to pool/main/
libc6-pic_
to pool/main/
libc6-pic_
to pool/main/
libc6-pic_
to pool/main/
libc6-pic_
to pool/main/
libc6-pic_
to pool/main/
libc6-pic_
to pool/main/
libc6-ppc64_
to pool/main/
libc6-prof_
to pool/main/
libc6-prof_
to pool/main/
libc6-prof_
to pool/main/
libc6-prof_
to pool/main/
libc6-prof_
to pool/main/
libc6-prof_
to pool/main/
libc6-prof_
Jeff Bailey (jbailey) wrote : | #12 |
Fixed in 2.3.2.ds1-
Debian Bug Importer (debzilla) wrote : | #13 |
Message-Id: <email address hidden>
Date: Thu, 16 Jun 2005 04:35:42 +0200
From: Stefan Praszalowicz <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: libc6: Fix pthread_
Package: libc6
Version: 2.3.2.ds1-22
Severity: critical
Tags: patch
Justification: breaks unrelated software
This bug is being reported on
- redhat: http://
- ubuntu: https:/
- mysql: http://
The bug makes MySQL hang when using NPTL - it's a very serious issue, but it
seems it's been reported a _long_ while ago.
http://
patch
I'm currently waiting to put 2 enormous 4 Xeon EM64T w/ 32G ram in production
because of this bug :| Needless to say, please patch ;p
-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.12
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=
Versions of packages libc6 depends on:
ii libdb1-compat 2.1.3-7 The Berkeley database routines [gl
-- no debconf information
Debian Bug Importer (debzilla) wrote : | #14 |
Message-ID: <email address hidden>
Date: Thu, 16 Jun 2005 09:15:12 +0200
From: David Welton <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: Debian NPTL seems broken
Both of these bugs seem like reasonably serious issues. I'm not sure
exactly which one 'mine' is, but it looks a bit more like 276312:
http://
id=3D12997&
Like the bug Stefan reports, this has caused problems on machines that
were supposed to be deployed at client sites, so I will be raising the
Severity of the bug.
See also:
http://
Thankyou,
--=20
David N. Welton
- http://
Apache, Linux, Tcl Consulting
- http://
Debian Bug Importer (debzilla) wrote : | #15 |
Message-ID: <email address hidden>
Date: Thu, 16 Jun 2005 10:52:18 +0200
From: David Welton <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: Re: Debian NPTL seems broken
On 6/16/05, David Welton <email address hidden> wrote:
> Both of these bugs seem like reasonably serious issues. I'm not sure
> exactly which one 'mine' is, but it looks a bit more like 276312:
Ah, I see that 314408 is an amd64 thing, so mine is either 276312, or
some other NPTL. In any case, the version of NPTL in Debian is not
ready for production use and should either be updated or turned off by
default.
--=20
David N. Welton
- http://
Apache, Linux, Tcl Consulting
- http://
Debian Bug Importer (debzilla) wrote : | #16 |
Message-Id: <email address hidden>
Date: Thu, 16 Jun 2005 19:13:56 +0200
From: Stefan Praszalowicz <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: libc6: the patch seems to work
Package: libc6
Version: 2.3.2.ds1-22
Followup-For: Bug #314408
Just following up ... I built glibc with the patch above, and installed it
on a production server: so far, so good.
-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.12
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=
Versions of packages libc6 depends on:
ii libdb1-compat 2.1.3-7 The Berkeley database routines [gl
-- no debconf information
Debian Bug Importer (debzilla) wrote : | #17 |
Message-ID: <email address hidden>
Date: Fri, 24 Jun 2005 03:58:02 -0700
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: Re: libc6: Fix pthread_
--Qbvjkv9qwOGw/5Fx
Content-Type: text/plain; charset=us-ascii
Content-
Content-
severity 314408 important
thanks
Given that this bug is specific to amd64, it is not actually a
release-critical bug for Debian (yet); there's no sense in letting this bug
block glibc updates from reaching testing when amd64 isn't even in the
archive...
Does http://
that the fix is already included in glibc 2.3.5?
Thanks,
--=20
Steve Langasek
postmodern programmer
--Qbvjkv9qwOGw/5Fx
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCu+
AR7xdk1Z3Kc/
=/qnY
-----END PGP SIGNATURE-----
--Qbvjkv9qwOGw/
Debian Bug Importer (debzilla) wrote : | #18 |
Message-ID: <81vf31nxl3.
Date: Sun, 24 Jul 2005 04:15:04 +0900
From: GOTO Masanori <email address hidden>
To: Steve Langasek <email address hidden>, <email address hidden>,
<email address hidden>
Subject: Re: Bug#314408: libc6: Fix pthread_
tags 314408 fixed-upstream
thanks
At Fri, 24 Jun 2005 03:58:02 -0700,
Steve Langasek wrote:
> Given that this bug is specific to amd64, it is not actually a
> release-critical bug for Debian (yet); there's no sense in letting this bug
> block glibc updates from reaching testing when amd64 isn't even in the
> archive...
>
> Does http://
> that the fix is already included in glibc 2.3.5?
Thanks for your checks - looking through the bug report, it's already
fixed in the recent glibc. I marked as fixed-upstream and I expect
it'll be fixed in the next glibc 2.3.5.
Regards,
-- gotom
Debian Bug Importer (debzilla) wrote : | #19 |
Message-Id: <email address hidden>
Date: Fri, 05 Aug 2005 03:29:25 -0700
From: GOTO Masanori <email address hidden>
To: <email address hidden>
Subject: Bug#314408: fixed in glibc 2.3.5-3
Source: glibc
Source-Version: 2.3.5-3
We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive:
glibc-doc_
to pool/main/
glibc_2.
to pool/main/
glibc_2.3.5-3.dsc
to pool/main/
libc6-dbg_
to pool/main/
libc6-dbg_
to pool/main/
libc6-dbg_
to pool/main/
libc6-dbg_
to pool/main/
libc6-dbg_
to pool/main/
libc6-dbg_
to pool/main/
libc6-dbg_
to pool/main/
libc6-dbg_
to pool/main/
libc6-dev-
to pool/main/
libc6-dev-
to pool/main/
libc6-dev-
to pool/main/
libc6-dev_
to pool/main/
libc6-dev_
to pool/main/
libc6-dev_
to pool/main/
libc6-dev_
to pool/main/
libc6-dev_
to pool/main/
libc6-dev_
to pool/main/
libc6-dev_
to pool/main/
libc6-dev_
to pool/main/
libc6-i686_
to pool/main/
libc6-pic_
to pool/main/
libc6-pic_
to pool/main/
libc6-pic_
to pool/main/
libc6-pic_
to pool/main/
libc6-pic_
to pool/main/
libc6-pic_
to pool/main/
libc6-pic_
to pool/main/
libc6-pic_
to pool/main/
libc6-ppc64_
to pool/main/
libc6-prof_
to pool/main/
libc6-prof_
to pool/main/
libc6-prof_
to pool/main/
libc6-prof_
to pool/main/
In Debian Bug tracker #314408, Martin Lucina (mato) wrote : Fix for pthread_rwlock_wrlock hang with nptl/amd64 in sarge | #20 |
Hi,
I've just spent ~4 days debugging some software we're developing only to
discover we were being hit by this bug. It seems that the fix for this
didn't make it into sarge for amd64.
Would it be possible to make sure that the fix for this is included in
the next point release of sarge?
Thank you,
-mato
Debian Bug Importer (debzilla) wrote : | #21 |
Message-ID: <email address hidden>
Date: Thu, 10 Nov 2005 16:25:35 +0100
From: Martin Lucina <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: Fix for pthread_
Hi,
I've just spent ~4 days debugging some software we're developing only to
discover we were being hit by this bug. It seems that the fix for this
didn't make it into sarge for amd64.
Would it be possible to make sure that the fix for this is included in
the next point release of sarge?
Thank you,
-mato
In Debian Bug tracker #314408, Aurelien Jarno (aurel32) wrote : Fixed in NMU of glibc 2.3.2.ds1-22sarge2 | #22 |
tag 314408 + fixed
quit
This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 23 Mar 2006 16:08:05 +0100
Source: glibc
Binary: libc6-i686 libc0.3-pic glibc-doc libc1-udeb libc0.3 libc6.1-dev libc1-pic libc6-s390x libnss-files-udeb libc1-dbg libc6-dev-sparc64 libc0.3-dev libc6-udeb libc6-dbg libc6.1-pic libc6-dev libc0.3-prof libc6-sparcv9 libc6.1-prof libc1 locales libc6-pic libc0.3-udeb libc1-prof libc0.3-dbg libc6-prof libc6 libc6-sparcv9b libc6.1-udeb libc6.1-dbg nscd libc6-sparc64 libnss-dns-udeb libc6.1 libc1-dev libc6-dev-s390x
Architecture: source i386 all
Version: 2.3.2.ds1-22sarge2
Distribution: stable
Urgency: low
Maintainer: GNU Libc Maintainers <email address hidden>
Changed-By: Aurelien Jarno <email address hidden>
Description:
glibc-doc - GNU C Library: Documentation
libc6 - GNU C Library: Shared libraries and Timezone data
libc6-dbg - GNU C Library: Libraries with debugging symbols
libc6-dev - GNU C Library: Development Libraries and Header Files
libc6-i686 - GNU C Library: Shared libraries [i686 optimized]
libc6-pic - GNU C Library: PIC archive library
libc6-prof - GNU C Library: Profiling Libraries
libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
libnss-dns-udeb - GNU C Library: NSS helper for DNS - udeb (udeb)
libnss-files-udeb - GNU C Library: NSS helper for files - udeb (udeb)
locales - GNU C Library: National Language (locale) data [support]
nscd - GNU C Library: Name Service Cache Daemon
Closes: 314408
Changes:
glibc (2.3.2.
.
* Aurelien Jarno <email address hidden>
.
- debian/
hangs with NPTL on amd64. (Closes: #314408)
Files:
89ad0032fb2a9a
32171de9dad870
bf46940cf75a58
001740c6c3a1ed
65dfdc2fcd4352
450f2c277b8140
07fedd73538866
2a3aa032f0d9d1
0c61778887cc07
25d6f81a82ee77
946c1ccb623134
d0c75230a0d4a2
d0d283992d484f
e80c800c271824
packag...
In Debian Bug tracker #314408, Aurelien Jarno (aurelien-aurel32) wrote : Re: [x86_64] pthread_rwlock_init do not reklease his lock, | #23 |
tag 307640 fixed fixed-upstream patch
close 307640 2.3.5-3
merge 314408 307640
thanks
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' <email address hidden> | <email address hidden>
`- people.
Package: libc6
Version: 2.3.2.ds1-22
Severity: critical
Tags: patch
Justification: breaks unrelated software
This bug is being reported on sources. redhat. com/ml/ libc-hacker/ 2004-02/ msg00019. html /bugzilla. ubuntu. com/show_ bug.cgi? id=11730 bugs.mysql. com/bug. php?id= 8555
- redhat: http://
- ubuntu: https:/
- mysql: http://
The bug makes MySQL hang when using NPTL - it's a very serious issue, but it
seems it's been reported a _long_ while ago.
http:// sources. redhat. com/ml/ libc-hacker/ 2004-02/ msg00019. html contains a
patch
I'm currently waiting to put 2 enormous 4 Xeon EM64T w/ 32G ram in production
because of this bug :| Needless to say, please patch ;p
-- System Information: ISO-8859- 1) (ignored: LC_ALL set to en_US)
Debian Release: 3.1
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.12
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=
Versions of packages libc6 depends on:
ii libdb1-compat 2.1.3-7 The Berkeley database routines [gl
-- no debconf information