Core was generated by `/test/MD040921-mariadb-10.7.0-linux-x86_64-dbg/bin/mysqld --no-defaults --core-'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000014baaa0a6546 in spider_db_connect (share=0x14ba8802e708,
conn=conn@entry=0x14ba880a99c8, link_idx=0)
at /test/10.7_dbg/storage/spider/spd_db_conn.cc:121
[Current thread is 1 (Thread 0x14bab811f700 (LWP 500187))]
(gdb) bt
#0 0x000014baaa0a6546 in spider_db_connect (share=0x14ba8802e708, conn=conn@entry=0x14ba880a99c8, link_idx=0) at /test/10.7_dbg/storage/spider/spd_db_conn.cc:121
#1 0x000014baaa0a70b1 in spider_db_conn_queue_action (conn=conn@entry=0x14ba880a99c8) at /test/10.7_dbg/storage/spider/spd_db_conn.cc:293
#2 0x000014baaa0b1d74 in spider_db_before_query (conn=conn@entry=0x14ba880a99c8, need_mon=need_mon@entry=0x14ba880a2418) at /test/10.7_dbg/storage/spider/spd_db_conn.cc:629
#3 0x000014baaa0b2527 in spider_db_set_names_internal (trx=0x14ba880545e8, share=0x14ba880997f8, conn=conn@entry=0x14ba880a99c8, all_link_idx=0, need_mon=0x14ba880a2418) at /test/10.7_dbg/storage/spider/spd_db_conn.cc:930
#4 0x000014baaa0b28db in spider_db_set_names (spider=0x14ba88096730, conn=conn@entry=0x14ba880a99c8, link_idx=link_idx@entry=0) at /test/10.7_dbg/storage/spider/spd_db_conn.cc:977
#5 0x000014baaa16aba4 in spider_mbase_handler::show_table_status (this=0x14ba880a6ea0, link_idx=0, sts_mode=<optimized out>, flag=<optimized out>) at /test/10.7_dbg/storage/spider/spd_db_mysql.cc:14561
#6 0x000014baaa0b9bbb in spider_db_show_table_status (spider=spider@entry=0x14ba88096730, link_idx=link_idx@entry=0, sts_mode=<optimized out>, sts_mode@entry=1, flag=flag@entry=80) at /test/10.7_dbg/storage/spider/spd_db_conn.cc:6375
#7 0x000014baaa0f52c1 in spider_get_sts (share=0x14ba880997f8, link_idx=0, tmp_time=tmp_time@entry=1630903526, spider=spider@entry=0x14ba88096730, sts_interval=sts_interval@entry=0, sts_mode=sts_mode@entry=1, sts_sync=sts_sync@entry=0, sts_sync_level=1, flag=80) at /test/10.7_dbg/storage/spider/spd_table.cc:8201
#8 0x000014baaa14721f in ha_spider::info (this=0x14ba88096730, flag=16) at /test/10.7_dbg/storage/spider/ha_spider.cc:8678
#9 0x0000560cf1fb3ea0 in ha_partition::info (this=this@entry=0x14ba88095e70, flag=flag@entry=272) at /test/10.7_dbg/sql/ha_partition.cc:8506
#10 0x0000560cf1fb435c in ha_partition::update_create_info (this=0x14ba88095e70, create_info=0x14bab8119ca0) at /test/10.7_dbg/sql/ha_partition.cc:2259
#11 0x0000560cf1aa68eb in get_schema_tables_record (thd=0x14ba88000db8, tables=0x14ba880e4980, table=0x14ba8807ec10, res=<optimized out>, db_name=<optimized out>, table_name=<optimized out>) at /test/10.7_dbg/sql/sql_show.cc:5628
#12 0x0000560cf1a8cb0d in fill_schema_table_by_open (thd=thd@entry=0x14ba88000db8, mem_root=mem_root@entry=0x14bab811bf70, is_show_fields_or_keys=is_show_fields_or_keys@entry=false, table=table@entry=0x14ba8807ec10, schema_table=schema_table@entry=0x560cf2f0de80 <schema_tables+2176>, orig_db_name=orig_db_name@entry=0x14ba88017a28, orig_table_name=0x14ba88017bd8, open_tables_state_backup=0x14bab811bfb0, can_deadlock=false) at /test/10.7_dbg/sql/sql_show.cc:4705
#13 0x0000560cf1ab16a2 in get_all_tables (thd=0x14ba88000db8, tables=0x14ba88015a10, cond=<optimized out>) at /test/10.7_dbg/sql/sql_show.cc:5315
#14 0x0000560cf1ab2d28 in get_schema_tables_result (join=join@entry=0x14ba88016f08, executed_place=executed_place@entry=PROCESSED_BY_JOIN_EXEC) at /test/10.7_dbg/sql/sql_show.cc:8836
#15 0x0000560cf1a84db3 in JOIN::exec_inner (this=this@entry=0x14ba88016f08) at /test/10.7_dbg/sql/sql_string.h:682
#16 0x0000560cf1a85a54 in JOIN::exec (this=this@entry=0x14ba88016f08) at /test/10.7_dbg/sql/sql_select.cc:4513
#17 0x0000560cf1a83a32 in mysql_select (thd=thd@entry=0x14ba88000db8, tables=0x14ba88015a10, fields=@0x14ba88005bb8: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x14ba880142c0, last = 0x14ba880159d0, elements = 20}, <No data fields>}, conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2684619520, result=0x14ba88016ee0, unit=0x14ba88005120, select_lex=0x14ba88005918) at /test/10.7_dbg/sql/sql_select.cc:4991
#18 0x0000560cf1a83ce7 in handle_select (thd=thd@entry=0x14ba88000db8, lex=lex@entry=0x14ba88005058, result=result@entry=0x14ba88016ee0, setup_tables_done_option=setup_tables_done_option@entry=0) at /test/10.7_dbg/sql/sql_select.cc:545
#19 0x0000560cf19e5936 in execute_sqlcom_select (thd=thd@entry=0x14ba88000db8, all_tables=0x14ba88015a10) at /test/10.7_dbg/sql/sql_parse.cc:6261
#20 0x0000560cf19f27be in mysql_execute_command (thd=thd@entry=0x14ba88000db8, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /test/10.7_dbg/sql/sql_parse.cc:3946
#21 0x0000560cf19deccb in mysql_parse (thd=thd@entry=0x14ba88000db8, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x14bab811e400) at /test/10.7_dbg/sql/sql_parse.cc:8036
#22 0x0000560cf19ed8d0 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14ba88000db8, packet=packet@entry=0x14ba8800b739 "SHOW TABLE STATUS", packet_length=packet_length@entry=17, blocking=blocking@entry=true) at /test/10.7_dbg/sql/sql_class.h:1358
#23 0x0000560cf19f0cd6 in do_command (thd=0x14ba88000db8, blocking=blocking@entry=true) at /test/10.7_dbg/sql/sql_parse.cc:1404
#24 0x0000560cf1b670c8 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x560cf5749408, put_in_cache=put_in_cache@entry=true) at /test/10.7_dbg/sql/sql_connect.cc:1418
#25 0x0000560cf1b676cd in handle_one_connection (arg=arg@entry=0x560cf5749408) at /test/10.7_dbg/sql/sql_connect.cc:1312
#26 0x0000560cf1fd0ade in pfs_spawn_thread (arg=0x560cf56482d8) at /test/10.7_dbg/storage/perfschema/pfs.cc:2201
#27 0x000014bace6c5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#28 0x000014bace2b3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
MDEV-26582SIGSEGV in spider_db_bulk_insert and spider_db_connect and spider_db_before_query, and hang in "End of update loop" / "Reset for next command" query states
Roel Van de Paar
added a comment - Testcase from this comment replayed ~ 5-10 times, at the CLI (copy/paste) against 10.9 (dbg) gives yet another SIGSEGV:
SIGSEGV|ha_spider::index_read_map_internal|ha_spider::index_read_map|handler::ha_index_read_map|handler::check_duplicate_long_entry_key
Core was generated by `/test/MD160322-mariadb-10.4.25-linux-x86_64-opt/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 0x14a190191700 (LWP 3430199))]
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x000014a1b83bd859 in __GI_abort () at abort.c:79
#2 0x000014a1b83bd729 in __assert_fail_base (fmt=0x14a1b8553588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x14a1b88dd62d "mutex->__data.__owner == 0", file=0x14a1b88dd5fa "../nptl/pthread_mutex_lock.c", line=81, function=<optimized out>) at assert.c:92
#3 0x000014a1b83cefd6 in __GI___assert_fail (assertion=assertion@entry=0x14a1b88dd62d "mutex->__data.__owner == 0", file=file@entry=0x14a1b88dd5fa "../nptl/pthread_mutex_lock.c", line=line@entry=81, function=function@entry=0x14a1b88dd790 <__PRETTY_FUNCTION__.10174> "__pthread_mutex_lock") at assert.c:101
#4 0x000014a1b88d1164 in __GI___pthread_mutex_lock (mutex=mutex@entry=0x14a108060ca0) at ../nptl/pthread_mutex_lock.c:81
#5 0x000014a1a008626b in inline_mysql_mutex_lock (src_file=0x14a1a0118228 "/test/10.4_opt/storage/spider/spd_db_conn.cc", src_line=8300, that=0x14a108060ca0) at /test/10.4_opt/include/mysql/psi/mysql_thread.h:704
#6 spider_db_direct_delete (spider=spider@entry=0x14a108038e90, table=<optimized out>, delete_rows=delete_rows@entry=0x14a19018e2d8) at /test/10.4_opt/storage/spider/spd_db_conn.cc:8300
#7 0x000014a1a00d3317 in ha_spider::direct_delete_rows (this=0x14a108038e90, delete_rows=0x14a19018e2d8) at /test/10.4_opt/storage/spider/ha_spider.cc:11331
#8 0x000055b4dd049df3 in mysql_delete (thd=thd@entry=0x14a108000c48, table_list=0x14a1080100b0, conds=<optimized out>, order_list=order_list@entry=0x14a108005458, limit=18446744073709551615, options=0, result=0x0) at /test/10.4_opt/sql/sql_delete.cc:654
#9 0x000055b4dccdb0ea in mysql_execute_command (thd=0x14a108000c48) at /test/10.4_opt/sql/sql_parse.cc:4792
#10 0x000055b4dcce1257 in mysql_parse (thd=0x14a108000c48, rawbuf=<optimized out>, length=<optimized out>, parser_state=<optimized out>, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /test/10.4_opt/sql/sql_parse.cc:7995
#11 0x000055b4dcce38cd in dispatch_command (command=COM_QUERY, thd=0x14a108000c48, packet=<optimized out>, packet_length=<optimized out>, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /test/10.4_opt/sql/sql_class.h:1201
#12 0x000055b4dcce5f3e in do_command (thd=0x14a108000c48) at /test/10.4_opt/sql/sql_parse.cc:1373
#13 0x000055b4dcddbd3e in do_handle_one_connection (connect=connect@entry=0x55b4e0f6aad8) at /test/10.4_opt/sql/sql_connect.cc:1420
#14 0x000055b4dcddbe6f in handle_one_connection (arg=0x55b4e0f6aad8) at /test/10.4_opt/sql/sql_connect.cc:1316
#15 0x000014a1b88ce609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#16 0x000014a1b84ba133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Core was generated by `/test/MD160322-mariadb-10.4.25-linux-x86_64-dbg/bin/mysqld --no-defaults --core'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00005567e7dc0e1b in check_vcol_forward_refs (field=field@entry=
0x153324015818, vcol=0x1533240158f0,
check_constraint=check_constraint@entry=false)
at /test/10.4_dbg/sql/table.cc:3506
[Current thread is 1 (Thread 0x153369fa0700 (LWP 2924855))]
(gdb) bt
#0 0x00005567e7dc0e1b in check_vcol_forward_refs (field=field@entry=0x153324015818, vcol=0x1533240158f0, check_constraint=check_constraint@entry=false) at /test/10.4_dbg/sql/table.cc:3506
#1 0x00005567e7dc5add in parse_vcol_defs (thd=thd@entry=0x153324000d90, mem_root=0x153324006768, table=table@entry=0x153324014928, error_reported=error_reported@entry=0x153369f9d540, mode=mode@entry=VCOL_INIT_DEPENDENCY_FAILURE_IS_WARNING) at /test/10.4_dbg/sql/table.cc:1304
#2 0x00005567e7c7f1d4 in Delayed_insert::get_local_table (this=this@entry=0x153324082740, client_thd=client_thd@entry=0x153324000d90) at /test/10.4_dbg/sql/sql_insert.cc:2673
#3 0x00005567e7c87f6e in delayed_get_table (table_list=0x153324013320, grl_protection_request=0x153369f9d690, thd=0x153324000d90) at /test/10.4_dbg/sql/sql_insert.cc:2502
#4 open_and_lock_for_insert_delayed (thd=thd@entry=0x153324000d90, table_list=table_list@entry=0x153324013320) at /test/10.4_dbg/sql/sql_insert.cc:573
#5 0x00005567e7c88655 in mysql_insert (thd=thd@entry=0x153324000d90, table_list=0x153324013320, fields=@0x153324005ba0: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x5567e9297cc0 <end_of_list>, last = 0x153324005ba0, elements = 0}, <No data fields>}, values_list=@0x153324005be8: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x153324013f38, last = 0x153324013f38, elements = 1}, <No data fields>}, update_fields=@0x153324005bd0: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x5567e9297cc0 <end_of_list>, last = 0x153324005bd0, elements = 0}, <No data fields>}, update_values=@0x153324005bb8: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x5567e9297cc0 <end_of_list>, last = 0x153324005bb8, elements = 0}, <No data fields>}, duplic=DUP_ERROR, ignore=false) at /test/10.4_dbg/sql/sql_insert.cc:759
#6 0x00005567e7cc4f3f in mysql_execute_command (thd=thd@entry=0x153324000d90) at /test/10.4_dbg/sql/sql_parse.cc:4598
#7 0x00005567e7cccd01 in mysql_parse (thd=thd@entry=0x153324000d90, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x153369f9f490, 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
#8 0x00005567e7ccf75d in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x153324000d90, packet=packet@entry=0x15332401a361 "INSERT DELAYED INTO t1 VALUES (0)", packet_length=packet_length@entry=33, 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
#9 0x00005567e7cd3050 in do_command (thd=0x153324000d90) at /test/10.4_dbg/sql/sql_parse.cc:1373
#10 0x00005567e7e12457 in do_handle_one_connection (connect=connect@entry=0x5567eaa53150) at /test/10.4_dbg/sql/sql_connect.cc:1420
#11 0x00005567e7e12576 in handle_one_connection (arg=0x5567eaa53150) at /test/10.4_dbg/sql/sql_connect.cc:1316
#12 0x00001533907d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#13 0x00001533903c0133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
This is basically the same stack as MENT-1519 and MDEV-22525 respectively.
Roel Van de Paar
added a comment -
INSTALL PLUGIN spider SONAME 'ha_spider.so' ;
CREATE TABLE t1 (c0 INT , UNIQUE (c0) USING HASH) ENGINE=SPIDER;
INSERT DELAYED INTO t1 VALUES (0);
invalid;
SELECT SLEEP (1);
DROP TABLE t1;
Executed repeatedly at the CLI until the server crashes will give this stack, in 10.4 only (dbg+opt both affected):
10.4.25 9c6135e81f29b3e3286d6b864c0fdafc2fea16ce (Optimized)
mysqld: ../nptl/pthread_mutex_lock.c:81: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
10.4.25 9c6135e81f29b3e3286d6b864c0fdafc2fea16ce (Optimized)
Core was generated by `/test/MD160322-mariadb-10.4.25-linux-x86_64-opt/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 0x14a190191700 (LWP 3430199))]
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x000014a1b83bd859 in __GI_abort () at abort.c:79
#2 0x000014a1b83bd729 in __assert_fail_base (fmt=0x14a1b8553588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x14a1b88dd62d "mutex->__data.__owner == 0", file=0x14a1b88dd5fa "../nptl/pthread_mutex_lock.c", line=81, function=<optimized out>) at assert.c:92
#3 0x000014a1b83cefd6 in __GI___assert_fail (assertion=assertion@entry=0x14a1b88dd62d "mutex->__data.__owner == 0", file=file@entry=0x14a1b88dd5fa "../nptl/pthread_mutex_lock.c", line=line@entry=81, function=function@entry=0x14a1b88dd790 <__PRETTY_FUNCTION__.10174> "__pthread_mutex_lock") at assert.c:101
#4 0x000014a1b88d1164 in __GI___pthread_mutex_lock (mutex=mutex@entry=0x14a108060ca0) at ../nptl/pthread_mutex_lock.c:81
#5 0x000014a1a008626b in inline_mysql_mutex_lock (src_file=0x14a1a0118228 "/test/10.4_opt/storage/spider/spd_db_conn.cc", src_line=8300, that=0x14a108060ca0) at /test/10.4_opt/include/mysql/psi/mysql_thread.h:704
#6 spider_db_direct_delete (spider=spider@entry=0x14a108038e90, table=<optimized out>, delete_rows=delete_rows@entry=0x14a19018e2d8) at /test/10.4_opt/storage/spider/spd_db_conn.cc:8300
#7 0x000014a1a00d3317 in ha_spider::direct_delete_rows (this=0x14a108038e90, delete_rows=0x14a19018e2d8) at /test/10.4_opt/storage/spider/ha_spider.cc:11331
#8 0x000055b4dd049df3 in mysql_delete (thd=thd@entry=0x14a108000c48, table_list=0x14a1080100b0, conds=<optimized out>, order_list=order_list@entry=0x14a108005458, limit=18446744073709551615, options=0, result=0x0) at /test/10.4_opt/sql/sql_delete.cc:654
#9 0x000055b4dccdb0ea in mysql_execute_command (thd=0x14a108000c48) at /test/10.4_opt/sql/sql_parse.cc:4792
#10 0x000055b4dcce1257 in mysql_parse (thd=0x14a108000c48, rawbuf=<optimized out>, length=<optimized out>, parser_state=<optimized out>, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /test/10.4_opt/sql/sql_parse.cc:7995
#11 0x000055b4dcce38cd in dispatch_command (command=COM_QUERY, thd=0x14a108000c48, packet=<optimized out>, packet_length=<optimized out>, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /test/10.4_opt/sql/sql_class.h:1201
#12 0x000055b4dcce5f3e in do_command (thd=0x14a108000c48) at /test/10.4_opt/sql/sql_parse.cc:1373
#13 0x000055b4dcddbd3e in do_handle_one_connection (connect=connect@entry=0x55b4e0f6aad8) at /test/10.4_opt/sql/sql_connect.cc:1420
#14 0x000055b4dcddbe6f in handle_one_connection (arg=0x55b4e0f6aad8) at /test/10.4_opt/sql/sql_connect.cc:1316
#15 0x000014a1b88ce609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#16 0x000014a1b84ba133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
10.4.25 9c6135e81f29b3e3286d6b864c0fdafc2fea16ce (Debug)
Core was generated by `/test/MD160322-mariadb-10.4.25-linux-x86_64-dbg/bin/mysqld --no-defaults --core'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00005567e7dc0e1b in check_vcol_forward_refs (field=field@entry=
0x153324015818, vcol=0x1533240158f0,
check_constraint=check_constraint@entry=false)
at /test/10.4_dbg/sql/table.cc:3506
[Current thread is 1 (Thread 0x153369fa0700 (LWP 2924855))]
(gdb) bt
#0 0x00005567e7dc0e1b in check_vcol_forward_refs (field=field@entry=0x153324015818, vcol=0x1533240158f0, check_constraint=check_constraint@entry=false) at /test/10.4_dbg/sql/table.cc:3506
#1 0x00005567e7dc5add in parse_vcol_defs (thd=thd@entry=0x153324000d90, mem_root=0x153324006768, table=table@entry=0x153324014928, error_reported=error_reported@entry=0x153369f9d540, mode=mode@entry=VCOL_INIT_DEPENDENCY_FAILURE_IS_WARNING) at /test/10.4_dbg/sql/table.cc:1304
#2 0x00005567e7c7f1d4 in Delayed_insert::get_local_table (this=this@entry=0x153324082740, client_thd=client_thd@entry=0x153324000d90) at /test/10.4_dbg/sql/sql_insert.cc:2673
#3 0x00005567e7c87f6e in delayed_get_table (table_list=0x153324013320, grl_protection_request=0x153369f9d690, thd=0x153324000d90) at /test/10.4_dbg/sql/sql_insert.cc:2502
#4 open_and_lock_for_insert_delayed (thd=thd@entry=0x153324000d90, table_list=table_list@entry=0x153324013320) at /test/10.4_dbg/sql/sql_insert.cc:573
#5 0x00005567e7c88655 in mysql_insert (thd=thd@entry=0x153324000d90, table_list=0x153324013320, fields=@0x153324005ba0: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x5567e9297cc0 <end_of_list>, last = 0x153324005ba0, elements = 0}, <No data fields>}, values_list=@0x153324005be8: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x153324013f38, last = 0x153324013f38, elements = 1}, <No data fields>}, update_fields=@0x153324005bd0: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x5567e9297cc0 <end_of_list>, last = 0x153324005bd0, elements = 0}, <No data fields>}, update_values=@0x153324005bb8: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x5567e9297cc0 <end_of_list>, last = 0x153324005bb8, elements = 0}, <No data fields>}, duplic=DUP_ERROR, ignore=false) at /test/10.4_dbg/sql/sql_insert.cc:759
#6 0x00005567e7cc4f3f in mysql_execute_command (thd=thd@entry=0x153324000d90) at /test/10.4_dbg/sql/sql_parse.cc:4598
#7 0x00005567e7cccd01 in mysql_parse (thd=thd@entry=0x153324000d90, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x153369f9f490, 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
#8 0x00005567e7ccf75d in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x153324000d90, packet=packet@entry=0x15332401a361 "INSERT DELAYED INTO t1 VALUES (0)", packet_length=packet_length@entry=33, 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
#9 0x00005567e7cd3050 in do_command (thd=0x153324000d90) at /test/10.4_dbg/sql/sql_parse.cc:1373
#10 0x00005567e7e12457 in do_handle_one_connection (connect=connect@entry=0x5567eaa53150) at /test/10.4_dbg/sql/sql_connect.cc:1420
#11 0x00005567e7e12576 in handle_one_connection (arg=0x5567eaa53150) at /test/10.4_dbg/sql/sql_connect.cc:1316
#12 0x00001533907d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#13 0x00001533903c0133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
This is basically the same stack as MENT-1519 and MDEV-22525 respectively.
The title in ticket and commit should reflect correct and concise summary of bug substance. The Component should reflect the correct components involved. After the title is changed OK to push.
Aleksey Midenkov
added a comment - - edited The title in ticket and commit should reflect correct and concise summary of bug substance. The Component should reflect the correct components involved. After the title is changed OK to push.
All testcases pass 11.3 (and please note TEMPORARY table support was removed for Spider)
ERROR 1478 (HY000): Table storage engine 'SPIDER' does not support the create option 'TEMPORARY'
Roel Van de Paar
added a comment - All testcases pass 11.3 (and please note TEMPORARY table support was removed for Spider)
ERROR 1478 (HY000): Table storage engine 'SPIDER' does not support the create option 'TEMPORARY'
People
Alexey Botchkov
Roel Van de Paar
Votes:
0Vote for this issue
Watchers:
5Start watching this issue
Dates
Created:
Updated:
Resolved:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":1072.3999999761581,"ttfb":276,"pageVisibility":"visible","entityId":102530,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"2ffe4985-5e30-4762-bb24-512c848ed1f8","navigationType":0,"readyForUser":1157.6000000238419,"redirectCount":0,"resourceLoadedEnd":1119.7000000476837,"resourceLoadedStart":282.5,"resourceTiming":[{"duration":89.20000004768372,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":282.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":282.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":371.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":89.19999992847443,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":282.8000000715256,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":282.8000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":372,"responseStart":0,"secureConnectionStart":0},{"duration":145.80000007152557,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":283,"connectEnd":283,"connectStart":283,"domainLookupEnd":283,"domainLookupStart":283,"fetchStart":283,"redirectEnd":0,"redirectStart":0,"requestStart":283,"responseEnd":428.8000000715256,"responseStart":428.8000000715256,"secureConnectionStart":283},{"duration":423.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":283.2000000476837,"connectEnd":283.2000000476837,"connectStart":283.2000000476837,"domainLookupEnd":283.2000000476837,"domainLookupStart":283.2000000476837,"fetchStart":283.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":283.2000000476837,"responseEnd":706.5,"responseStart":706.5,"secureConnectionStart":283.2000000476837},{"duration":426.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":283.3000000715256,"connectEnd":283.3000000715256,"connectStart":283.3000000715256,"domainLookupEnd":283.3000000715256,"domainLookupStart":283.3000000715256,"fetchStart":283.3000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":283.3000000715256,"responseEnd":710.1000000238419,"responseStart":710.1000000238419,"secureConnectionStart":283.3000000715256},{"duration":427,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":283.60000002384186,"connectEnd":283.60000002384186,"connectStart":283.60000002384186,"domainLookupEnd":283.60000002384186,"domainLookupStart":283.60000002384186,"fetchStart":283.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":283.60000002384186,"responseEnd":710.6000000238419,"responseStart":710.6000000238419,"secureConnectionStart":283.60000002384186},{"duration":427.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":283.8000000715256,"connectEnd":283.8000000715256,"connectStart":283.8000000715256,"domainLookupEnd":283.8000000715256,"domainLookupStart":283.8000000715256,"fetchStart":283.8000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":283.8000000715256,"responseEnd":710.8999999761581,"responseStart":710.8999999761581,"secureConnectionStart":283.8000000715256},{"duration":428.2000000476837,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":283.89999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":283.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":712.1000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":427.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":284.10000002384186,"connectEnd":284.10000002384186,"connectStart":284.10000002384186,"domainLookupEnd":284.10000002384186,"domainLookupStart":284.10000002384186,"fetchStart":284.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":284.10000002384186,"responseEnd":711.3000000715256,"responseStart":711.3000000715256,"secureConnectionStart":284.10000002384186},{"duration":428,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":284.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":284.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":712.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":427.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":284.39999997615814,"connectEnd":284.39999997615814,"connectStart":284.39999997615814,"domainLookupEnd":284.39999997615814,"domainLookupStart":284.39999997615814,"fetchStart":284.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":284.39999997615814,"responseEnd":711.8999999761581,"responseStart":711.8999999761581,"secureConnectionStart":284.39999997615814},{"duration":548.1999999284744,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":285.2000000476837,"connectEnd":285.2000000476837,"connectStart":285.2000000476837,"domainLookupEnd":285.2000000476837,"domainLookupStart":285.2000000476837,"fetchStart":285.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":285.2000000476837,"responseEnd":833.3999999761581,"responseStart":833.3999999761581,"secureConnectionStart":285.2000000476837},{"duration":775.5999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":285.3000000715256,"connectEnd":285.3000000715256,"connectStart":285.3000000715256,"domainLookupEnd":285.3000000715256,"domainLookupStart":285.3000000715256,"fetchStart":285.3000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":285.3000000715256,"responseEnd":1060.8999999761581,"responseStart":1060.8999999761581,"secureConnectionStart":285.3000000715256},{"duration":238.10000002384186,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":577.3999999761581,"connectEnd":577.3999999761581,"connectStart":577.3999999761581,"domainLookupEnd":577.3999999761581,"domainLookupStart":577.3999999761581,"fetchStart":577.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":577.3999999761581,"responseEnd":815.5,"responseStart":815.5,"secureConnectionStart":577.3999999761581},{"duration":90.79999995231628,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":975.8000000715256,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":975.8000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1066.6000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":138.19999992847443,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":976.8000000715256,"connectEnd":976.8000000715256,"connectStart":976.8000000715256,"domainLookupEnd":976.8000000715256,"domainLookupStart":976.8000000715256,"fetchStart":976.8000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":976.8000000715256,"responseEnd":1115,"responseStart":1115,"secureConnectionStart":976.8000000715256},{"duration":142.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/f51ef5507eea4c158f257c66c93b2a3f-CDN/lu2bu7/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":977.1000000238419,"connectEnd":977.1000000238419,"connectStart":977.1000000238419,"domainLookupEnd":977.1000000238419,"domainLookupStart":977.1000000238419,"fetchStart":977.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":977.1000000238419,"responseEnd":1119.7000000476837,"responseStart":1119.7000000476837,"secureConnectionStart":977.1000000238419},{"duration":132.89999997615814,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1066,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1066,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1198.8999999761581,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":70,"responseStart":276,"responseEnd":279,"domLoading":279,"domInteractive":1248,"domContentLoadedEventStart":1248,"domContentLoadedEventEnd":1297,"domComplete":1480,"loadEventStart":1480,"loadEventEnd":1480,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1201.8999999761581},{"name":"bigPipe.sidebar-id.end","time":1202.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":1202.8000000715256},{"name":"bigPipe.activity-panel-pipe-id.end","time":1206.1000000238419},{"name":"activityTabFullyLoaded","time":1316.5}],"measures":[],"correlationId":"58820b5780fe40","effectiveType":"4g","downlink":9.9,"rtt":0,"serverDuration":135,"dbReadsTimeInMs":16,"dbConnsTimeInMs":25,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Testcase from this comment replayed ~ 5-10 times, at the CLI (copy/paste) against 10.9 (dbg) gives yet another SIGSEGV:
SIGSEGV|ha_spider::index_read_map_internal|ha_spider::index_read_map|handler::ha_index_read_map|handler::check_duplicate_long_entry_key