[MDEV-30851] Server does not start Created: 2023-03-14  Updated: 2023-05-01  Resolved: 2023-05-01

Status: Closed
Project: MariaDB Server
Component/s: Platform Windows
Affects Version/s: 10.10.3
Fix Version/s: N/A

Type: Bug Priority: Critical
Reporter: Mark Hansen Assignee: Unassigned
Resolution: Incomplete Votes: 1
Labels: None
Environment:

Windows 11



 Description   

230314 12:12:59 [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.27-MariaDB
key_buffer_size=16777216
read_buffer_size=262144
max_used_connections=0
max_threads=65537
thread_count=6
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 20302 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x1eaf3acff78
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...
VCRUNTIME140.dll!memcpy()
mysqld.exe!parse_user()
mysqld.exe!parse_user()
mysqld.exe!?ha_rnd_next@handler@@QEAAHPEAE@Z()
mysqld.exe!?rr_sequential@@YAHPEAUREAD_RECORD@@@Z()
mysqld.exe!?acl_init@@YA_N_N@Z()
mysqld.exe!?acl_reload@@YA_NPEAVTHD@@@Z()
mysqld.exe!?acl_init@@YA_N_N@Z()
mysqld.exe!?win_main@@YAHHPEAPEAD@Z()
mysqld.exe!?mysql_service@@YAXPEAX@Z()
mysqld.exe!?mysqld_main@@YAHHPEAPEAD@Z()
mysqld.exe!strxnmov()
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): 0
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:\xampp\mysql\data\
Minidump written to D:\xampp\mysql\data\mysqld.dmp



 Comments   
Comment by Daniel Black [ 2023-03-14 ]

The server version in the backtrace says 10.4.27. Why is 10.10.3 marked as the affected version?

Can you use the minidump to extract the stack information.

This parse_user crash is related to the contents of your user table. If you are able to share, publicly or privately, the usernames of your system.

If you enable the skip-grant-tables option in your configuration file you will be able to start, examine the mysql.global_privs table, potentially delete the relevant user. FLUSH TABLES and continue like before the bug.

If you're able to tell use the relevant user we can fix it so it doesn't crash for next time.

Thanks for the bug report.

Comment by Alice Sherepa [ 2023-03-15 ]

Could you please try to add innodb_flush_method=normal to the config file and see if it helps?

Generated at Thu Feb 08 10:19:22 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.