pure virtual method called terminate called without an active exception 180723 12:22:57 [ERROR] mysqld got signal 6 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. To report this bug, see https://mariadb.com/kb/en/reporting-bugs We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. Server version: 10.2.16-MariaDB-log key_buffer_size=134217728 read_buffer_size=4194304 max_used_connections=2 max_threads=1026 thread_count=6 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 12760453 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7febf8000a88 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... stack_bottom = 0x7fec05a4ae48 thread_stack 0x49000 /usr/local/mysql/bin/mysqld(my_print_stacktrace+0x2e)[0xde515e] /usr/local/mysql/bin/mysqld(handle_fatal_signal+0x471)[0x7e2621] /lib64/libpthread.so.0[0x365640f7e0] /lib64/libc.so.6(gsignal+0x35)[0x3656032495] /lib64/libc.so.6(abort+0x175)[0x3656033c75] /usr/lib64/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x12d)[0x365d4bea8d] /usr/lib64/libstdc++.so.6[0x365d4bcbe6] /usr/lib64/libstdc++.so.6[0x365d4bcc13] /usr/lib64/libstdc++.so.6[0x365d4bd56f] /usr/local/mysql/bin/mysqld(_ZN12Item_func_in7val_intEv+0x38)[0x827c78] /usr/local/mysql/bin/mysqld[0x6329ae] /usr/local/mysql/bin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x138)[0x632c38] /usr/local/mysql/bin/mysqld(_ZN4JOIN10exec_innerEv+0xd0f)[0x6501bf] /usr/local/mysql/bin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x1fc)[0x64e9bc] /usr/local/mysql/bin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x254)[0x6505d4] /usr/local/mysql/bin/mysqld[0x5e7ce4] /usr/local/mysql/bin/mysqld(_Z21mysql_execute_commandP3THD+0x1264)[0x5eb1f4] /usr/local/mysql/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x3a2)[0x5f5132] /usr/local/mysql/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x26e2)[0x5f8742] /usr/local/mysql/bin/mysqld(_Z10do_commandP3THD+0x165)[0x5f9085] /usr/local/mysql/bin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x235)[0x6df425] /usr/local/mysql/bin/mysqld(handle_one_connection+0x3f)[0x6df5ef] /lib64/libpthread.so.0[0x3656407aa1] /lib64/libc.so.6(clone+0x6d)[0x36560e8bdd] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7febf800f990): select id,val1,val2 from view_bug10_2_16 where ( (val1,val2) in ((1,-1),(2,2))) Connection ID (thread ID): 9 Status: NOT_KILLED 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,mat erialization=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_cach e_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