Hi everyone. I'm hoping someone can help me. I created a "vanilla" CentOS distro, and did an "/etc/init.d/mysqld start". Everything works fine. Then, I did a "yum update", updated all the packages (137 of them) that it recommended, rebooted, and now MySQLd is broken. It won't start; I immediately get an error, and the mysqld process hangs and eats 100% of available CPU.
Do you think that updating libraries caused the breakage? How do I get security updates without breaking MySQLd? This is very frustrating to me, because I would expect MySQLd to be backtested against the new updates when they're released.
The following message is in the error log file:
Code:
040908 21:15:57 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=12288
record_buffer=131072
sort_buffer=65528
max_used_connections=0
max_connections=100
threads_connected=0
It is possible that mysqld could use up to
key_buffer_size + (record_buffer + sort_buffer)*max_connections = 19211 K
bytes of memory
Hope that's ok, if not, decrease some variables in the equation
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=0x402ab794, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x80e43dc
0x4007ad38
(nil)
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://www.mysql.com/doc/U/s/Using_stack_trace.html and follow instr
uctions 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/C/r/Crashing.html contains
information that should help you find out what is causing the crash
I did a stack trace on it and this is what it told me:
Code:
[root@pennytracker work]# resolve_stack_dump -s /tmp/mysqld.sym -n mysqld.stack
0x80e43dc _Z18flush_thread_cachev + 876
0x4007ad38 _end + 936751312
Thanks in advance for your help.
Edit: MySQL version is actually 3.23.58-1, not 3.23.53-1