quering global_temporary_tables causes server crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Critical
|
Alexey Kopytov | ||
5.1 |
Fix Released
|
Critical
|
Alexey Kopytov | ||
5.5 |
Fix Released
|
Critical
|
Alexey Kopytov |
Bug Description
I've been running this very intensively to monitor temporary tables:
while [ 1 ]; do mysql information_schema -e "select * from global_
However after running that for some time server crashed (and then again, and again). This is a production systems so I can't use it to work further on figuring out why this happenins, but I have a backtrace in logs which will hopefully help to diagnose it:
110329 16:14:03 - 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_
read_buffer_
max_used_
max_threads=1000
threads_
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: 0x2ab178129c00
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 = 0x528520e8 thread_stack 0x30000
/usr/sbin/
/usr/sbin/
/lib64/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/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 (0x1a5b00c0): select * from global_
Connection ID (thread ID): 26285
Status: NOT_KILLED
Version: '5.1.55-
Related branches
- Stewart Smith: Pending requested
-
Diff: 238 lines (+125/-16)1 file modifiedshow_temp_51.patch (+125/-16)
- Stewart Smith: Pending requested
-
Diff: 268 lines (+154/-16)1 file modifiedshow_temp.patch (+154/-16)
Changed in percona-server: | |
assignee: | nobody → Valentine Gostev (core-longbow) |
importance: | Undecided → High |
Changed in percona-server: | |
assignee: | Valentine Gostev (longbow) → nobody |
status: | Confirmed → Triaged |
Just to explain how severe it is, when I was running this, server crashed 3 times within half an hour. After I stopped the loop server never crashed ever since so this is definitely related.