Bug #112770 | Assertion `!thd->is_error()' failed in MySQL 8.1.0 | ||
---|---|---|---|
Submitted: | 19 Oct 2023 7:41 | Modified: | 19 Oct 2023 7:59 |
Reporter: | Wang Ke | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S6 (Debug Builds) |
Version: | 8.1.0, 8.0.34 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | assertion failure |
[19 Oct 2023 7:41]
Wang Ke
[19 Oct 2023 7:42]
Wang Ke
assertion failure in DML module.
[19 Oct 2023 7:59]
MySQL Verification Team
Hello Wang Ke, Thank you for the report and test case. Observed that 8.0.34 debug build is affected with provided test case. regards, Umesh
[19 Oct 2023 8:00]
MySQL Verification Team
-- release build - not affected ./mtr --nocheck-testcases bug112770 Logging: ./mtr --nocheck-testcases bug112770 MySQL Version 8.0.34 Checking supported features Using 'all' suites Collecting tests Checking leftover processes Removing old var directory Creating var directory '/export/home/tmp/ushastry/mysql-8.0.34/mysql-test/var' Installing system database Using parallel: 1 ============================================================================== TEST NAME RESULT TIME (ms) COMMENT ------------------------------------------------------------------------------ CREATE TABLE t0(c0 TIME); INSERT IGNORE INTO t0 VALUES ( ( VALUES ROW ( 1 ) , ROW ( 1 ) ) ) ; [ 50%] main.bug112770 [ pass ] 82 [100%] shutdown_report [ pass ] ------------------------------------------------------------------------------ -- debug build affected ./mtr --nocheck-testcases bug112770 --debug-server Logging: ./mtr --nocheck-testcases bug112770 --debug-server MySQL Version 8.0.34 Checking supported features - Binaries are debug compiled Using 'all' suites Collecting tests Checking leftover processes Removing old var directory Creating var directory '/export/home/tmp/ushastry/mysql-8.0.34/mysql-test/var' Installing system database Using parallel: 1 ============================================================================== TEST NAME RESULT TIME (ms) COMMENT ------------------------------------------------------------------------------ CREATE TABLE t0(c0 TIME); INSERT IGNORE INTO t0 VALUES ( ( VALUES ROW ( 1 ) , ROW ( 1 ) ) ) ; [ 50%] main.bug112770 [ fail ] Test ended at 2023-10-19 09:59:28 CURRENT_TEST: main.bug112770 mysqltest: At line 2: Query 'INSERT IGNORE INTO t0 VALUES ( ( VALUES ROW ( 1 ) , ROW ( 1 ) ) ) ' failed. ERROR 2013 (HY000): Lost connection to MySQL server during query -bt #0 0x00007fb787252aa1 in pthread_kill () from /lib64/libpthread.so.0 #1 0x000000000402c28e in my_write_core(int) () #2 0x00000000032d235e in handle_fatal_signal () #3 <signal handler called> #4 0x00007fb78559d387 in raise () from /lib64/libc.so.6 #5 0x00007fb78559ea78 in abort () from /lib64/libc.so.6 #6 0x00007fb7855961a6 in __assert_fail_base () from /lib64/libc.so.6 #7 0x00007fb785596252 in __assert_fail () from /lib64/libc.so.6 #8 0x00000000031c06f5 in Sql_cmd_dml::prepare(THD*) () #9 0x00000000031c08ed in Sql_cmd_dml::execute(THD*) () #10 0x000000000315edb4 in mysql_execute_command(THD*, bool) () #11 0x00000000031626a2 in dispatch_sql_command(THD*, Parser_state*) () #12 0x0000000003163cd5 in dispatch_command(THD*, COM_DATA const*, enum_server_command) () #13 0x000000000316596c in do_command(THD*) () #14 0x00000000032c437c in handle_connection () #15 0x00000000047e1af5 in pfs_spawn_thread () #16 0x00007fb78724dea5 in start_thread () from /lib64/libpthread.so.0 #17 0x00007fb785665b2d in clone () from /lib64/libc.so.6