Bug #48725 | Assert !thd->is_error() in delayed_get_table() | ||
---|---|---|---|
Submitted: | 12 Nov 2009 12:38 | Modified: | 7 Mar 2010 1:34 |
Reporter: | Jon Olav Hauglid | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 6.0.14-bzr, 6.0-codebase-bugfixing | OS: | Any |
Assigned to: | Jon Olav Hauglid | CPU Architecture: | Any |
Tags: | regression |
[12 Nov 2009 12:38]
Jon Olav Hauglid
[12 Nov 2009 13:41]
Valeriy Kravchuk
Assertion happens with debug binaries: Version: '6.0.14-alpha-debug-log' socket: '/Users/openxs/dbs/6.0-codebase/mysql-test/var/tmp/master.sock' port: 9306 Source distribution Assertion failed: (! thd->is_error()), function delayed_get_table, file sql_insert.cc, line 2047. Does not happen with 5.1.42.
[16 Nov 2009 14:46]
Jon Olav Hauglid
Should have been "See bug#48724 for test case."
[17 Nov 2009 13:53]
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/90668 3712 Jon Olav Hauglid 2009-11-17 Bug #48725 Assert !thd->is_error() in delayed_get_table() This bug is a regression introduced by the patch for Bug #45949. If the handler thread for INSERT DELAYED was killed by e.g. FLUSH TABLES, the error message is copied from the handler thread to the connection thread. But the error was not reacted on, so the connection thread continued as normal, leading to an eventual assert. No test case added as it would have required sync points to work for handler threads. The plan is to add this in the scope of Bug #48725 / Bug #48541. The patch has been tested with the non-deterministic test case given in the bug description.
[20 Nov 2009 9:38]
Jon Olav Hauglid
Pushed to mysql-6.0-codebase-bugfixing (6.0.14-alpha).
[9 Dec 2009 11:59]
Jon Olav Hauglid
Pushed to mysql-next-4284 (5.6.0-beta).
[16 Feb 2010 16:46]
Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20100216101445-2ofzkh48aq2e0e8o) (version source revid:kostja@sun.com-20091211154405-c9yhiewr9o5d20rq) (merge vers: 6.0.14-alpha) (pib:16)
[16 Feb 2010 16:55]
Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100216101208-33qkfwdr0tep3pf2) (version source revid:kostja@sun.com-20091210084103-l4f8u62u4evoy3dc) (pib:16)
[25 Feb 2010 21:09]
Paul DuBois
Noted in 6.0.14 changelog. If an INSERT DELAYED handler thread was killed by a connection, the error message was copied from the handler thread to the connection thread but not acted on, leading to an assert. Setting report to Need Merge pending push of Celosia to release tree.
[6 Mar 2010 11:08]
Bugs System
Pushed into 5.5.3-m3 (revid:alik@sun.com-20100306103849-hha31z2enhh7jwt3) (version source revid:vvaintroub@mysql.com-20100216221947-luyhph0txl2c5tc8) (merge vers: 5.5.99-m3) (pib:16)
[7 Mar 2010 1:34]
Paul DuBois
Noted in 5.5.3 changelog.
[12 Apr 2010 16:30]
Paul DuBois
Correction: Not in any released version. No changelog entry needed.