Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Cannot Reproduce
-
10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL)
Description
INSTALL PLUGIN spider SONAME 'ha_spider.so'; |
CREATE TEMPORARY TABLE t (c INT) ENGINE=SPIDER; |
REPAIR TABLE t; |
Leads to:
10.8.0 ccdf5711a8fff0cd610a91fdcf37c8ff1182878c (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.0 ccdf5711a8fff0cd610a91fdcf37c8ff1182878c (Debug) |
Core was generated by `/test/MD121221-mariadb-10.8.0-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 0x14ac608c8700 (LWP 4133130))]
|
(gdb) bt
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#1 0x000014ac6bb2c859 in __GI_abort () at abort.c:79
|
#2 0x000014ac6bb2c729 in __assert_fail_base (fmt=0x14ac6bcc2588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x55c3b939faf8 "!is_set() || (m_status == DA_EOF_BULK && is_bulk_op())", file=0x55c3b939f958 "/test/10.8_dbg/sql/sql_error.cc", line=375, function=<optimized out>) at assert.c:92
|
#3 0x000014ac6bb3df36 in __GI___assert_fail (assertion=assertion@entry=0x55c3b939faf8 "!is_set() || (m_status == DA_EOF_BULK && is_bulk_op())", file=file@entry=0x55c3b939f958 "/test/10.8_dbg/sql/sql_error.cc", line=line@entry=375, function=function@entry=0x55c3b939fb30 "void Diagnostics_area::set_eof_status(THD*)") at assert.c:101
|
#4 0x000055c3b8689a10 in Diagnostics_area::set_eof_status (this=0x14ac10006d18, thd=thd@entry=0x14ac10000db8) at /test/10.8_dbg/sql/sql_error.h:1031
|
#5 0x000055c3b886de7c in my_eof (thd=0x14ac10000db8) at /test/10.8_dbg/sql/sql_class.h:5534
|
#6 mysql_admin_table (thd=thd@entry=0x14ac10000db8, tables=tables@entry=0x14ac10013e80, check_opt=check_opt@entry=0x14ac10006468, operator_name=operator_name@entry=0x55c3b9af6070 <msg_repair>, lock_type=lock_type@entry=TL_WRITE, org_open_for_modify=org_open_for_modify@entry=true, repair_table_use_frm=false, extra_open_options=32, prepare_func=0x55c3b886c3d4 <prepare_for_repair(THD*, TABLE_LIST*, HA_CHECK_OPT*)>, operator_func=(int (handler::*)(class handler * const, class THD *, HA_CHECK_OPT *)) 0x55c3b89ee2ec <handler::ha_repair(THD*, st_ha_check_opt*)>, view_operator_func=0x55c3b88058fa <view_repair(THD*, TABLE_LIST*, st_ha_check_opt*)>, is_cmd_replicated=true) at /test/10.8_dbg/sql/sql_admin.cc:1407
|
#7 0x000055c3b8870e0d in Sql_cmd_repair_table::execute (this=<optimized out>, thd=0x14ac10000db8) at /test/10.8_dbg/sql/sql_admin.cc:1587
|
#8 0x000055c3b86e92d3 in mysql_execute_command (thd=thd@entry=0x14ac10000db8, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /test/10.8_dbg/sql/sql_parse.cc:5989
|
#9 0x000055c3b86cfe0f in mysql_parse (thd=thd@entry=0x14ac10000db8, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x14ac608c7400) at /test/10.8_dbg/sql/sql_parse.cc:8028
|
#10 0x000055c3b86deaab in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14ac10000db8, packet=packet@entry=0x14ac1000b879 "", packet_length=packet_length@entry=14, blocking=blocking@entry=true) at /test/10.8_dbg/sql/sql_class.h:1360
|
#11 0x000055c3b86e1eea in do_command (thd=0x14ac10000db8, blocking=blocking@entry=true) at /test/10.8_dbg/sql/sql_parse.cc:1402
|
#12 0x000055c3b885b89c in do_handle_one_connection (connect=<optimized out>, connect@entry=0x55c3bb6630a8, put_in_cache=put_in_cache@entry=true) at /test/10.8_dbg/sql/sql_connect.cc:1418
|
#13 0x000055c3b885bea1 in handle_one_connection (arg=arg@entry=0x55c3bb6630a8) at /test/10.8_dbg/sql/sql_connect.cc:1312
|
#14 0x000055c3b8cdd442 in pfs_spawn_thread (arg=0x55c3bb574bb8) at /test/10.8_dbg/storage/perfschema/pfs.cc:2201
|
#15 0x000014ac6c03b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#16 0x000014ac6bc29293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
10.4.23 74b3d4252a291456982c8e61a3af3d9936c6fbdd (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 74b3d4252a291456982c8e61a3af3d9936c6fbdd (Debug) |
Core was generated by `/test/MD121221-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 0x14a3e8052700 (LWP 4134188))]
|
(gdb) bt
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#1 0x000014a3ef8ff859 in __GI_abort () at abort.c:79
|
#2 0x000014a3ef8ff729 in __assert_fail_base (fmt=0x14a3efa95588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x5611e795c193 "! is_set()", file=0x5611e795bc88 "/test/10.4_dbg/sql/sql_error.cc", line=375, function=<optimized out>) at assert.c:92
|
#3 0x000014a3ef910f36 in __GI___assert_fail (assertion=assertion@entry=0x5611e795c193 "! is_set()", file=file@entry=0x5611e795bc88 "/test/10.4_dbg/sql/sql_error.cc", line=line@entry=375, function=function@entry=0x5611e795be28 "void Diagnostics_area::set_eof_status(THD*)") at assert.c:101
|
#4 0x00005611e6c4327f in Diagnostics_area::set_eof_status (this=0x14a3840067b0, thd=thd@entry=0x14a384000d90) at /test/10.4_dbg/sql/sql_error.h:1005
|
#5 0x00005611e6df3309 in my_eof (thd=0x14a384000d90) at /test/10.4_dbg/sql/sql_class.h:5071
|
#6 mysql_admin_table (thd=thd@entry=0x14a384000d90, tables=tables@entry=0x14a3840132e8, check_opt=check_opt@entry=0x14a384005fa0, operator_name=operator_name@entry=0x5611e7c1f506 "repair", lock_type=lock_type@entry=TL_WRITE, org_open_for_modify=org_open_for_modify@entry=true, repair_table_use_frm=false, extra_open_options=32, prepare_func=0x5611e6def92b <prepare_for_repair(THD*, TABLE_LIST*, HA_CHECK_OPT*)>, operator_func=(int (handler::*)(class handler * const, class THD *, HA_CHECK_OPT *)) 0x5611e6f54a08 <handler::ha_repair(THD*, st_ha_check_opt*)>, view_operator_func=0x5611e6d8e868 <view_repair(THD*, TABLE_LIST*, st_ha_check_opt*)>, is_cmd_replicated=true) at /test/10.4_dbg/sql/sql_admin.cc:1315
|
#7 0x00005611e6df3b27 in Sql_cmd_repair_table::execute (this=<optimized out>, thd=0x14a384000d90) at /test/10.4_dbg/sql/sql_admin.cc:1495
|
#8 0x00005611e6c990b4 in mysql_execute_command (thd=thd@entry=0x14a384000d90) at /test/10.4_dbg/sql/sql_parse.cc:6192
|
#9 0x00005611e6c9ba1f in mysql_parse (thd=thd@entry=0x14a384000d90, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x14a3e8051490, 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 0x00005611e6c9e47b in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14a384000d90, packet=packet@entry=0x14a38401a361 "", packet_length=packet_length@entry=14, 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 0x00005611e6ca1d6e in do_command (thd=0x14a384000d90) at /test/10.4_dbg/sql/sql_parse.cc:1373
|
#12 0x00005611e6de0a17 in do_handle_one_connection (connect=connect@entry=0x5611eb6dd3c0) at /test/10.4_dbg/sql/sql_connect.cc:1420
|
#13 0x00005611e6de0b36 in handle_one_connection (arg=0x5611eb6dd3c0) at /test/10.4_dbg/sql/sql_connect.cc:1316
|
#14 0x000014a3efe0e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#15 0x000014a3ef9fc293 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
- relates to
-
MDEV-27198 Assertion `!is_set() || (m_status == DA_EOF_BULK && is_bulk_op())' failed, and Assertion `! is_set()' failed, on OPTIMIZE TABLE of Spider Engine
- Closed