| Bug #46811 | Crash - Assertion failed: (table->key_read == 0), function close_thread_table | ||
|---|---|---|---|
| Submitted: | 19 Aug 2009 14:49 | Modified: | 30 Sep 2009 12:58 |
| Reporter: | Patrick Crews | Email Updates: | |
| Status: | Duplicate | Impact on me: | |
| Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
| Version: | 5.4/6.0 | OS: | Any |
| Assigned to: | Assigned Account | CPU Architecture: | Any |
| Tags: | crashing bug, regression, subquery | ||
[19 Aug 2009 14:49]
Patrick Crews
[19 Aug 2009 14:51]
Patrick Crews
MTR test case to repeat the bug
Attachment: bug46811_test.txt (text/plain), 17.56 KiB.
[23 Sep 2009 11:00]
Olav Sandstå
Unable to reproduce the crash on both Solaris and Linux using the attached test case with the latest source code from mysql-6.0-codebase-bugfixing. Plan to add the test case to one of the existing tests.
[28 Sep 2009 12:08]
Olav Sandstå
Simplified version of the original MTR test case
Attachment: bug46811.test.txt (text/plain), 1.07 KiB.
[29 Sep 2009 8:23]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/84956 3627 Olav Sandstaa 2009-09-29 Bug #46811 - Crash - Assertion failed: (table->key_read == 0), function close_thread_table Crash was no longer reproducable. This patch adds a regression test for the query that caused the server to crash. @ mysql-test/r/subselect.result Add regression test for Bug#46811. @ mysql-test/r/subselect_no_mat.result Add regression test for Bug#46811. @ mysql-test/r/subselect_no_opts.result Add regression test for Bug#46811. @ mysql-test/r/subselect_no_semijoin.result Add regression test for Bug#46811. @ mysql-test/t/subselect.test Add regression test for Bug#46811.
[29 Sep 2009 14:44]
Guilhem Bichot
this bug was indeed fixed by joro@sun.com-20090903150346-hhpg12ayy8vogmzl , the comment of this revision is: Bug #46791: Assertion failed:(table->key_read==0),function unknown function,file sql_base.cc etc.
[30 Sep 2009 12:58]
Olav Sandstå
Closing this as a duplicate of Bug#46791 which contains both a fix and a test case for this crash.
