Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.5
Description
Only reproduces in 10.5.
--source include/have_innodb.inc
|
CREATE TABLE t (a INT KEY,b INT) ENGINE=InnoDB; |
SET max_statement_time=0.001; |
LOCK TABLE t WRITE; |
TRUNCATE t; |
Leads to:
10.5.26 6cab2f75fe25df4673cab5ac6ff2c114fb976ed8 (Debug) |
mariadbd: /test/10.5_dbg/sql/sql_error.cc:335: void Diagnostics_area::set_ok_status(ulonglong, ulonglong, const char*): Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())' failed.
|
10.5.26 6cab2f75fe25df4673cab5ac6ff2c114fb976ed8 (Debug) |
Core was generated by `/test/MD190624-mariadb-10.5.26-linux-x86_64-dbg/bin/mariadbd --no-defaults --ma'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:44
|
Download failed: Invalid argument. Continuing without source file ./nptl/./nptl/pthread_kill.c.
|
[Current thread is 1 (LWP 959200)]
|
(gdb) bt
|
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:44
|
#1 __pthread_kill_internal (signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:78
|
#2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6)at ./nptl/pthread_kill.c:89
|
#3 0x00001547a0e42866 in __GI_raise (sig=sig@entry=6)at ../sysdeps/posix/raise.c:26
|
#4 0x00001547a0e268b7 in __GI_abort () at ./stdlib/abort.c:79
|
#5 0x00001547a0e267db in __assert_fail_base (fmt=0x1547a0fc5168 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x564a577f2350 "!is_set() || (m_status == DA_OK_BULK && is_bulk_op())", file=file@entry=0x564a577f2230 "/test/10.5_dbg/sql/sql_error.cc", line=line@entry=335, function=function@entry=0x564a577f2388 "void Diagnostics_area::set_ok_status(ulonglong, ulonglong, const char*)") at ./assert/assert.c:92
|
#6 0x00001547a0e39186 in __assert_fail (assertion=0x564a577f2350 "!is_set() || (m_status == DA_OK_BULK && is_bulk_op())", file=0x564a577f2230 "/test/10.5_dbg/sql/sql_error.cc", line=335, function=0x564a577f2388 "void Diagnostics_area::set_ok_status(ulonglong, ulonglong, const char*)") at ./assert/assert.c:101
|
#7 0x0000564a56ac980b in Diagnostics_area::set_ok_status (this=0x15471c006a90, affected_rows=affected_rows@entry=0, last_insert_id=last_insert_id@entry=0, message=message@entry=0x0)at /test/10.5_dbg/sql/sql_error.cc:335
|
#8 0x0000564a56c85e94 in my_ok (message=0x0, id=0, affected_rows_arg=0, thd=0x15471c000d58) at /test/10.5_dbg/sql/sql_class.h:4234
|
#9 Sql_cmd_truncate_table::execute (this=0x15471c013658, thd=0x15471c000d58)at /test/10.5_dbg/sql/sql_truncate.cc:541
|
#10 0x0000564a56b1a406 in mysql_execute_command (thd=thd@entry=0x15471c000d58)at /test/10.5_dbg/sql/sql_parse.cc:6167
|
#11 0x0000564a56b1c1bf in mysql_parse (thd=thd@entry=0x15471c000d58, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x1547981232f0, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false)at /test/10.5_dbg/sql/sql_parse.cc:8221
|
#12 0x0000564a56b1e73f in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x15471c000d58, packet=packet@entry=0x15471c00aaf9 "TRUNCATE t", packet_length=packet_length@entry=10, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false)at /test/10.5_dbg/sql/sql_class.h:238
|
#13 0x0000564a56b20f15 in do_command (thd=0x15471c000d58)at /test/10.5_dbg/sql/sql_parse.cc:1376
|
#14 0x0000564a56c55378 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x564a5a963698, put_in_cache=put_in_cache@entry=true)at /test/10.5_dbg/sql/sql_connect.cc:1417
|
#15 0x0000564a56c5569e in handle_one_connection (arg=arg@entry=0x564a5a963698)at /test/10.5_dbg/sql/sql_connect.cc:1319
|
#16 0x0000564a570a52e6 in pfs_spawn_thread (arg=0x564a5a9ab2f8)at /test/10.5_dbg/storage/perfschema/pfs.cc:2201
|
#17 0x00001547a0e97ada in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:444
|
#18 0x00001547a0f2847c in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
Bug confirmed present in:
MariaDB: 10.5.26 (dbg)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.5.26 (opt), 10.6.19 (dbg), 10.6.19 (opt), 10.11.9 (dbg), 10.11.9 (opt), 11.1.6 (dbg), 11.1.6 (opt), 11.2.5 (dbg), 11.2.5 (opt), 11.4.3 (dbg), 11.4.3 (opt), 11.5.2 (dbg), 11.5.2 (opt), 11.6.0 (dbg), 11.6.0 (opt)
MySQL: 5.5.62 (dbg), 5.5.62 (opt), 5.6.51 (dbg), 5.6.51 (opt), 5.7.44 (dbg), 5.7.44 (opt), 8.0.36 (dbg), 8.0.36 (opt)
Attachments
Issue Links
- relates to
-
MDEV-18496 Crashes, asserts, errors and hangs when Aria encryption is enabled/used, but plugin is not loaded
- Closed