5.1.60-13.1 - /usr/sbin/mysqld: malloc(): memory corruption
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.1 |
Triaged
|
High
|
Unassigned | |||
5.5 |
Triaged
|
High
|
Unassigned | |||
5.6 |
New
|
Undecided
|
Unassigned | |||
5.7 |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
Since I've upgraded from 5.1.60-13.1 - on two servers - had the following crashes reoccurring on both servers.
-------
111221 3:38:33 - mysqld got signal 6 ;
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_
read_buffer_
max_used_
max_threads=1400
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x1364a2f0
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...
stack_bottom = 0x4a0d20f8 thread_stack 0x40000
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
/lib64/
/lib64/
/lib64/
/lib64/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x2aadd84d6c05): is an invalid pointer
Connection ID (thread ID): 2
Status: NOT_KILLED
The manual page at http://
information that should help you find out what is causing the crash.
-------
Another one
-------
111221 3:44:42 - mysqld got signal 6 ;
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_
read_buffer_
max_used_
max_threads=1400
threads_connected=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0xe6df70
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...
stack_bottom = 0x4aad30f8 thread_stack 0x40000
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
/lib64/
/lib64/
/lib64/
/lib64/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x1352e405): /*
processPosCoe
is used in prediction accumulation, and into a log table for analysis purposes
*/
DELETE FROM opt111221 3:44:42 [Note] Slave I/O thread: connected to master '<email address hidden>
imization.
Connection ID (thread ID): 2
Status: NOT_KILLED
The manual page at http://
information that should help you find out what is causing the crash.
-------
This is what can I see in terminal when mysql crashes
-------
*** glibc detected *** /usr/sbin/mysqld: malloc(): memory corruption: 0x000000001352e570 ***
======= Backtrace: =========
/lib64/
/lib64/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
======= Memory map: ========
-------
*** glibc detected *** /usr/sbin/mysqld: malloc(): memory corruption: 0x00002aac145222c0 ***
======= Backtrace: =========
/lib64/
/lib64/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
======= Memory map: ========
-------
After I've downgraded to 5.1.59-13.0 - the problem is gone.
tags: |
added: 5.1.60-13.1 removed: 5.1.59-13.0 |
Changed in percona-server: | |
status: | New → Incomplete |
assignee: | nobody → Patrick Crews (patrick-crews) |
Changed in percona-server: | |
status: | Incomplete → New |
Do you need more info in order to look into this?