Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.4.28, 10.4(EOL)
-
None
-
Windows Server 2008R2
Description
Mariadb crashes about once per several days.
Following is the error log.
I can upload full heap dump if needed.
230421 17:04:31 [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.4.28-MariaDB source revision: c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7
|
key_buffer_size=134217728
|
read_buffer_size=131072
|
max_used_connections=12
|
max_threads=65537
|
thread_count=16
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 136398 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x33c874a8
|
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...
|
ntdll.dll!RtlFreeHeap()
|
ucrtbase.DLL!_free_base()
|
mysqld.exe!btr_search_build_page_hash_index()[btr0sea.cc:1521]
|
mysqld.exe!btr_search_info_update_slow()[btr0sea.cc:1573]
|
mysqld.exe!btr_cur_search_to_nth_level()[btr0cur.cc:2491]
|
mysqld.exe!btr_pcur_open_low()[btr0pcur.inl:441]
|
mysqld.exe!row_search_on_row_ref()[row0row.cc:1217]
|
mysqld.exe!row_purge_reposition_pcur()[row0purge.cc:81]
|
mysqld.exe!row_purge_reset_trx_id()[row0purge.cc:802]
|
mysqld.exe!row_purge_record_func()[row0purge.cc:1349]
|
mysqld.exe!row_purge()[row0purge.cc:1401]
|
mysqld.exe!row_purge_step()[row0purge.cc:1478]
|
mysqld.exe!que_thr_step()[que0que.cc:966]
|
mysqld.exe!que_run_threads_low()[que0que.cc:1031]
|
mysqld.exe!que_run_threads()[que0que.cc:1070]
|
mysqld.exe!srv_task_execute()[srv0srv.cc:2433]
|
mysqld.exe!srv_worker_thread()[srv0srv.cc:2487]
|
kernel32.dll!BaseThreadInitThunk()
|
ntdll.dll!RtlUserThreadStart()
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x0):
|
Connection ID (thread ID): 4
|
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=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on
|
|
The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
|
information that should help you find out what is causing the crash.
|
Writing a core file at D:\Program Files\MariaDB 10.4\data\
|
Minidump written to D:\Program Files\MariaDB 10.4\data\mysqld.dmp
|