|
Thank you for the report! I repeated as described:
Version: '10.4.32-MariaDB-debug-log'
|
mysqld: /10.4/src/sql/table.cc:6761: void Field_iterator_table_ref::set_field_iterator(): Assertion `table_ref->is_natural_join || table_ref->nested_join || (table_ref->join_columns && ((table_ref->field_translation && table_ref->join_columns->elements == (ulong)(table_ref->field_translation_end - table_ref->field_translation)) || (!table_ref->field_translation && table_ref->join_columns->elements == table_ref->table->s->fields)))' failed.
|
231102 15:03:07 [ERROR] mysqld got signal 6 ;
|
|
Server version: 10.4.32-MariaDB-debug-log source revision: b4de67da451b580989843fd63c0d248f7b8b3a53
|
|
/lib/x86_64-linux-gnu/libc.so.6(+0x33fd6)[0x7f8f8d8f6fd6]
|
sql/table.cc:6761(Field_iterator_table_ref::set_field_iterator())[0x55e4aa988af0]
|
sql/table.cc:6805(Field_iterator_table_ref::set(TABLE_LIST*))[0x55e4aa9893c6]
|
sql/sql_base.cc:7227(store_natural_using_join_columns(THD*, TABLE_LIST*, TABLE_LIST*, TABLE_LIST*, List<String>*, unsigned int))[0x55e4aa4c95e6]
|
sql/sql_base.cc:7438(store_top_level_join_columns(THD*, TABLE_LIST*, TABLE_LIST*, TABLE_LIST*))[0x55e4aa4ca8c8]
|
sql/sql_base.cc:7549(setup_natural_join_row_types(THD*, List<TABLE_LIST>*, Name_resolution_context*))[0x55e4aa4cb249]
|
sql/sql_base.cc:8052(setup_tables(THD*, Name_resolution_context*, List<TABLE_LIST>*, TABLE_LIST*, List<TABLE_LIST>&, bool, bool))[0x55e4aa4cf44a]
|
sql/sql_base.cc:8091(setup_tables_and_check_access(THD*, Name_resolution_context*, List<TABLE_LIST>*, TABLE_LIST*, List<TABLE_LIST>&, bool, unsigned long, unsigned long, bool))[0x55e4aa4cf87e]
|
sql/sql_select.cc:1255(JOIN::prepare(TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x55e4aa6f6fa4]
|
sql/sql_union.cc:662(st_select_lex_unit::prepare_join(THD*, st_select_lex*, select_result*, unsigned long, bool))[0x55e4aa90982e]
|
sql/sql_union.cc:1009(st_select_lex_unit::prepare(TABLE_LIST*, select_result*, unsigned long))[0x55e4aa90cfcd]
|
sql/sql_derived.cc:824(mysql_derived_prepare(THD*, LEX*, TABLE_LIST*))[0x55e4aa56e739]
|
sql/sql_derived.cc:200(mysql_handle_single_derived(LEX*, TABLE_LIST*, unsigned int))[0x55e4aa56ab0a]
|
sql/table.cc:9090(TABLE_LIST::handle_derived(LEX*, unsigned int))[0x55e4aa9998a7]
|
sql/sql_lex.h:4403(LEX::handle_list_of_derived(TABLE_LIST*, unsigned int))[0x55e4aa5b3050]
|
sql/sql_lex.cc:4307(st_select_lex::handle_derived(LEX*, unsigned int))[0x55e4aa5d51b3]
|
sql/sql_select.cc:1243(JOIN::prepare(TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x55e4aa6f6cb4]
|
sql/sql_union.cc:662(st_select_lex_unit::prepare_join(THD*, st_select_lex*, select_result*, unsigned long, bool))[0x55e4aa90982e]
|
sql/sql_union.cc:1089(st_select_lex_unit::prepare(TABLE_LIST*, select_result*, unsigned long))[0x55e4aa90dbb5]
|
sql/sql_cte.cc:1246(With_element::prepare_unreferenced(THD*))[0x55e4aac1b220]
|
sql/sql_cte.cc:921(With_clause::prepare_unreferenced_elements(THD*))[0x55e4aac198a0]
|
sql/sql_select.cc:1443(JOIN::prepare(TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x55e4aa6f963f]
|
sql/sql_union.cc:662(st_select_lex_unit::prepare_join(THD*, st_select_lex*, select_result*, unsigned long, bool))[0x55e4aa90982e]
|
sql/sql_union.cc:1009(st_select_lex_unit::prepare(TABLE_LIST*, select_result*, unsigned long))[0x55e4aa90cfcd]
|
sql/sql_view.cc:541(mysql_create_view(THD*, TABLE_LIST*, enum_view_create_mode))[0x55e4aa93d64c]
|
sql/sql_parse.cc:6033(mysql_execute_command(THD*))[0x55e4aa657074]
|
sql/sql_parse.cc:8013(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x55e4aa663d6f]
|
sql/sql_parse.cc:1860(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x55e4aa63a131]
|
sql/sql_parse.cc:1378(do_command(THD*))[0x55e4aa636c5c]
|
sql/sql_connect.cc:1420(do_handle_one_connection(CONNECT*))[0x55e4aaa4655f]
|
sql/sql_connect.cc:1325(handle_one_connection)[0x55e4aaa45e03]
|
perfschema/pfs.cc:1871(pfs_spawn_thread)[0x55e4ab6e2498]
|
nptl/pthread_create.c:478(start_thread)[0x7f8f8de11609]
|
|
Query (0x62b0000a1290): CREATE VIEW x AS WITH RECURSIVE x ( x ) AS ( WITH x AS ( SELECT 1 FROM x AS x NATURAL INNER JOIN x AS x ORDER BY EXISTS ( WITH x AS ( SELECT x ( x ) FROM x GROUP BY x ORDER BY x ) SELECT 1 ) DESC ) SELECT 1 UNION SELECT x IN ( 'x' = x ) FROM x ) SELECT 1
|
on 10.5-11.2
|
|
Version: '10.5.23-MariaDB-debug-log'
|
mariadbd: /10.5/src/sql/sql_select.cc:18839: TABLE* Create_tmp_table::start(THD*, TMP_TABLE_PARAM*, const LEX_CSTRING*): Assertion `m_alloced_field_count' failed.
|
231102 15:07:02 [ERROR] mysqld got signal 6 ;
|
|
Server version: 10.5.23-MariaDB-debug-log source revision: b06ac9a8cd2146e89270cc2150d306d8ed1b33fb
|
|
/lib/x86_64-linux-gnu/libc.so.6(+0x33fd6)[0x7ffa68da9fd6]
|
sql/sql_select.cc:18840(Create_tmp_table::start(THD*, TMP_TABLE_PARAM*, st_mysql_const_lex_string const*))[0x5589509a1a31]
|
sql/sql_select.cc:19697(create_tmp_table(THD*, TMP_TABLE_PARAM*, List<Item>&, st_order*, bool, bool, unsigned long long, unsigned long long, st_mysql_const_lex_string const*, bool, bool))[0x5589509ad3a9]
|
sql/sql_union.cc:351(select_unit::create_result_table(THD*, List<Item>*, bool, unsigned long long, st_mysql_const_lex_string const*, bool, bool, bool, unsigned int))[0x558950b5c24e]
|
sql/sql_derived.cc:697(mysql_derived_prepare(THD*, LEX*, TABLE_LIST*))[0x55895077fcbb]
|
sql/sql_derived.cc:200(mysql_handle_single_derived(LEX*, TABLE_LIST*, unsigned int))[0x55895077d15b]
|
sql/table.cc:9312(TABLE_LIST::handle_derived(LEX*, unsigned int))[0x558950bf5933]
|
sql/sql_lex.h:4455(LEX::handle_list_of_derived(TABLE_LIST*, unsigned int))[0x5589507c748c]
|
sql/sql_lex.cc:4922(st_select_lex::handle_derived(LEX*, unsigned int))[0x5589507eda1f]
|
sql/table.cc:9309(TABLE_LIST::handle_derived(LEX*, unsigned int))[0x558950bf58a5]
|
sql/sql_lex.h:4455(LEX::handle_list_of_derived(TABLE_LIST*, unsigned int))[0x5589507c748c]
|
sql/sql_lex.cc:4922(st_select_lex::handle_derived(LEX*, unsigned int))[0x5589507eda1f]
|
sql/sql_select.cc:1250(JOIN::prepare(TABLE_LIST*, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x55895091a269]
|
sql/sql_union.cc:1103(st_select_lex_unit::prepare_join(THD*, st_select_lex*, select_result*, unsigned long long, bool))[0x558950b62f01]
|
sql/sql_union.cc:1576(st_select_lex_unit::prepare(TABLE_LIST*, select_result*, unsigned long long))[0x558950b67715]
|
sql/sql_cte.cc:1283(With_element::prepare_unreferenced(THD*))[0x558950eb432d]
|
sql/sql_cte.cc:922(With_clause::prepare_unreferenced_elements(THD*))[0x558950eb231c]
|
sql/sql_select.cc:1429(JOIN::prepare(TABLE_LIST*, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x55895091c95c]
|
sql/sql_union.cc:1103(st_select_lex_unit::prepare_join(THD*, st_select_lex*, select_result*, unsigned long long, bool))[0x558950b62f01]
|
sql/sql_union.cc:1496(st_select_lex_unit::prepare(TABLE_LIST*, select_result*, unsigned long long))[0x558950b66b35]
|
sql/sql_view.cc:547(mysql_create_view(THD*, TABLE_LIST*, enum_view_create_mode))[0x558950b9872b]
|
sql/sql_parse.cc:5887(mysql_execute_command(THD*))[0x558950873e29]
|
sql/sql_parse.cc:8120(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x5589508829bf]
|
sql/sql_parse.cc:1894(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x5589508583ed]
|
sql/sql_parse.cc:1375(do_command(THD*))[0x558950854d55]
|
sql/sql_connect.cc:1416(do_handle_one_connection(CONNECT*, bool))[0x558950cb39a3]
|
sql/sql_connect.cc:1320(handle_one_connection)[0x558950cb3307]
|
perfschema/pfs.cc:2203(pfs_spawn_thread)[0x55895193fb02]
|
nptl/pthread_create.c:478(start_thread)[0x7ffa692c4609]
|
|
Query (0x62b0000852a8): CREATE VIEW x AS WITH RECURSIVE x ( x ) AS ( WITH x AS ( SELECT 1 FROM x AS x NATURAL INNER JOIN x AS x ORDER BY EXISTS ( WITH x AS ( SELECT x ( x ) FROM x GROUP BY x ORDER BY x ) SELECT 1 ) DESC ) SELECT 1 UNION SELECT x IN ( 'x' = x ) FROM x ) SELECT 1
|
|
231102 14:54:44 [ERROR] mysqld got signal 11 ;
|
|
Server version: 11.1.2-MariaDB source revision: 9bc25d98209df6810f7a7d5e7dd3ae677a313ab5
|
|
mysys/stacktrace.c:216(my_print_stacktrace)[0x5633ee8bfc3e]
|
sql/signal_handler.cc:241(handle_fatal_signal)[0x5633ee2b21f7]
|
sigaction.c:0(__restore_rt)[0x7f4104118420]
|
sql/sql_list.h:441(base_list_iterator::next_fast())[0x5633ee136c83]
|
sql/sql_base.cc:7564(store_top_level_join_columns(THD*, TABLE_LIST*, TABLE_LIST*, TABLE_LIST*))[0x5633edff98d5]
|
sql/sql_base.cc:7886(setup_tables(THD*, Name_resolution_context*, List<TABLE_LIST>*, TABLE_LIST*, List<TABLE_LIST>&, bool, bool))[0x5633edffa089]
|
sql/sql_base.cc:8440(setup_tables_and_check_access(THD*, Name_resolution_context*, List<TABLE_LIST>*, TABLE_LIST*, List<TABLE_LIST>&, bool, privilege_t, privilege_t, bool))[0x5633edffa222]
|
sql/sql_select.cc:1450(JOIN::prepare(TABLE_LIST*, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x5633ee0bc924]
|
sql/sql_union.cc:1115(st_select_lex_unit::prepare_join(THD*, st_select_lex*, select_result*, unsigned long long, bool))[0x5633ee11edbc]
|
sql/sql_union.cc:1583(st_select_lex_unit::prepare(TABLE_LIST*, select_result*, unsigned long long))[0x5633ee122c7c]
|
sql/sql_derived.cc:840(mysql_derived_prepare(THD*, LEX*, TABLE_LIST*))[0x5633ee02116d]
|
sql/sql_derived.cc:200(mysql_handle_single_derived(LEX*, TABLE_LIST*, unsigned int))[0x5633ee01fc7d]
|
sql/sql_lex.h:4552(LEX::handle_list_of_derived(TABLE_LIST*, unsigned int))[0x5633ee03b9b7]
|
sql/sql_select.cc:1439(JOIN::prepare(TABLE_LIST*, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x5633ee0bc386]
|
sql/sql_union.cc:1115(st_select_lex_unit::prepare_join(THD*, st_select_lex*, select_result*, unsigned long long, bool))[0x5633ee11edbc]
|
sql/sql_union.cc:1659(st_select_lex_unit::prepare(TABLE_LIST*, select_result*, unsigned long long))[0x5633ee121e51]
|
sql/sql_cte.cc:1283(With_element::prepare_unreferenced(THD*))[0x5633ee217838]
|
sql/sql_cte.cc:922(With_clause::prepare_unreferenced_elements(THD*))[0x5633ee2178ad]
|
sql/sql_select.cc:1620(JOIN::prepare(TABLE_LIST*, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x5633ee0bd0aa]
|
sql/sql_union.cc:1115(st_select_lex_unit::prepare_join(THD*, st_select_lex*, select_result*, unsigned long long, bool))[0x5633ee11edbc]
|
sql/sql_union.cc:1583(st_select_lex_unit::prepare(TABLE_LIST*, select_result*, unsigned long long))[0x5633ee122c7c]
|
sql/sql_view.cc:556(mysql_create_view(THD*, TABLE_LIST*, enum_view_create_mode))[0x5633ee132d1b]
|
sql/sql_parse.cc:5584(mysql_execute_command(THD*, bool))[0x5633ee062213]
|
sql/sql_parse.cc:7787(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x5633ee06591b]
|
sql/sql_parse.cc:1951(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool))[0x5633ee067d58]
|
sql/sql_parse.cc:1407(do_command(THD*, bool))[0x5633ee069283]
|
sql/sql_connect.cc:1416(do_handle_one_connection(CONNECT*, bool))[0x5633ee1760c7]
|
sql/sql_connect.cc:1324(handle_one_connection)[0x5633ee176364]
|
perfschema/pfs.cc:2204(pfs_spawn_thread)[0x5633ee501e5c]
|
nptl/pthread_create.c:478(start_thread)[0x7f410410c609]
|
|
Query (0x7f4080010c40): CREATE VIEW x AS WITH RECURSIVE x ( x ) AS ( WITH x AS ( SELECT 1 FROM x AS x NATURAL INNER JOIN x AS x ORDER BY EXISTS ( WITH x AS ( SELECT x ( x ) FROM x GROUP BY x ORDER BY x ) SELECT 1 ) DESC ) SELECT 1 UNION SELECT x IN ( 'x' = x ) FROM x ) SELECT 1
|
|