Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.5, 10.6, 10.11, 11.1(EOL), 11.2, 11.4, 11.5(EOL), 11.6
-
None
Description
INSTALL PLUGIN Spider SONAME 'ha_spider.so'; |
SET SESSION autocommit=0, GLOBAL completion_type=2; |
CREATE USER Spider@localhost IDENTIFIED BY ''; |
CREATE SERVER srv FOREIGN DATA WRAPPER MYSQL OPTIONS (SOCKET '../socket.sock',DATABASE'',USER 'Spider',PASSWORD''); |
CREATE TABLE t (a INT KEY) ENGINE=Spider COMMENT='WRAPPER "mysql",SRV "srv",TABLE "t"'; |
INSERT INTO t VALUES (1); # Inf loop detected |
DROP PROCEDURE IF EXISTS p; |
Leads to:
11.2.5 03807c8449cdccbf5b8afc0dddabb1d8ec7ba85a (Debug) |
mariadbd: /test/11.2_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.
|
11.2.5 03807c8449cdccbf5b8afc0dddabb1d8ec7ba85a (Debug) |
Core was generated by `/test/MD200724-mariadb-11.2.5-linux-x86_64-dbg/bin/mariadbd --no-defaults --max'.
|
Program terminated with signal SIGABRT, Aborted.
|
Download failed: Invalid argument. Continuing without source file ./nptl/./nptl/pthread_kill.c.
|
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:44
|
 |
warning: 44 ./nptl/pthread_kill.c: No such file or directory
|
[Current thread is 1 (LWP 3239900)]
|
(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 0x000014c84924526e in __GI_raise (sig=sig@entry=6)at ../sysdeps/posix/raise.c:26
|
#4 0x000014c8492288ff in __GI_abort () at ./stdlib/abort.c:79
|
#5 0x000014c84922881b in __assert_fail_base (fmt=0x14c8493d01e8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x55ccf3b8d5f8 "!is_set() || (m_status == DA_OK_BULK && is_bulk_op())", file=file@entry=0x55ccf3b8d4d8 "/test/11.2_dbg/sql/sql_error.cc", line=line@entry=335, function=function@entry=0x55ccf3b8d630 "void Diagnostics_area::set_ok_status(ulonglong, ulonglong, const char*)") at ./assert/assert.c:94
|
#6 0x000014c84923b507 in __assert_fail (assertion=0x55ccf3b8d5f8 "!is_set() || (m_status == DA_OK_BULK && is_bulk_op())", file=0x55ccf3b8d4d8 "/test/11.2_dbg/sql/sql_error.cc", line=335, function=0x55ccf3b8d630 "void Diagnostics_area::set_ok_status(ulonglong, ulonglong, const char*)") at ./assert/assert.c:103
|
#7 0x000055ccf2e17091 in Diagnostics_area::set_ok_status (this=0x14c7f0006f48, affected_rows=affected_rows@entry=0, last_insert_id=last_insert_id@entry=0, message=message@entry=0x0)at /test/11.2_dbg/sql/sql_error.cc:335
|
#8 0x000055ccf2e5b73f in my_ok (message=0x0, id=0, affected_rows_arg=0, thd=0x14c7f0000d58) at /test/11.2_dbg/sql/sql_class.h:4535
|
#9 drop_routine (thd=thd@entry=0x14c7f0000d58, lex=lex@entry=0x14c7f00051c0)at /test/11.2_dbg/sql/sql_parse.cc:6544
|
#10 0x000055ccf2e6833b in mysql_execute_command (thd=thd@entry=0x14c7f0000d58, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false)at /test/11.2_dbg/sql/sql_parse.cc:5625
|
#11 0x000055ccf2e6a753 in mysql_parse (thd=thd@entry=0x14c7f0000d58, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x14c8401b3290)at /test/11.2_dbg/sql/sql_parse.cc:7920
|
#12 0x000055ccf2e6cada in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14c7f0000d58, packet=packet@entry=0x14c7f000b309 "DROP PROCEDURE IF EXISTS p", packet_length=packet_length@entry=26, blocking=blocking@entry=true)at /test/11.2_dbg/sql/sql_class.h:247
|
#13 0x000055ccf2e6edff in do_command (thd=0x14c7f0000d58, blocking=blocking@entry=true) at /test/11.2_dbg/sql/sql_parse.cc:1407
|
#14 0x000055ccf2fd5e61 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x55ccf5ff1b48, put_in_cache=put_in_cache@entry=true)at /test/11.2_dbg/sql/sql_connect.cc:1439
|
#15 0x000055ccf2fd6156 in handle_one_connection (arg=arg@entry=0x55ccf5ff1b48)at /test/11.2_dbg/sql/sql_connect.cc:1341
|
#16 0x000055ccf3427192 in pfs_spawn_thread (arg=0x55ccf5fc0c98)at /test/11.2_dbg/storage/perfschema/pfs.cc:2201
|
#17 0x000014c84929ca94 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#18 0x000014c849329c3c in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
Bug confirmed present in:
MariaDB: 10.5.26 (dbg), 10.6.19 (dbg), 10.11.9 (dbg), 11.1.6 (dbg), 11.2.5 (dbg), 11.4.3 (dbg), 11.5.2 (dbg), 11.6.0 (dbg)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.5.26 (opt), 10.6.19 (opt), 10.11.9 (opt), 11.1.6 (opt), 11.2.5 (opt), 11.4.3 (opt), 11.5.2 (opt), 11.6.0 (opt)
Attachments
Issue Links
- relates to
-
MDEV-32864 Assertion failure during server shutdown after executing SHOW TABLE STATUS on a spider table
- Confirmed