[MDEV-15376] [Draft] Server crashes in my_strnncoll_binary / l_find / l_search Created: 2018-02-21  Updated: 2019-03-04  Resolved: 2019-03-04

Status: Closed
Project: MariaDB Server
Component/s: Server
Affects Version/s: 10.1, 10.3
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Elena Stepanova
Resolution: Duplicate Votes: 0
Labels: None

Attachments: HTML File dump_info     Text File mysql.log    
Issue Links:
Duplicate
is duplicated by MDEV-18784 Server crashes in l_find, ASAN heap-u... Closed

 Description   

http://buildbot.askmonty.org/buildbot/builders/qa-win-rel/builds/4704/steps/result_summary/logs/stdio

10.3 9d97e6010ebdeab0579a8371d01f34118c518b30

180221  3:06:54 [ERROR] mysqld got exception 0xc0000005 ;
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.3.5-MariaDB-log
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=8
max_threads=65537
thread_count=14
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 136158 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
 
Thread pointer: 0xbef2714f48
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...
mysqld.exe!memcmp()[memcmp.asm:72]
mysqld.exe!my_strnncoll_binary()[ctype-bin.c:135]
mysqld.exe!l_find()[lf_hash.c:132]
mysqld.exe!l_search()[lf_hash.c:288]
mysqld.exe!lf_hash_search_using_hash_value()[lf_hash.c:490]
mysqld.exe!lf_hash_search()[lf_hash.c:533]
mysqld.exe!xid_cache_search()[sql_class.cc:5813]
mysqld.exe!trans_xa_commit()[transaction.cc:927]
mysqld.exe!mysql_execute_command()[sql_parse.cc:6114]
mysqld.exe!mysql_parse()[sql_parse.cc:7985]
mysqld.exe!dispatch_command()[sql_parse.cc:1827]
mysqld.exe!do_command()[sql_parse.cc:1369]
mysqld.exe!threadpool_process_request()[threadpool_common.cc:358]
mysqld.exe!tp_callback()[threadpool_common.cc:186]
KERNEL32.DLL!VirtualUnlock()
ntdll.dll!RtlGetActiveActivationContext()
ntdll.dll!RtlFreeUnicodeString()
KERNEL32.DLL!BaseThreadInitThunk()
ntdll.dll!RtlUserThreadStart()
 
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0xbef2883680): XA COMMIT 'xid161'  /* QNO 4819 CON_ID 20 */
Connection ID (thread ID): 75
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,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on

perl E:\buildbot\rqg/runall-new.pl --no-mask --queries=100M --duration=350 --threads=6 --seed=1519182172 --reporters=Backtrace,ErrorLog --validators=TransformerNoComparator --transformers=ExecuteAsCTE,ExecuteAsDeleteReturning,ExecuteAsExcept,ExecuteAsExecuteImmediate,ExecuteAsInsertSelect,ExecuteAsIntersect,ExecuteAsUnion,ExecuteAsUpdateDelete,ExecuteAsView,ExecuteAsPreparedTwice,ExecuteAsSPTwice --redefine=conf/mariadb/general-workarounds.yy --mysqld=--log_output=FILE --views --vcols --redefine=conf/mariadb/alter_table.yy --redefine=conf/mariadb/bulk_insert.yy --redefine=conf/mariadb/xa.yy --redefine=conf/mariadb/versioning.yy --redefine=conf/mariadb/sequences.yy --mysqld=--log_bin_trust_function_creators=1 --mysqld=--log-bin --mysqld=--loose-max-statement-time=30 --mysqld=--loose-debug_assert_on_not_freed_memory=0 --grammar=conf/runtime/connect_kill_sql.yy --gendata=conf/runtime/connect_kill_data.zz --engine=InnoDB --mtr-build-thread=140 --basedir1=D:\qa-win-rel\install --vardir1=E:\buildbot\vardirs\qa-win-rel\10.3-4704\optim-combo/current1_1 > E:\buildbot\vardirs\qa-win-rel\10.3-4704\optim-combo/trial26.log



 Comments   
Comment by Elena Stepanova [ 2019-03-04 ]

Possibly a duplicate of MDEV-18784.

Generated at Thu Feb 08 08:20:49 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.