InnoDB: using atomic writes. 2020-08-08 1:13:58 0 [Note] InnoDB: Uses event mutexes 2020-08-08 1:13:58 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-08-08 1:13:58 0 [Note] InnoDB: Number of pools: 1 2020-08-08 1:13:58 0 [Note] InnoDB: Using SSE4.2 crc32 instructions 2020-08-08 1:13:58 0 [Note] InnoDB: Initializing buffer pool, total size = 8589934592, chunk size = 134217728 2020-08-08 1:13:59 0 [Note] InnoDB: Completed initialization of buffer pool 2020-08-08 1:13:59 0 [Note] InnoDB: 128 rollback segments are active. 2020-08-08 1:13:59 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-08-08 1:13:59 0 [Note] InnoDB: Setting file '.\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-08-08 1:13:59 0 [Note] InnoDB: File '.\ibtmp1' size is now 12 MB. 2020-08-08 1:13:59 0 [Note] InnoDB: 10.5.4 started; log sequence number 45041; transaction id 21 2020-08-08 1:13:59 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-08-08 1:13:59 0 [Note] InnoDB: Loading buffer pool(s) from C:\Program Files\MariaDB 10.5\data\ib_buffer_pool 2020-08-08 1:13:59 0 [Note] InnoDB: Buffer pool(s) load completed at 200808 1:13:59 2020-08-08 1:13:59 0 [Note] Server socket created on IP: '::'. 2020-08-08 1:13:59 0 [Note] Reading of all Master_info entries succeeded 2020-08-08 1:13:59 0 [Note] Added new Master_info '' to hash table 2020-08-08 1:13:59 0 [Note] C:\Program Files\MariaDB 10.5\bin\mysqld.exe: ready for connections. Version: '10.5.4-MariaDB' socket: '' port: 3306 mariadb.org binary distribution 2020-08-08 1:21:37 3 [ERROR] InnoDB: Record in index `ParentID` of table `test`.`child` was not found on update: TUPLE (info_bits=0, 3 fields): {NULL,[1] (0x01),[4] 5(0x0001E535)} at: COMPACT RECORD(info_bits=0, 3 fields): {NULL,[1] (0x01),[4] ~(0x0001E47E)} 2020-08-08 01:21:37 0xb74 InnoDB: Assertion failure in file D:\winx64-packages\build\src\storage\innobase\row\row0ins.cc line 218 InnoDB: Failing assertion: !cursor->index->is_committed() InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to https://jira.mariadb.org/ InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mysqld startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: https://mariadb.com/kb/en/library/innodb-recovery-modes/ InnoDB: about forcing recovery. 200808 1:21:37 [ERROR] mysqld got exception 0x80000003 ; 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.5.4-MariaDB key_buffer_size=134217728 read_buffer_size=131072 max_used_connections=1 max_threads=65537 thread_count=2 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 136407 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x1a8f484f068 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... server.dll!my_parameter_handler()[my_init.c:281] ucrtbase.dll!raise() ucrtbase.dll!abort() server.dll!ut_dbg_assertion_failed()[ut0dbg.cc:60] server.dll!row_ins_sec_index_entry_by_modify()[row0ins.cc:218] server.dll!row_ins_sec_index_entry_low()[row0ins.cc:3052] server.dll!row_ins_sec_index_entry()[row0ins.cc:3266] server.dll!row_upd_sec_index_entry()[row0upd.cc:2220] server.dll!row_upd()[row0upd.cc:3024] server.dll!row_upd_step()[row0upd.cc:3142] server.dll!row_update_cascade_for_mysql()[row0mysql.cc:2254] server.dll!row_ins_foreign_check_on_constraint()[row0ins.cc:1395] server.dll!row_ins_check_foreign_constraint()[row0ins.cc:1802] server.dll!row_upd_check_references_constraints()[row0upd.cc:299] server.dll!row_upd_del_mark_clust_rec()[row0upd.cc:2697] server.dll!row_upd_clust_step()[row0upd.cc:2866] server.dll!row_upd()[row0upd.cc:2995] server.dll!row_upd_step()[row0upd.cc:3142] server.dll!row_update_for_mysql()[row0mysql.cc:1889] server.dll!ha_innobase::delete_row()[ha_innodb.cc:8646] server.dll!handler::ha_delete_row()[handler.cc:7256] server.dll!mysql_delete()[sql_delete.cc:794] server.dll!mysql_execute_command()[sql_parse.cc:4787] server.dll!mysql_parse()[sql_parse.cc:7997] server.dll!dispatch_command()[sql_parse.cc:1877] server.dll!do_command()[sql_parse.cc:1355] server.dll!threadpool_process_request()[threadpool_common.cc:354] server.dll!tp_callback()[threadpool_common.cc:194] ntdll.dll!TpReleaseWait() ntdll.dll!RtlInitializeResource() KERNEL32.DLL!BaseThreadInitThunk() ntdll.dll!RtlUserThreadStart() Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x1a8f485e440): DELETE FROM parent WHERE ID=1000 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=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,not_null_range_scan=off The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains information that should help you find out what is causing the crash. Writing a core file at C:\Program Files\MariaDB 10.5\data\ InnoDB: using atomic writes. 2020-08-08 1:21:55 0 [Note] InnoDB: Uses event mutexes 2020-08-08 1:21:55 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-08-08 1:21:55 0 [Note] InnoDB: Number of pools: 1 2020-08-08 1:21:55 0 [Note] InnoDB: Using SSE4.2 crc32 instructions 2020-08-08 1:21:55 0 [Note] InnoDB: Initializing buffer pool, total size = 8589934592, chunk size = 134217728 2020-08-08 1:21:55 0 [Note] InnoDB: Completed initialization of buffer pool 2020-08-08 1:21:55 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=12939566 2020-08-08 1:21:55 0 [Note] InnoDB: 1 transaction(s) which must be rolled back or cleaned up in total 2 row operations to undo 2020-08-08 1:21:55 0 [Note] InnoDB: Trx id counter is 67 2020-08-08 1:21:55 0 [Note] InnoDB: Starting final batch to recover 4 pages from redo log. 2020-08-08 1:21:56 0 [Note] InnoDB: 128 rollback segments are active. 2020-08-08 1:21:56 0 [Note] InnoDB: Starting in background the rollback of recovered transactions 2020-08-08 1:21:56 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-08-08 1:21:56 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-08-08 1:21:56 0 [Note] InnoDB: Setting file '.\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-08-08 1:21:56 0 [Note] InnoDB: File '.\ibtmp1' size is now 12 MB. 2020-08-08 1:21:56 0 [Note] InnoDB: Rolled back recovered transaction 66 2020-08-08 1:21:56 0 [Note] InnoDB: Rollback of non-prepared transactions completed 2020-08-08 1:21:56 0 [Note] InnoDB: 10.5.4 started; log sequence number 12940547; transaction id 70 2020-08-08 1:21:56 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-08-08 1:21:56 0 [Note] InnoDB: Loading buffer pool(s) from C:\Program Files\MariaDB 10.5\data\ib_buffer_pool 2020-08-08 1:21:56 0 [Note] Server socket created on IP: '::'. 2020-08-08 1:21:56 0 [Note] InnoDB: Buffer pool(s) load completed at 200808 1:21:56 2020-08-08 1:21:56 0 [Note] Reading of all Master_info entries succeeded 2020-08-08 1:21:56 0 [Note] Added new Master_info '' to hash table 2020-08-08 1:21:56 0 [Note] C:\Program Files\MariaDB 10.5\bin\mysqld.exe: ready for connections. Version: '10.5.4-MariaDB' socket: '' port: 3306 mariadb.org binary distribution 2020-08-08 1:23:38 0 [Note] C:\Program Files\MariaDB 10.5\bin\mysqld.exe (initiated by: unknown): Normal shutdown 2020-08-08 1:23:38 0 [Note] Event Scheduler: Purging the queue. 0 events 2020-08-08 1:23:38 0 [Note] InnoDB: FTS optimize thread exiting. 2020-08-08 1:23:38 0 [Note] InnoDB: Starting shutdown... 2020-08-08 1:23:38 0 [Note] InnoDB: Dumping buffer pool(s) to C:\Program Files\MariaDB 10.5\data\ib_buffer_pool 2020-08-08 1:23:38 0 [Note] InnoDB: Buffer pool(s) dump completed at 200808 1:23:38 2020-08-08 1:23:38 0 [Note] InnoDB: Shutdown completed; log sequence number 12944882; transaction id 85 2020-08-08 1:23:38 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-08-08 1:23:38 0 [Note] C:\Program Files\MariaDB 10.5\bin\mysqld.exe: Shutdown complete