Details
Description
Query:
INSERT INTO t1 (page_id, variable_name, value) SELECT 308, 'xxx', 50 FROM dual WHERE 'xxx' IN (SELECT alias FROM t2); |
Log:
Mar 12 10:41:32 uvn-234-24 mysqld: 190312 10:41:32 [ERROR] mysqld got signal 11 ; |
Mar 12 10:41:32 uvn-234-24 mysqld: This could be because you hit a bug. It is also possible that this binary |
Mar 12 10:41:32 uvn-234-24 mysqld: or one of the libraries it was linked against is corrupt, improperly built, |
Mar 12 10:41:32 uvn-234-24 mysqld: or misconfigured. This error can also be caused by malfunctioning hardware. |
Mar 12 10:41:32 uvn-234-24 mysqld: To report this bug, see https://mariadb.com/kb/en/reporting-bugs |
Mar 12 10:41:32 uvn-234-24 mysqld: We will try our best to scrape up some info that will hopefully help |
Mar 12 10:41:32 uvn-234-24 mysqld: diagnose the problem, but since we have already crashed, |
Mar 12 10:41:32 uvn-234-24 mysqld: something is definitely wrong and this may fail. |
Mar 12 10:41:32 uvn-234-24 mysqld: Server version: 10.2.22-MariaDB |
Mar 12 10:41:32 uvn-234-24 mysqld: key_buffer_size=134217728 |
Mar 12 10:41:32 uvn-234-24 mysqld: read_buffer_size=131072 |
Mar 12 10:41:32 uvn-234-24 mysqld: max_used_connections=2 |
Mar 12 10:41:32 uvn-234-24 mysqld: max_threads=153 |
Mar 12 10:41:32 uvn-234-24 mysqld: thread_count=8 |
Mar 12 10:41:32 uvn-234-24 mysqld: It is possible that mysqld could use up to |
Mar 12 10:41:32 uvn-234-24 mysqld: key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467240 K bytes of memory |
Mar 12 10:41:32 uvn-234-24 mysqld: Hope that's ok; if not, decrease some variables in the equation. |
Mar 12 10:41:32 uvn-234-24 mysqld: Thread pointer: 0x7fce68000a88 |
Mar 12 10:41:32 uvn-234-24 mysqld: Attempting backtrace. You can use the following information to find out |
Mar 12 10:41:32 uvn-234-24 mysqld: where mysqld died. If you see no messages after this, something went |
Mar 12 10:41:32 uvn-234-24 mysqld: terribly wrong... |
Mar 12 10:41:32 uvn-234-24 mysqld: stack_bottom = 0x7fce6c3f1d70 thread_stack 0x49000 |
Mar 12 10:41:33 uvn-234-24 mysqld: /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x7fce7c06bd6e] |
Mar 12 10:41:33 uvn-234-24 mysqld: mysys/stacktrace.c:268(my_print_stacktrace)[0x7fce7baed665] |
Mar 12 10:41:33 uvn-234-24 mysqld: sigaction.c:0(__restore_rt)[0x7fce7b04c5e0] |
Mar 12 10:41:33 uvn-234-24 mysqld: sql/opt_subselect.cc:1715(convert_join_subqueries_to_semijoins(JOIN*))[0x7fce7ba5b163] |
Mar 12 10:41:33 uvn-234-24 mysqld: sql/sql_select.cc:1259(JOIN::optimize_inner())[0x7fce7b9a8cf4] |
Mar 12 10:41:33 uvn-234-24 mysqld: sql/sql_select.cc:1116(JOIN::optimize())[0x7fce7b9ab93f] |
Mar 12 10:41:33 uvn-234-24 mysqld: sql/sql_select.cc:3804(mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*))[0x7fce7b9ad0b4] |
Mar 12 10:41:33 uvn-234-24 mysqld: sql/sql_select.cc:376(handle_select(THD*, LEX*, select_result*, unsigned long))[0x7fce7b9adc94] |
Mar 12 10:41:33 uvn-234-24 mysqld: sql/sql_parse.cc:4548(mysql_execute_command(THD*))[0x7fce7b95dc8f] |
Mar 12 10:41:33 uvn-234-24 mysqld: sql/sql_parse.cc:8019(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x7fce7b95f43e] |
Mar 12 10:41:33 uvn-234-24 mysqld: sql/sql_parse.cc:1829(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x7fce7b962565] |
Mar 12 10:41:33 uvn-234-24 mysqld: sql/sql_parse.cc:1381(do_command(THD*))[0x7fce7b963165] |
Mar 12 10:41:33 uvn-234-24 mysqld: sql/sql_connect.cc:1336(do_handle_one_connection(CONNECT*))[0x7fce7ba2abaa] |
Mar 12 10:41:33 uvn-234-24 mysqld: sql/sql_connect.cc:1244(handle_one_connection)[0x7fce7ba2accd] |
Mar 12 10:41:33 uvn-234-24 mysqld: pthread_create.c:0(start_thread)[0x7fce7b044e25] |
Mar 12 10:41:33 uvn-234-24 mysqld: /lib64/libc.so.6(clone+0x6d)[0x7fce7961c34d] |
Mar 12 10:41:33 uvn-234-24 mysqld: Trying to get some variables. |
Mar 12 10:41:33 uvn-234-24 mysqld: Some pointers may be invalid and cause the dump to abort. |
Mar 12 10:41:33 uvn-234-24 mysqld: Query (0x7fce680110c0): INSERT INTO t1 (page_id, variable_name, value) SELECT 308, 'xxx', 50 FROM dual WHERE 'xxx' IN (SELECT alias FROM t2) |
Mar 12 10:41:33 uvn-234-24 mysqld: Connection ID (thread ID): 25 |
Mar 12 10:41:33 uvn-234-24 mysqld: Status: NOT_KILLED |
Mar 12 10:41:33 uvn-234-24 mysqld: Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on |
Mar 12 10:41:33 uvn-234-24 mysqld: The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains |
Mar 12 10:41:33 uvn-234-24 mysqld: information that should help you find out what is causing the crash. |
Attachments
Issue Links
- is duplicated by
-
MDEV-19618 crash in insert select with sub query
- Closed