Bug #27977 mysqld won't stop with a non-NPTL-glibc
Submitted: 20 Apr 2007 11:41 Modified: 20 Apr 2007 12:24
Reporter: Wolfram Schlich Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version:5.0.38 OS:Linux (Gentoo/x86)
Assigned to: CPU Architecture:Any

[20 Apr 2007 11:41] Wolfram Schlich
Description:
After having upgraded from 5.0.26 to 5.0.38, mysqld didn't stop cleanly
anymore (only by SIGKILL, not by SIGTERM).

It turned out glibc was compiled without NPTL support.
I recompiled glibc with NPTL support and now everything is fine -- mysqld
does use threads now and shuts down cleanly.

Please see our bug #174790 at https://bugs.gentoo.org/show_bug.cgi?id=174790

Thanks!

How to repeat:
Setup:
- Profile: hardened/x86/2.6
- Kernel: 2.6.20-hardened-r2
- glibc: sys-libs/glibc-2.3.6-r5
- gcc: sys-devel/gcc-3.4.6-r2

Steps to reproduce on Gentoo:
- Compile glibc without NPTL support (USE="-nptl")
- (Re)compile mysql-5.0.38
- Start mysqld
- Try to stop mysqld
[20 Apr 2007 12:24] Sergei Golubchik
a duplicate of bug#27310