|
New stack observed on 10.8.
SET max_statement_time=0.001;
|
HELP 'a%'; # Repeat till crash is observed
|
Leads to:
|
10.8.1 0c5d1342ae6b5ab3256848be7a83e5c3b1f21566 (Debug)
|
mysqld: /test/10.8_dbg/sql/sql_error.cc:375: void Diagnostics_area::set_eof_status(THD*): Assertion `!is_set() || (m_status == DA_EOF_BULK && is_bulk_op())' failed.
|
|
10.8.1 0c5d1342ae6b5ab3256848be7a83e5c3b1f21566 (Debug)
|
Core was generated by `/test/MD290122-mariadb-10.8.1-linux-x86_64-dbg/bin/mysqld --no-defaults --core-'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
[Current thread is 1 (Thread 0x14c1b0093700 (LWP 859984))]
|
(gdb) bt
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#1 0x000014c1ba4f7859 in __GI_abort () at abort.c:79
|
#2 0x000014c1ba4f7729 in __assert_fail_base (fmt=0x14c1ba68d588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x560e24f8bd38 "!is_set() || (m_status == DA_EOF_BULK && is_bulk_op())", file=0x560e24f8bb98 "/test/10.8_dbg/sql/sql_error.cc", line=375, function=<optimized out>) at assert.c:92
|
#3 0x000014c1ba508f36 in __GI___assert_fail (assertion=assertion@entry=0x560e24f8bd38 "!is_set() || (m_status == DA_EOF_BULK && is_bulk_op())", file=file@entry=0x560e24f8bb98 "/test/10.8_dbg/sql/sql_error.cc", line=line@entry=375, function=function@entry=0x560e24f8bd70 "void Diagnostics_area::set_eof_status(THD*)") at assert.c:101
|
#4 0x0000560e242688da in Diagnostics_area::set_eof_status (this=0x14c12c006d20, thd=thd@entry=0x14c12c000db8) at /test/10.8_dbg/sql/sql_error.h:1031
|
#5 0x0000560e247a3f96 in my_eof (thd=0x14c12c000db8) at /test/10.8_dbg/sql/sql_class.h:5541
|
#6 mysqld_help_internal (thd=thd@entry=0x14c12c000db8, mask=<optimized out>) at /test/10.8_dbg/sql/sql_help.cc:1068
|
#7 0x0000560e247a531e in mysqld_help (thd=thd@entry=0x14c12c000db8, mask=<optimized out>) at /test/10.8_dbg/sql/sql_help.cc:1086
|
#8 0x0000560e242c2c69 in mysql_execute_command (thd=thd@entry=0x14c12c000db8, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /test/10.8_dbg/sql/sql_parse.cc:3980
|
#9 0x0000560e242aedb7 in mysql_parse (thd=thd@entry=0x14c12c000db8, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x14c1b0092400) at /test/10.8_dbg/sql/sql_parse.cc:8027
|
#10 0x0000560e242bda53 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14c12c000db8, packet=packet@entry=0x14c12c00b889 "", packet_length=packet_length@entry=9, blocking=blocking@entry=true) at /test/10.8_dbg/sql/sql_class.h:1362
|
#11 0x0000560e242c0e9a in do_command (thd=0x14c12c000db8, blocking=blocking@entry=true) at /test/10.8_dbg/sql/sql_parse.cc:1402
|
#12 0x0000560e2443c110 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x560e27a62d58, put_in_cache=put_in_cache@entry=true) at /test/10.8_dbg/sql/sql_connect.cc:1418
|
#13 0x0000560e2443c715 in handle_one_connection (arg=arg@entry=0x560e27a62d58) at /test/10.8_dbg/sql/sql_connect.cc:1312
|
#14 0x0000560e248c5c8e in pfs_spawn_thread (arg=0x560e27975fb8) at /test/10.8_dbg/storage/perfschema/pfs.cc:2201
|
#15 0x000014c1baa06609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#16 0x000014c1ba5f4293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 10.2.42 (dbg), 10.3.33 (dbg), 10.4.23 (dbg), 10.5.14 (dbg), 10.6.6 (dbg), 10.7.2 (dbg), 10.8.1 (dbg)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.2.42 (opt), 10.3.33 (opt), 10.4.23 (opt), 10.5.14 (opt), 10.6.6 (opt), 10.7.2 (opt), 10.8.1 (opt)
MySQL: 5.5.62 (dbg), 5.5.62 (opt), 5.6.51 (dbg), 5.6.51 (opt), 5.7.36 (dbg), 5.7.36 (opt), 8.0.27 (dbg), 8.0.27 (opt)
|