Details
Description
../sql/sql_select.h:1559:18: runtime error: null pointer passed as argument 2, which is declared to never be null
|
/usr/include/string.h:43:28: note: nonnull attribute specified here
|
#0 0x196fcd6 in JOIN::copy_ref_ptr_array(Bounds_checked_array<Item*>, Bounds_checked_array<Item*>) /home/kevg/work/m/bb-10.2-kevgs/build_ubsan/../sql/sql_select.h:1559:5
|
#1 0x196a5fa in JOIN::set_items_ref_array(Bounds_checked_array<Item*>) /home/kevg/work/m/bb-10.2-kevgs/build_ubsan/../sql/sql_select.h:1565:5
|
#2 0x189610a in JOIN::make_aggr_tables_info() /home/kevg/work/m/bb-10.2-kevgs/build_ubsan/../sql/sql_select.cc:2927:3
|
#3 0x1854cfa in JOIN::optimize_inner() /home/kevg/work/m/bb-10.2-kevgs/build_ubsan/../sql/sql_select.cc:2237:7
|
#4 0x1849cb2 in JOIN::optimize() /home/kevg/work/m/bb-10.2-kevgs/build_ubsan/../sql/sql_select.cc:1113:12
|
#5 0x15da6e5 in subselect_single_select_engine::exec() /home/kevg/work/m/bb-10.2-kevgs/build_ubsan/../sql/item_subselect.cc:3818:15
|
#6 0x15b7e61 in Item_subselect::exec() /home/kevg/work/m/bb-10.2-kevgs/build_ubsan/../sql/item_subselect.cc:722:21
|
#7 0x15bd7cb in Item_singlerow_subselect::val_str(String*) /home/kevg/work/m/bb-10.2-kevgs/build_ubsan/../sql/item_subselect.cc:1346:8
|
#8 0x1034a4f in Item_func_set_user_var::check(bool) /home/kevg/work/m/bb-10.2-kevgs/build_ubsan/../sql/item_func.cc:5081:33
|
#9 0x136ef5c in set_var_user::check(THD*) /home/kevg/work/m/bb-10.2-kevgs/build_ubsan/../sql/set_var.cc:872:26
|
#10 0x136dd99 in sql_set_variables(THD*, List<set_var_base>*, bool) /home/kevg/work/m/bb-10.2-kevgs/build_ubsan/../sql/set_var.cc:731:22
|
#11 0x17171b8 in mysql_execute_command(THD*) /home/kevg/work/m/bb-10.2-kevgs/build_ubsan/../sql/sql_parse.cc:4590:16
|
#12 0x16fc3c6 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /home/kevg/work/m/bb-10.2-kevgs/build_ubsan/../sql/sql_parse.cc:7739:18
|
#13 0x16f34f9 in handle_bootstrap_impl(THD*) /home/kevg/work/m/bb-10.2-kevgs/build_ubsan/../sql/sql_parse.cc:1049:5
|
#14 0x16f2238 in do_handle_bootstrap(THD*) /home/kevg/work/m/bb-10.2-kevgs/build_ubsan/../sql/sql_parse.cc:1101:3
|
#15 0x16f1f70 in handle_bootstrap /home/kevg/work/m/bb-10.2-kevgs/build_ubsan/../sql/sql_parse.cc:1084:3
|
#16 0x7f6f23b0d668 in start_thread /build/glibc-t7JzpG/glibc-2.30/nptl/pthread_create.c:479:8
|
#17 0x7f6f22fd6322 in clone /build/glibc-t7JzpG/glibc-2.30/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
This happens during a server bootstrap.