Core was generated by `/test/MD200720-mariadb-10.5.5-linux-x86_64-dbg/bin/mysqld --no-defaults --core-'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6)
|
at ../sysdeps/unix/sysv/linux/pthread_kill.c:57
|
[Current thread is 1 (Thread 0x14599291c700 (LWP 2069518))]
|
(gdb) bt
|
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:57
|
#1 0x000055f03806382d in my_write_core (sig=sig@entry=6) at /test/10.5_dbg/mysys/stacktrace.c:518
|
#2 0x000055f03781d75c in handle_fatal_signal (sig=6) at /test/10.5_dbg/sql/signal_handler.cc:330
|
#3 <signal handler called>
|
#4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
|
#5 0x0000145990bb28b1 in __GI_abort () at abort.c:79
|
#6 0x0000145990ba242a in __assert_fail_base (fmt=0x145990d29a38 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x55f038376460 "table_share->tmp_table != NO_TMP_TABLE || m_lock_type != 2", file=file@entry=0x55f038374ce2 "/test/10.5_dbg/sql/handler.cc", line=line@entry=3204, function=function@entry=0x55f038379200 <handler::ha_index_first(unsigned char*)::__PRETTY_FUNCTION__> "int handler::ha_index_first(uchar*)") at assert.c:92
|
#7 0x0000145990ba24a2 in __GI___assert_fail (assertion=assertion@entry=0x55f038376460 "table_share->tmp_table != NO_TMP_TABLE || m_lock_type != 2", file=file@entry=0x55f038374ce2 "/test/10.5_dbg/sql/handler.cc", line=line@entry=3204, function=function@entry=0x55f038379200 <handler::ha_index_first(unsigned char*)::__PRETTY_FUNCTION__> "int handler::ha_index_first(uchar*)") at assert.c:101
|
#8 0x000055f037827def in handler::ha_index_first (this=0x14596ec394a0, buf=0x14596ec52aa8 "\377\001") at /test/10.5_dbg/sql/handler.cc:3203
|
#9 0x000055f0379c3d85 in get_index_min_value (prefix_len=0, range_fl=<optimized out>, item_field=0x14596ec75418, ref=0x145992918e10, table=0x14596ec51188) at /test/10.5_dbg/sql/opt_sum.cc:117
|
#10 opt_sum_query (thd=0x14596ec15088, tables=@0x14596ec751e0: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x14596ec77e58, last = 0x14596ec77e58, elements = 1}, <No data fields>}, all_fields=@0x14596ec77c08: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x14596ec756b8, last = 0x14596ec756b8, elements = 1}, <No data fields>}, conds=0x0) at /test/10.5_dbg/sql/opt_sum.cc:404
|
#11 0x000055f0375eb739 in JOIN::optimize_inner (this=this@entry=0x14596ec778e0) at /test/10.5_dbg/sql/sql_select.cc:2153
|
#12 0x000055f0375ee6ce in JOIN::optimize (this=this@entry=0x14596ec778e0) at /test/10.5_dbg/sql/sql_select.cc:1618
|
#13 0x000055f0375489f8 in st_select_lex::optimize_unflattened_subqueries (this=0x14596ec74170, const_only=const_only@entry=false) at /test/10.5_dbg/sql/sql_lex.cc:4794
|
#14 0x000055f0377221a5 in JOIN::optimize_unflattened_subqueries (this=this@entry=0x14596ec77230) at /test/10.5_dbg/sql/opt_subselect.cc:5556
|
#15 0x000055f0375e9782 in JOIN::optimize_stage2 (this=this@entry=0x14596ec77230) at /test/10.5_dbg/sql/sql_select.cc:2813
|
#16 0x000055f0375ee360 in JOIN::optimize_inner (this=this@entry=0x14596ec77230) at /test/10.5_dbg/sql/sql_select.cc:2268
|
#17 0x000055f0375ee6ce in JOIN::optimize (this=this@entry=0x14596ec77230) at /test/10.5_dbg/sql/sql_select.cc:1618
|
#18 0x000055f0375ef058 in mysql_select (thd=thd@entry=0x14596ec15088, tables=<optimized out>, fields=@0x14596ec742c0: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x14596ec74728, last = 0x14596ec74728, elements = 1}, <No data fields>}, conds=0x14596ec76600, og_num=0, order=<optimized out>, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x14596ec77208, unit=0x14596ec190a0, select_lex=0x14596ec74170) at /test/10.5_dbg/sql/sql_select.cc:4641
|
#19 0x000055f0375ef3d4 in handle_select (thd=thd@entry=0x14596ec15088, lex=lex@entry=0x14596ec18fd8, result=result@entry=0x14596ec77208, setup_tables_done_option=setup_tables_done_option@entry=0) at /test/10.5_dbg/sql/sql_select.cc:417
|
#20 0x000055f037577c1a in execute_sqlcom_select (thd=thd@entry=0x14596ec15088, all_tables=0x14596ec74770) at /test/10.5_dbg/sql/sql_parse.cc:6209
|
#21 0x000055f037570cee in mysql_execute_command (thd=thd@entry=0x14596ec15088) at /test/10.5_dbg/sql/sql_parse.cc:3931
|
#22 0x000055f03757db8a in mysql_parse (thd=thd@entry=0x14596ec15088, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x14599291b350, 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:7993
|
#23 0x000055f03756a63c in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14596ec15088, packet=packet@entry=0x14596ec67089 "SELECT c FROM t1 WHERE (c) IN (SELECT MIN(c) FROM t2)", packet_length=packet_length@entry=53, 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:1866
|
#24 0x000055f037568e16 in do_command (thd=0x14596ec15088) at /test/10.5_dbg/sql/sql_parse.cc:1347
|
#25 0x000055f0376c54af in do_handle_one_connection (connect=<optimized out>, connect@entry=0x145971cc9808, put_in_cache=put_in_cache@entry=true) at /test/10.5_dbg/sql/sql_connect.cc:1411
|
#26 0x000055f0376c5bcb in handle_one_connection (arg=arg@entry=0x145971cc9808) at /test/10.5_dbg/sql/sql_connect.cc:1313
|
#27 0x000055f037b29dca in pfs_spawn_thread (arg=0x14598f446508) at /test/10.5_dbg/storage/perfschema/pfs.cc:2201
|
#28 0x00001459918956db in start_thread (arg=0x14599291c700) at pthread_create.c:463
|
#29 0x0000145990c93a3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
I doubt it is connected to
MDEV-18163at all. Ref unique bug ID's here.