The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
information that should help you find out what is causing the crash.
Writing a core file...
Working directory at /home/fuboat/mariadb-tmp/5
Resource Limits:
Limit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited seconds
Max file size unlimited unlimited bytes
Max data size unlimited unlimited bytes
Max stack size 8388608 unlimited bytes
Max core file size unlimited unlimited bytes
Max resident set unlimited unlimited bytes
Max processes 61608 61608 processes
Max open files 524288 524288 files
Max locked memory 65536 65536 bytes
Max address space unlimited unlimited bytes
Max file locks unlimited unlimited locks
Max pending signals 61608 61608 signals
Max msgqueue size 819200 819200 bytes
Max nice priority 0 0
Max realtime priority 0 0
Max realtime timeout unlimited unlimited us
Core pattern: core
gdb bt:
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/local/mysql/bin//mysqld --port 10005 --datadir=/home/fuboat/mariadb-tmp/5'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f9fe96e6808 in pthread_kill () from /usr/lib/libpthread.so.0
#1 0x000055613803a06b in handle_fatal_signal (sig=<optimized out>) at /experiment/mariadb-server/sql/signal_handler.cc:344
#2 <signal handler called>
#3 0x00007f9fe91c8d22 in raise () from /usr/lib/libc.so.6
#4 0x00007f9fe91b2862 in abort () from /usr/lib/libc.so.6
#5 0x00007f9fe9552802 in __gnu_cxx::__verbose_terminate_handler () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#6 0x00007f9fe955ec8a in __cxxabiv1::__terminate (handler=<optimized out>) at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#7 0x00007f9fe955ecf7 in std::terminate () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
#8 0x00007f9fe955fa75 in __cxxabiv1::__cxa_pure_virtual () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/pure.cc:50
#9 0x00005561380a4308 in Item::check_type_scalar (this=this@entry=0x629000089440, opname=...) at /experiment/mariadb-server/sql/item.cc:1121
#10 0x00005561381e2a5b in Item_func::check_argument_types_scalar (this=0x6190000a3ed8, start=<optimized out>, end=<optimized out>) at /experiment/mariadb-server/sql/item_func.cc:271
#11 0x00005561381ce34e in Item_func::fix_fields (this=this@entry=0x6190000a3ed8, thd=<optimized out>, ref=<optimized out>) at /experiment/mariadb-server/sql/item_func.cc:357
#12 0x0000556138100700 in Item_func_case::fix_fields (this=0x6190000a3ed8, thd=<optimized out>, ref=<optimized out>) at /experiment/mariadb-server/sql/item_cmpfunc.cc:3131
#13 0x0000556137be6ee2 in fix_vcol_expr (thd=<optimized out>, vcol=0x61d0000532b8) at /experiment/mariadb-server/sql/table.cc:3588
#14 0x000055613775e1ca in TABLE::fix_vcol_exprs (this=0x6190000a3298, thd=0x62b0000bd218) at /experiment/mariadb-server/sql/sql_base.cc:5429
#15 0x000055613775ef93 in fix_all_session_vcol_exprs (tables=0x6290000873b8, thd=0x62b0000bd218) at /experiment/mariadb-server/sql/sql_base.cc:5465
#16 lock_tables (thd=thd@entry=0x62b0000bd218, tables=0x6290000873b8, count=<optimized out>, flags=flags@entry=0) at /experiment/mariadb-server/sql/sql_base.cc:5649
#17 0x0000556137763800 in open_and_lock_tables (thd=thd@entry=0x62b0000bd218, options=..., tables=<optimized out>, tables@entry=0x6290000873b8, derived=derived@entry=true, flags=flags@entry=0, prelocking_strategy=prelocking_strategy@entry=0x7f9fca4512d0) at /experiment/mariadb-server/sql/sql_base.cc:5261
#18 0x0000556137819ef4 in open_and_lock_tables (flags=0, derived=true, tables=0x6290000873b8, thd=0x62b0000bd218) at /experiment/mariadb-server/sql/sql_base.h:509
#20 0x00005561378d2bb8 in mysql_execute_command (thd=0x62b0000bd218, is_called_from_prepared_stmt=<optimized out>) at /experiment/mariadb-server/sql/sql_parse.cc:4565
#21 0x00005561378df5a1 in mysql_parse (thd=0x62b0000bd218, rawbuf=<optimized out>, length=<optimized out>, parser_state=<optimized out>) at /experiment/mariadb-server/sql/sql_parse.cc:8030
#22 0x00005561378e560c in dispatch_command (command=<optimized out>, thd=0x62b0000bd218, packet=<optimized out>, packet_length=<optimized out>, blocking=<optimized out>) at /experiment/mariadb-server/sql/sql_parse.cc:1896
#23 0x00005561378ea73d in do_command (thd=0x62b0000bd218, blocking=blocking@entry=true) at /experiment/mariadb-server/sql/sql_parse.cc:1404
#24 0x0000556137ca5e57 in do_handle_one_connection (connect=<optimized out>, put_in_cache=<optimized out>) at /experiment/mariadb-server/sql/sql_connect.cc:1418
#25 0x0000556137ca633d in handle_one_connection (arg=arg@entry=0x6080000023b8) at /experiment/mariadb-server/sql/sql_connect.cc:1312
#26 0x0000556138736c2c in pfs_spawn_thread (arg=0x617000005f18) at /experiment/mariadb-server/storage/perfschema/pfs.cc:2201
#27 0x00007f9fe96df259 in start_thread () from /usr/lib/libpthread.so.0
#28 0x00007f9fe928a5e3 in clone () from /usr/lib/libc.so.6
Attachments
Issue Links
duplicates
MDEV-24176Server crashes after insert in the table with virtual column generated using date_format() and if()
Closed
is duplicated by
MDEV-26353MariaDB server crash in Arg_comparator::compare_real_fixed
Closed
MDEV-26354MariaDB server crash in Field::set_default - ASAN use after free in Item_args::walk_arg
Closed
MDEV-26407Server crashes in Item_func_in::cleanup/Item::cleanup_processor
Additional gdb option that expands the arguments some more rather than ... (for next time. We can work it out for the current ones). Thanks for the bu reports.
additional gdb option
set print frame-arguments all
Daniel Black
added a comment - - edited Thanks for the nice stack traces.
Additional gdb option that expands the arguments some more rather than ... (for next time. We can work it out for the current ones). Thanks for the bu reports.
additional gdb option
set print frame-arguments all
2) another case, that is derived from the test in description:
createtable t1 (vi intas ( case'x'whencurrent_user() then 1 end ) ) ;
select 1 from t1 where vi=1;
show createtable t1;
10.2 1f1d5606e08c928e3da98b
#3 <signal handler called>
#4 0x000055d764778405 in Item::print_parenthesised (this=0x7fec30013898, str=0x7fec83f66b10, query_type=665, parent_prec=DEFAULT_PRECEDENCE) at /10.2/src/sql/item.cc:604
#5 0x000055d7647ab009 in Item_func_case::print (this=0x7fec30035178, str=0x7fec83f66b10, query_type=665) at /10.2/src/sql/item_cmpfunc.cc:3381
#6 0x000055d764778459 in Item::print_parenthesised (this=0x7fec30035178, str=0x7fec83f66b10, query_type=665, parent_prec=LOWEST_PRECEDENCE) at /10.2/src/sql/item.cc:607
#7 0x000055d764590630 in Item::print_for_table_def (this=0x7fec30035178, str=0x7fec83f66b10) at /10.2/src/sql/item.h:1405
#8 0x000055d764590991 in Virtual_column_info::print (this=0x7fec300352f8, str=0x7fec83f66b10) at /10.2/src/sql/item.h:6256
#9 0x000055d764574186 in show_create_table (thd=0x7fec30000d90, table_list=0x7fec300127d8, packet=0x7fec83f67170, create_info_arg=0x0, with_db_name=WITHOUT_DB_NAME) at /10.2/src/sql/sql_show.cc:2045
#10 0x000055d764571a27 in mysqld_show_create_get_fields (thd=0x7fec30000d90, table_list=0x7fec300127d8, field_list=0x7fec83f67150, buffer=0x7fec83f67170) at /10.2/src/sql/sql_show.cc:1307
#11 0x000055d764571f3e in mysqld_show_create (thd=0x7fec30000d90, table_list=0x7fec300127d8) at /10.2/src/sql/sql_show.cc:1380
#12 0x000055d7644ddc0a in mysql_execute_command (thd=0x7fec30000d90) at /10.2/src/sql/sql_parse.cc:4016
#13 0x000055d7644e9b42 in mysql_parse (thd=0x7fec30000d90, rawbuf=0x7fec30012708 "show create table t1", length=20, parser_state=0x7fec83f68560, is_com_multi=false, is_next_command=false) at /10.2/src/sql/sql_parse.cc:7793
#14 0x000055d7644d7d9d in dispatch_command (command=COM_QUERY, thd=0x7fec30000d90, packet=0x7fec30008b61 "show create table t1", packet_length=20, is_com_multi=false, is_next_command=false) at /10.2/src/sql/sql_parse.cc:1827
#15 0x000055d7644d6898 in do_command (thd=0x7fec30000d90) at /10.2/src/sql/sql_parse.cc:1381
#16 0x000055d764632661 in do_handle_one_connection (connect=0x55d7679cfd10) at /10.2/src/sql/sql_connect.cc:1336
#17 0x000055d7646323c6 in handle_one_connection (arg=0x55d7679cfd10) at /10.2/src/sql/sql_connect.cc:1241
#18 0x000055d764e5bec4 in pfs_spawn_thread (arg=0x55d7679b2fd0) at /10.2/src/storage/perfschema/pfs.cc:1869
#19 0x00007fec8e1f0609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#20 0x00007fec8ddcb293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
3)
createtable t1 (vi intas ( case'x'whencurrent_user() then 1 end ) ) ;
CREATETABLE t1 ( v2 INT , v1 INTAS (( USER () LIKE'x' ) ) ) ;
SELECT 1 FROM t1 WHERE v1=1 ;
SELECT * FROM t1;
10.2 1f1d5606e08c928e3da98b
#3 <signal handler called>
#4 0x000055993dc9de91 in Item_args::walk_args (this=0x7f9c20035278, processor=&virtual table offset 880, walk_subquery=true, arg=0x0) at /10.2/src/sql/item.h:4134
#5 0x000055993e0f80b7 in Item_func_like::walk (this=0x7f9c200351f0, processor=&virtual table offset 880, walk_subquery=true, arg=0x0) at /10.2/src/sql/item_cmpfunc.h:2018
#6 0x000055993de182e3 in TABLE::mark_virtual_col (this=0x7f9c20175dc0, field=0x7f9c20176ad0) at /10.2/src/sql/table.cc:6807
#7 0x000055993dc99ed2 in insert_fields (thd=0x7f9c20000d90, context=0x7f9c20005128, db_name=0x0, table_name=0x0, it=0x7f9c7ad7f200, any_privileges=false, hidden_bit_fields=0x7f9c200053a0) at /10.2/src/sql/sql_base.cc:7780
#8 0x000055993dc981dd in setup_wild (thd=0x7f9c20000d90, tables=0x7f9c200128e0, fields=..., sum_func_list=0x7f9c20013320, wild_num=1, hidden_bit_fields=0x7f9c200053a0) at /10.2/src/sql/sql_base.cc:7151
#9 0x000055993dd41931 in JOIN::prepare (this=0x7f9c20013000, tables_init=0x7f9c200128e0, wild_num=1, conds_init=0x0, og_num=0, order_init=0x0, skip_order_by=false, group_init=0x0, having_init=0x0, proc_param_init=0x0, select_lex_arg=0x7f9c200050d8, unit_arg=0x7f9c20004988) at /10.2/src/sql/sql_select.cc:796
#10 0x000055993dd4c51a in mysql_select (thd=0x7f9c20000d90, tables=0x7f9c200128e0, wild_num=1, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7f9c20012fe0, unit=0x7f9c20004988, select_lex=0x7f9c200050d8) at /10.2/src/sql/sql_select.cc:3827
#11 0x000055993dd40720 in handle_select (thd=0x7f9c20000d90, lex=0x7f9c200048c8, result=0x7f9c20012fe0, setup_tables_done_option=0) at /10.2/src/sql/sql_select.cc:361
#12 0x000055993dd0ad86 in execute_sqlcom_select (thd=0x7f9c20000d90, all_tables=0x7f9c200128e0) at /10.2/src/sql/sql_parse.cc:6271
#13 0x000055993dd018fa in mysql_execute_command (thd=0x7f9c20000d90) at /10.2/src/sql/sql_parse.cc:3582
#14 0x000055993dd0eb42 in mysql_parse (thd=0x7f9c20000d90, rawbuf=0x7f9c20012708 "SELECT * FROM t1", length=16, parser_state=0x7f9c7ad80560, is_com_multi=false, is_next_command=false) at /10.2/src/sql/sql_parse.cc:7793
#15 0x000055993dcfcd9d in dispatch_command (command=COM_QUERY, thd=0x7f9c20000d90, packet=0x7f9c20008b61 "SELECT * FROM t1", packet_length=16, is_com_multi=false, is_next_command=false) at /10.2/src/sql/sql_parse.cc:1827
#16 0x000055993dcfb898 in do_command (thd=0x7f9c20000d90) at /10.2/src/sql/sql_parse.cc:1381
#17 0x000055993de57661 in do_handle_one_connection (connect=0x559940c2fac0) at /10.2/src/sql/sql_connect.cc:1336
#18 0x000055993de573c6 in handle_one_connection (arg=0x559940c2fac0) at /10.2/src/sql/sql_connect.cc:1241
#19 0x000055993e680ec4 in pfs_spawn_thread (arg=0x559940c12d80) at /10.2/src/storage/perfschema/pfs.cc:1869
#20 0x00007f9c80f5b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#21 0x00007f9c80b36293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
CREATETABLE t1 (v2 INTAS ( USER () LIKE'x')) ;
SELECT 1 FROM t1 ORDERBY v2 ;
ALTERTABLE t1 ADD i int;
10.2 1f1d5606e08c928e3da98b
#3 <signal handler called>
#4 0x000055cf0812ce91 in Item_args::walk_args (this=0x7f59e8035960, processor=&virtual table offset 1008, walk_subquery=false, arg=0x7f5a367ee4a0) at /10.2/src/sql/item.h:4134
#5 0x000055cf085870b7 in Item_func_like::walk (this=0x7f59e80358d8, processor=&virtual table offset 1008, walk_subquery=false, arg=0x7f5a367ee4a0) at /10.2/src/sql/item_cmpfunc.h:2018
#6 0x000055cf0825e0d1 in mysql_prepare_create_table (thd=0x7f59e8000d90, create_info=0x7f5a367f1250, alter_info=0x7f5a367f11a0, db_options=0x7f5a367ee8cc, file=0x7f59e80132a0, key_info_buffer=0x7f5a367eff90, key_count=0x7f5a367eff04, create_table_mode=-2, db=..., table_name=...) at /10.2/src/sql/sql_table.cc:4200
#7 0x000055cf0825fac6 in mysql_create_frm_image (thd=0x7f59e8000d90, db=0x7f59e8012e00 "test", table_name=0x7f59e80127a8 "t1", create_info=0x7f5a367f1250, alter_info=0x7f5a367f11a0, create_table_mode=-2, key_info=0x7f5a367eff90, key_count=0x7f5a367eff04, frm=0x7f5a367effd0) at /10.2/src/sql/sql_table.cc:4747
#9 0x000055cf0826c8d1 in mysql_alter_table (thd=0x7f59e8000d90, new_db=0x7f59e8012e00 "test", new_name=0x0, create_info=0x7f5a367f1250, table_list=0x7f59e80127e0, alter_info=0x7f5a367f11a0, order_num=0, order=0x0, ignore=false) at /10.2/src/sql/sql_table.cc:9531
#10 0x000055cf082ebc6c in Sql_cmd_alter_table::execute (this=0x7f59e8012ef0, thd=0x7f59e8000d90) at /10.2/src/sql/sql_alter.cc:333
#11 0x000055cf08198cdc in mysql_execute_command (thd=0x7f59e8000d90) at /10.2/src/sql/sql_parse.cc:6017
#12 0x000055cf0819db42 in mysql_parse (thd=0x7f59e8000d90, rawbuf=0x7f59e8012708 "ALTER TABLE t1 ADD i int", length=24, parser_state=0x7f5a367f2560, is_com_multi=false, is_next_command=false) at /10.2/src/sql/sql_parse.cc:7793
#13 0x000055cf0818bd9d in dispatch_command (command=COM_QUERY, thd=0x7f59e8000d90, packet=0x7f59e8008b61 "ALTER TABLE t1 ADD i int", packet_length=24, is_com_multi=false, is_next_command=false) at /10.2/src/sql/sql_parse.cc:1827
#14 0x000055cf0818a898 in do_command (thd=0x7f59e8000d90) at /10.2/src/sql/sql_parse.cc:1381
#15 0x000055cf082e6661 in do_handle_one_connection (connect=0x55cf0b5ead10) at /10.2/src/sql/sql_connect.cc:1336
#16 0x000055cf082e63c6 in handle_one_connection (arg=0x55cf0b5ead10) at /10.2/src/sql/sql_connect.cc:1241
#17 0x000055cf08b0fec4 in pfs_spawn_thread (arg=0x55cf0b5cdfd0) at /10.2/src/storage/perfschema/pfs.cc:1869
#18 0x00007f5a3c9cd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#19 0x00007f5a3c5a8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Alice Sherepa
added a comment - - edited from MDEV-26432 , with LIKE function
CREATE TABLE t1 ( v2 INT , v1 INT AS (( USER () LIKE 'x' ) ) ) ;
SELECT 1 FROM t1 WHERE v1=1 ;
SELECT * FROM t1;
10.2 1f1d5606e08c928e3da98b
#3 <signal handler called>
#4 0x000055993dc9de91 in Item_args::walk_args (this=0x7f9c20035278, processor=&virtual table offset 880, walk_subquery=true, arg=0x0) at /10.2/src/sql/item.h:4134
#5 0x000055993e0f80b7 in Item_func_like::walk (this=0x7f9c200351f0, processor=&virtual table offset 880, walk_subquery=true, arg=0x0) at /10.2/src/sql/item_cmpfunc.h:2018
#6 0x000055993de182e3 in TABLE::mark_virtual_col (this=0x7f9c20175dc0, field=0x7f9c20176ad0) at /10.2/src/sql/table.cc:6807
#7 0x000055993dc99ed2 in insert_fields (thd=0x7f9c20000d90, context=0x7f9c20005128, db_name=0x0, table_name=0x0, it=0x7f9c7ad7f200, any_privileges=false, hidden_bit_fields=0x7f9c200053a0) at /10.2/src/sql/sql_base.cc:7780
#8 0x000055993dc981dd in setup_wild (thd=0x7f9c20000d90, tables=0x7f9c200128e0, fields=..., sum_func_list=0x7f9c20013320, wild_num=1, hidden_bit_fields=0x7f9c200053a0) at /10.2/src/sql/sql_base.cc:7151
#9 0x000055993dd41931 in JOIN::prepare (this=0x7f9c20013000, tables_init=0x7f9c200128e0, wild_num=1, conds_init=0x0, og_num=0, order_init=0x0, skip_order_by=false, group_init=0x0, having_init=0x0, proc_param_init=0x0, select_lex_arg=0x7f9c200050d8, unit_arg=0x7f9c20004988) at /10.2/src/sql/sql_select.cc:796
#10 0x000055993dd4c51a in mysql_select (thd=0x7f9c20000d90, tables=0x7f9c200128e0, wild_num=1, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7f9c20012fe0, unit=0x7f9c20004988, select_lex=0x7f9c200050d8) at /10.2/src/sql/sql_select.cc:3827
#11 0x000055993dd40720 in handle_select (thd=0x7f9c20000d90, lex=0x7f9c200048c8, result=0x7f9c20012fe0, setup_tables_done_option=0) at /10.2/src/sql/sql_select.cc:361
#12 0x000055993dd0ad86 in execute_sqlcom_select (thd=0x7f9c20000d90, all_tables=0x7f9c200128e0) at /10.2/src/sql/sql_parse.cc:6271
#13 0x000055993dd018fa in mysql_execute_command (thd=0x7f9c20000d90) at /10.2/src/sql/sql_parse.cc:3582
#14 0x000055993dd0eb42 in mysql_parse (thd=0x7f9c20000d90, rawbuf=0x7f9c20012708 "SELECT * FROM t1", length=16, parser_state=0x7f9c7ad80560, is_com_multi=false, is_next_command=false) at /10.2/src/sql/sql_parse.cc:7793
#15 0x000055993dcfcd9d in dispatch_command (command=COM_QUERY, thd=0x7f9c20000d90, packet=0x7f9c20008b61 "SELECT * FROM t1", packet_length=16, is_com_multi=false, is_next_command=false) at /10.2/src/sql/sql_parse.cc:1827
#16 0x000055993dcfb898 in do_command (thd=0x7f9c20000d90) at /10.2/src/sql/sql_parse.cc:1381
#17 0x000055993de57661 in do_handle_one_connection (connect=0x559940c2fac0) at /10.2/src/sql/sql_connect.cc:1336
#18 0x000055993de573c6 in handle_one_connection (arg=0x559940c2fac0) at /10.2/src/sql/sql_connect.cc:1241
#19 0x000055993e680ec4 in pfs_spawn_thread (arg=0x559940c12d80) at /10.2/src/storage/perfschema/pfs.cc:1869
#20 0x00007f9c80f5b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#21 0x00007f9c80b36293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
CREATE TABLE t1 (v2 INT AS ( USER () LIKE 'x' )) ;
SELECT 1 FROM t1 ORDER BY v2 ;
ALTER TABLE t1 ADD i int ;
10.2 1f1d5606e08c928e3da98b
#3 <signal handler called>
#4 0x000055cf0812ce91 in Item_args::walk_args (this=0x7f59e8035960, processor=&virtual table offset 1008, walk_subquery=false, arg=0x7f5a367ee4a0) at /10.2/src/sql/item.h:4134
#5 0x000055cf085870b7 in Item_func_like::walk (this=0x7f59e80358d8, processor=&virtual table offset 1008, walk_subquery=false, arg=0x7f5a367ee4a0) at /10.2/src/sql/item_cmpfunc.h:2018
#6 0x000055cf0825e0d1 in mysql_prepare_create_table (thd=0x7f59e8000d90, create_info=0x7f5a367f1250, alter_info=0x7f5a367f11a0, db_options=0x7f5a367ee8cc, file=0x7f59e80132a0, key_info_buffer=0x7f5a367eff90, key_count=0x7f5a367eff04, create_table_mode=-2, db=..., table_name=...) at /10.2/src/sql/sql_table.cc:4200
#7 0x000055cf0825fac6 in mysql_create_frm_image (thd=0x7f59e8000d90, db=0x7f59e8012e00 "test", table_name=0x7f59e80127a8 "t1", create_info=0x7f5a367f1250, alter_info=0x7f5a367f11a0, create_table_mode=-2, key_info=0x7f5a367eff90, key_count=0x7f5a367eff04, frm=0x7f5a367effd0) at /10.2/src/sql/sql_table.cc:4747
#8 0x000055cf0826057a in create_table_impl (thd=0x7f59e8000d90, orig_db=0x7f59e8012e00 "test", orig_table_name=0x7f59e80127a8 "t1", db=0x7f59e8012e00 "test", table_name=0x7f5a367f0670 "#sql-619cc_9", path=0x7f5a367f0edc "./test/#sql-619cc_9", options=..., create_info=0x7f5a367f1250, alter_info=0x7f5a367f11a0, create_table_mode=-2, is_trans=0x0, key_info=0x7f5a367eff90, key_count=0x7f5a367eff04, frm=0x7f5a367effd0) at /10.2/src/sql/sql_table.cc:4996
#9 0x000055cf0826c8d1 in mysql_alter_table (thd=0x7f59e8000d90, new_db=0x7f59e8012e00 "test", new_name=0x0, create_info=0x7f5a367f1250, table_list=0x7f59e80127e0, alter_info=0x7f5a367f11a0, order_num=0, order=0x0, ignore=false) at /10.2/src/sql/sql_table.cc:9531
#10 0x000055cf082ebc6c in Sql_cmd_alter_table::execute (this=0x7f59e8012ef0, thd=0x7f59e8000d90) at /10.2/src/sql/sql_alter.cc:333
#11 0x000055cf08198cdc in mysql_execute_command (thd=0x7f59e8000d90) at /10.2/src/sql/sql_parse.cc:6017
#12 0x000055cf0819db42 in mysql_parse (thd=0x7f59e8000d90, rawbuf=0x7f59e8012708 "ALTER TABLE t1 ADD i int", length=24, parser_state=0x7f5a367f2560, is_com_multi=false, is_next_command=false) at /10.2/src/sql/sql_parse.cc:7793
#13 0x000055cf0818bd9d in dispatch_command (command=COM_QUERY, thd=0x7f59e8000d90, packet=0x7f59e8008b61 "ALTER TABLE t1 ADD i int", packet_length=24, is_com_multi=false, is_next_command=false) at /10.2/src/sql/sql_parse.cc:1827
#14 0x000055cf0818a898 in do_command (thd=0x7f59e8000d90) at /10.2/src/sql/sql_parse.cc:1381
#15 0x000055cf082e6661 in do_handle_one_connection (connect=0x55cf0b5ead10) at /10.2/src/sql/sql_connect.cc:1336
#16 0x000055cf082e63c6 in handle_one_connection (arg=0x55cf0b5ead10) at /10.2/src/sql/sql_connect.cc:1241
#17 0x000055cf08b0fec4 in pfs_spawn_thread (arg=0x55cf0b5cdfd0) at /10.2/src/storage/perfschema/pfs.cc:1869
#18 0x00007f5a3c9cd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#19 0x00007f5a3c5a8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thanks for the nice stack traces.
Additional gdb option that expands the arguments some more rather than ... (for next time. We can work it out for the current ones). Thanks for the bu reports.
additional gdb option
set print frame-arguments all