Details
-
Bug
-
Status: Closed (View Workflow)
-
Trivial
-
Resolution: Fixed
-
10.1.11, 10.1.14
-
None
-
system:CentOS Linux release 7.0.1406 (Core)
Description
- SQL
create table test
(
id varchar(20) not null,
key idx_a(id)
);
select * from test where id not in(null); – ok
select * from test where id not in('123'); – ok
select * from test where id not in(null,'123'); – crash
it's ok when no index.
- LOG
[ERROR] mysqld got signal 11 ;
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 http://kb.askmonty.org/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.1.11-MariaDB-log
key_buffer_size=33554432
read_buffer_size=131072
max_used_connections=1
max_threads=202
thread_count=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 476432 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0x7f97817a8008
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 = 0x7f97896c3258 thread_stack 0x48400
/usr/local/mariadb101/bin/mysqld(my_print_stacktrace+0x2e)[0xbfee2e]
/usr/local/mariadb101/bin/mysqld(handle_fatal_signal+0x464)[0x7631e4]
/lib64/libpthread.so.0(+0xf5f0)[0x7f97893565f0]
/usr/local/mariadb101/bin/mysqld(_ZN9in_string13value_to_itemEjP4Item+0x80)[0x7acaf0]
/usr/local/mariadb101/bin/mysqld(_ZN12Item_func_in16get_func_mm_treeEP15RANGE_OPT_PARAMP5FieldP4Item+0x381)[0x88b691]
/usr/local/mariadb101/bin/mysqld(_ZN14Item_bool_func21get_full_func_mm_treeEP15RANGE_OPT_PARAMP10Item_fieldP4Item+0x1ab)[0x88233b]
/usr/local/mariadb101/bin/mysqld(_ZN10SQL_SELECT17test_quick_selectEP3THD6BitmapILj64EEyybbb+0x43a)[0x88700a]
/usr/local/mariadb101/bin/mysqld[0x601851]
/usr/local/mariadb101/bin/mysqld(_ZN4JOIN14optimize_innerEv+0x8dd)[0x6027dd]
/usr/local/mariadb101/bin/mysqld(_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x9e)[0x6059ce]
/usr/local/mariadb101/bin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x250)[0x6097a0]
/usr/local/mariadb101/bin/mysqld[0x5ac4b8]
/usr/local/mariadb101/bin/mysqld(_Z21mysql_execute_commandP3THD+0x1538)[0x5b1058]
/usr/local/mariadb101/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x259)[0x5b9399]
/usr/local/mariadb101/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x23a7)[0x5bc3c7]
/usr/local/mariadb101/bin/mysqld(_Z10do_commandP3THD+0x2a7)[0x5bc7c7]
/usr/local/mariadb101/bin/mysqld(_Z24do_handle_one_connectionP3THD+0x183)[0x68b253]
/usr/local/mariadb101/bin/mysqld(handle_one_connection+0x42)[0x68b472]
/usr/local/mariadb101/bin/mysqld[0xb010b9]
/lib64/libpthread.so.0(+0x7e65)[0x7f978934ee65]
/lib64/libc.so.6(clone+0x6d)[0x7f9787ff588d]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7f9752821020): is an invalid pointer
Connection ID (thread ID): 3
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,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