Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.5, 10.6, 10.4(EOL), 10.7(EOL), 10.8(EOL)
Description
INSTALL PLUGIN spider SONAME 'ha_spider.so'; |
CREATE TABLE t (s INT) ENGINE=SPIDER PARTITION BY HASH (s); |
LOAD INDEX INTO CACHE t PARTITION (p,p1); |
Leads to:
10.6.6 e0e24b180d090d7ee378c097ab02df891b61a965 (Debug) |
mysqld: /test/10.6_dbg/sql/sql_error.cc:374: void Diagnostics_area::set_eof_status(THD*): Assertion `!is_set() || (m_status == DA_EOF_BULK && is_bulk_op())' failed.
|
10.6.6 e0e24b180d090d7ee378c097ab02df891b61a965 (Debug) |
Core was generated by `/test/MD031221-mariadb-10.6.6-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 0x14831c0e5700 (LWP 3443807))]
|
(gdb) bt
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#1 0x000014832654a859 in __GI_abort () at abort.c:79
|
#2 0x000014832654a729 in __assert_fail_base (fmt=0x1483266e0588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x55be29c96fc0 "!is_set() || (m_status == DA_EOF_BULK && is_bulk_op())", file=0x55be29c96e20 "/test/10.6_dbg/sql/sql_error.cc", line=374, function=<optimized out>) at assert.c:92
|
#3 0x000014832655bf36 in __GI___assert_fail (assertion=assertion@entry=0x55be29c96fc0 "!is_set() || (m_status == DA_EOF_BULK && is_bulk_op())", file=file@entry=0x55be29c96e20 "/test/10.6_dbg/sql/sql_error.cc", line=line@entry=374, function=function@entry=0x55be29c96ff8 "void Diagnostics_area::set_eof_status(THD*)") at assert.c:101
|
#4 0x000055be28f7d970 in Diagnostics_area::set_eof_status (this=0x1482bc006c30, thd=thd@entry=0x1482bc000db8) at /test/10.6_dbg/sql/sql_error.h:1029
|
#5 0x000055be2914d28e in my_eof (thd=0x1482bc000db8) at /test/10.6_dbg/sql/sql_class.h:5561
|
#6 mysql_admin_table (thd=thd@entry=0x1482bc000db8, tables=tables@entry=0x1482bc0140f0, check_opt=check_opt@entry=0x0, operator_name=operator_name@entry=0x55be2a3e84d0 <msg_preload_keys>, lock_type=lock_type@entry=TL_READ_NO_INSERT, org_open_for_modify=org_open_for_modify@entry=false, repair_table_use_frm=false, extra_open_options=0, prepare_func=0x0, operator_func=&virtual table offset 760, view_operator_func=0x0, is_cmd_replicated=false) at /test/10.6_dbg/sql/sql_admin.cc:721
|
#7 0x000055be291506ba in mysql_preload_keys (thd=thd@entry=0x1482bc000db8, tables=tables@entry=0x1482bc0140f0) at /test/10.6_dbg/sql/sql_admin.cc:1494
|
#8 0x000055be28fd8142 in mysql_execute_command (thd=thd@entry=0x1482bc000db8, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /test/10.6_dbg/sql/sql_parse.cc:4088
|
#9 0x000055be28fc3dec in mysql_parse (thd=thd@entry=0x1482bc000db8, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x14831c0e4400) at /test/10.6_dbg/sql/sql_parse.cc:8030
|
#10 0x000055be28fd2ab1 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x1482bc000db8, packet=packet@entry=0x1482bc00b769 "", packet_length=packet_length@entry=40, blocking=blocking@entry=true) at /test/10.6_dbg/sql/sql_class.h:1358
|
#11 0x000055be28fd5eeb in do_command (thd=0x1482bc000db8, blocking=blocking@entry=true) at /test/10.6_dbg/sql/sql_parse.cc:1404
|
#12 0x000055be2913b018 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x55be2c9a64a8, put_in_cache=put_in_cache@entry=true) at /test/10.6_dbg/sql/sql_connect.cc:1418
|
#13 0x000055be2913b61d in handle_one_connection (arg=arg@entry=0x55be2c9a64a8) at /test/10.6_dbg/sql/sql_connect.cc:1312
|
#14 0x000055be295ece4e in pfs_spawn_thread (arg=0x55be2c8b3258) at /test/10.6_dbg/storage/perfschema/pfs.cc:2201
|
#15 0x0000148326a59609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#16 0x0000148326647293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
10.4.23 94ef277b5b98afb25400fdb1b3b4917ef16172da (Debug) |
mysqld: /test/10.4_dbg/sql/sql_error.cc:375: void Diagnostics_area::set_eof_status(THD*): Assertion `! is_set()' failed.
|
10.4.23 94ef277b5b98afb25400fdb1b3b4917ef16172da (Debug) |
Core was generated by `/test/MD121121-mariadb-10.4.23-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 0x14a0559e8700 (LWP 3601252))]
|
(gdb) bt
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#1 0x000014a07bcca859 in __GI_abort () at abort.c:79
|
#2 0x000014a07bcca729 in __assert_fail_base (fmt=0x14a07be60588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x55fea58d7133 "! is_set()", file=0x55fea58d6c28 "/test/10.4_dbg/sql/sql_error.cc", line=375, function=<optimized out>) at assert.c:92
|
#3 0x000014a07bcdbf36 in __GI___assert_fail (assertion=assertion@entry=0x55fea58d7133 "! is_set()", file=file@entry=0x55fea58d6c28 "/test/10.4_dbg/sql/sql_error.cc", line=line@entry=375, function=function@entry=0x55fea58d6dc8 "void Diagnostics_area::set_eof_status(THD*)") at assert.c:101
|
#4 0x000055fea4bc000d in Diagnostics_area::set_eof_status (this=0x14a0140067b0, thd=thd@entry=0x14a014000d90) at /test/10.4_dbg/sql/sql_error.h:1005
|
#5 0x000055fea4d6d659 in my_eof (thd=0x14a014000d90) at /test/10.4_dbg/sql/sql_class.h:5071
|
#6 mysql_admin_table (thd=thd@entry=0x14a014000d90, tables=tables@entry=0x14a014013378, check_opt=check_opt@entry=0x0, operator_name=operator_name@entry=0x55fea5aa19f0 "preload_keys", lock_type=lock_type@entry=TL_READ_NO_INSERT, org_open_for_modify=org_open_for_modify@entry=false, repair_table_use_frm=false, extra_open_options=0, prepare_func=0x0, operator_func=&virtual table offset 728, view_operator_func=0x0, is_cmd_replicated=false) at /test/10.4_dbg/sql/sql_admin.cc:670
|
#7 0x000055fea4d6fb58 in mysql_preload_keys (thd=thd@entry=0x14a014000d90, tables=tables@entry=0x14a014013378) at /test/10.4_dbg/sql/sql_admin.cc:1400
|
#8 0x000055fea4c0dec3 in mysql_execute_command (thd=thd@entry=0x14a014000d90) at /test/10.4_dbg/sql/sql_parse.cc:4098
|
#9 0x000055fea4c18752 in mysql_parse (thd=thd@entry=0x14a014000d90, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x14a0559e7490, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.4_dbg/sql/sql_parse.cc:7995
|
#10 0x000055fea4c1b1ae in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14a014000d90, packet=packet@entry=0x14a01401a361 "", packet_length=packet_length@entry=40, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.4_dbg/sql/sql_class.h:1201
|
#11 0x000055fea4c1eaa1 in do_command (thd=0x14a014000d90) at /test/10.4_dbg/sql/sql_parse.cc:1373
|
#12 0x000055fea4d5cf09 in do_handle_one_connection (connect=connect@entry=0x55fea83bae40) at /test/10.4_dbg/sql/sql_connect.cc:1420
|
#13 0x000055fea4d5d028 in handle_one_connection (arg=0x55fea83bae40) at /test/10.4_dbg/sql/sql_connect.cc:1316
|
#14 0x000014a07c1d9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#15 0x000014a07bdc7293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 10.4.23 (dbg), 10.5.14 (dbg), 10.6.6 (dbg), 10.7.2 (dbg), 10.8.0 (dbg)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.2.42 (dbg), 10.2.42 (opt), 10.3.33 (dbg), 10.3.33 (opt), 10.4.23 (opt), 10.5.14 (opt), 10.6.6 (opt), 10.7.2 (opt), 10.8.0 (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)
Attachments
Issue Links
- is blocked by
-
MDEV-29027 ASAN errors in spider_db_free_result after partition DDL
- Closed
- is duplicated by
-
MDEV-27185 Assertion `!is_set() || (m_status == DA_EOF_BULK && is_bulk_op())' failed in Diagnostics_area::set_eof_status when using spider partitioning
- Closed
-
MDEV-27237 Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())' failed on HANDLER OPEN
- Closed
-
MDEV-27334 Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())' failed in Diagnostics_area::set_ok_status on CREATE TRIGGER
- Closed
-
MDEV-28241 Spider: Assertion `! is_set() || m_can_overwrite_status' failed in Diagnostics_area::set_error_status from Reprepare_observer::report_error on PS EXECUTE
- Closed
-
MDEV-34101 Spider: Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())' failed in Diagnostics_area::set_ok_status upon CREATE OR REPLACE TABLE
- Closed
- relates to
-
MDEV-34887 Assertion `!is_set() || (m_status == DA_EOF_BULK && is_bulk_op())' failed from mysql_admin_table on LOAD or CACHE INDEX
- Confirmed