Bug #58604 | crash in cleanup code of explain partitions after killing connection | ||
---|---|---|---|
Submitted: | 30 Nov 2010 21:28 | Modified: | 2 Dec 2010 15:17 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S1 (Critical) |
Version: | 5.5.7, 5.5.9, 5.6.1 | OS: | Any |
Assigned to: | Tor Didriksen | CPU Architecture: | Any |
Tags: | KILL |
[30 Nov 2010 21:28]
Shane Bester
[1 Dec 2010 7:29]
MySQL Verification Team
caught in valgrind once. it's not repeatable when rerunning the query.
Attachment: bug58604_valgrind_output.txt (text/plain), 31.08 KiB.
[1 Dec 2010 8:22]
MySQL Verification Team
import this file. then "call killit()" in one connection and "call p()" in another connection!!!
Attachment: bug58604.sql (text/x-sql), 16.61 KiB.
[1 Dec 2010 8:25]
MySQL Verification Team
release build crashes like this. debug build crashes like in bug 58619 marking bug 58619 as a duplicate of this
[1 Dec 2010 8:29]
MySQL Verification Team
note: SP is not needed here, and only provided for convenience to repeat a problem quickly. a user can kill his own query by hitting ctrl-c in mysql client at the precise moment.
[1 Dec 2010 18:31]
Sveta Smirnova
Thank you for the report. I can not repeat described behavior. How do you start server?
[2 Dec 2010 3:51]
MySQL Verification Team
Sveta: mysqld --no-defaults --skip-gr --skip-na Run multiple threads of "call p" if you cant repeat it. both my release and debug windows and linux builds, with and without valgrind crashed fairly easy. notice the information_schema.processlist table should exist, and please dont have any more connections to the server than the testcase requires otherwise you'll be killing irrelevant threads.
[2 Dec 2010 15:17]
Sveta Smirnova
Thank you for the feedback. Verified as described using options provided.
[2 Dec 2010 21:32]
MySQL Verification Team
maybe related: bug 58676