Bug #74026 | Assertion `! is_set() || m_can_overwrite_status' failed. | ||
---|---|---|---|
Submitted: | 22 Sep 2014 23:52 | Modified: | 15 Nov 2016 7:27 |
Reporter: | Roel Van de Paar | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: DDL | Severity: | S1 (Critical) |
Version: | 5.6.20, 5.6.34, 5.7.16 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[22 Sep 2014 23:52]
Roel Van de Paar
[22 Sep 2014 23:53]
Roel Van de Paar
Will also try to upload a hacked reducer testcase
[23 Sep 2014 0:00]
Roel Van de Paar
reducer10.sh
Attachment: reducer10.sh (application/octet-stream, text), 142.03 KiB.
[23 Sep 2014 0:01]
Roel Van de Paar
1.sql
Attachment: 1.sql (application/octet-stream, text), 2 bytes.
[23 Sep 2014 0:04]
Roel Van de Paar
[roel@localhost 598892]$ ./reducer10.sh sql.sql 2014-09-03 23:42:40 [Init] Workdir: /dev/shm/1411466021 <--- note workdir (!) [...] 2014-09-03 23:42:56 [Init] Looking for this string: 'm_can_overwrite_status' in mysqld error log output [...wait for issue to reproduce... if it fails, restart reducer after rm -Rf /dev/shm/* ...] <------ (!) 2014-09-03 23:45:23 [] [Stage V] [MULTI] All verification subreducer threads have finished/terminated 2014-09-03 23:45:23 [*] [Stage V] [MULTI] Threads which reproduced the issue: #16 2014-09-03 23:45:23 [*] [Stage V] [MULTI] Only 1 out of 30 threads reproduced the issue: this issue is sporadic Got it! As soon as you see this "Got it!" you can see the occurence: [roel@localhost 202440]$ cd /dev/shm/1411466021 [roel@localhost 1411466021]$ grep 'm_can_overwrite_status' */*/error.log.out mysqld: /bzr/mysql-5.6/sql/sql_error.cc:521: void Diagnostics_area::set_error_status(uint, const char*, const char*, const Sql_condition*): Assertion `! is_set() || m_can_overwrite_status' failed.
[23 Sep 2014 0:05]
Roel Van de Paar
(sql.sql in that last comment should have read 1.sql)
[23 Sep 2014 0:06]
Roel Van de Paar
Btw, if you use grep -l 'm_can_overwrite_status' */*/error.log.out you can see which subreducer failed with the issue; [roel@localhost 1411466021]$ grep -l 'm_can_overwrite_status' */*/error.log.out subreducer/2/error.log.out [roel@localhost 1411466021]$ ls subreducer/2/data/core.* subreducer/2/data/core.26101.1000.1000.6.1411466084.mysqld
[23 Sep 2014 0:09]
Roel Van de Paar
The testcase shows that other statements can trigger the same assert.
[15 Nov 2016 7:27]
MySQL Verification Team
Hello Roel, Thank you for the report. Marking as duplicate of Bug #83797. Thanks, Umesh