Bug #22910 Crash after kernel upgrade from 2.4.21-47 to 2.4.33.3
Submitted: 2 Oct 2006 22:13 Modified: 5 Nov 2006 8:46
Reporter: Derek Kaser Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version:4.1.21-standard OS:Linux (RHEL3)
Assigned to: CPU Architecture:Any

[2 Oct 2006 22:13] Derek Kaser
Description:
We upgraded our server from Kernel 2.1.21-47 to 2.4.33.3. After the new kernel loaded, MySQL became unresponsive. The mysqld process used 100% CPU, but no PID file was created and MySQL was unresponsive.

Here are a few of the crash reports from the log file:

061002 14:04:07  mysqld started
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=16777216
read_buffer_size=2093056
max_used_connections=0
max_connections=500
threads_connected=0
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 2062380 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd=(nil)
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Cannot determine thread, fp=0x4322278c, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x812b99a
0x40041f88
(nil)
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://dev.mysql.com/doc/mysql/en/Using_stack_trace.html and follow instructions on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please do 
resolve it
The manual page at http://www.mysql.com/doc/en/Crashing.html contains
information that should help you find out what is causing the crash.
061002 14:10:40  mysqld ended
061002 14:10:41  mysqld started
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=16777216
read_buffer_size=2093056
max_used_connections=0
max_connections=500
threads_connected=0
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 2062380 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd=(nil)
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Cannot determine thread, fp=0x4322278c, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x812b99a
0x40041f88
(nil)
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://dev.mysql.com/doc/mysql/en/Using_stack_trace.html and follow instructions on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please do 
resolve it
The manual page at http://www.mysql.com/doc/en/Crashing.html contains
information that should help you find out what is causing the crash.
061002 14:10:42  mysqld ended

061002 14:10:42  mysqld started
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=16777216
read_buffer_size=2093056
max_used_connections=0
max_connections=500
threads_connected=0
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 2062380 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd=(nil)
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Cannot determine thread, fp=0x4322278c, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x812b99a
0x40041f88
(nil)
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://dev.mysql.com/doc/mysql/en/Using_stack_trace.html and follow instructions on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please do 
resolve it
The manual page at http://www.mysql.com/doc/en/Crashing.html contains
information that should help you find out what is causing the crash.

How to repeat:
Kernel compile/upgrade from 2.4.21-47 to 2.4.33.3. Crash occurs upon process start.
[3 Oct 2006 11:10] Valeriy Kravchuk
Thank you for a problem report. Please, send your my.cnf content. How much RAM do you have? Send also

ulimit -a
dmesg
free

commands results.
[10 Oct 2006 12:51] Mike .
I had the same problem with RH9 upgrade to latest 2.4.33.3 vanilla kernel using
the same .config as the original 2.4.20-30.9 RH kernel. But also RPM and X had
problems loading. I have discovered that everything works fine with 2.4.32, so
something is likely borked with the 33.3 kernel.
[16 Oct 2006 9:31] Mike .
Update: 2.4.33 works but 2.4.33.1 doesn't (gets signal 11 when attempting to start and doesn't properly exit). Not sure about 2.4.33.2. This bug sounds the same as #22806, I posted there too.
[4 Nov 2006 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[5 Nov 2006 8:46] Valeriy Kravchuk
Let's cosider this report as a duplicate of bug #22806, already being analyzed.