DB Chrah

1
If I change the relationship to multiple claims, Databas was crash !!!

Code: Select all

[code]200913 14:17:17 [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.5.5-MariaDB
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=7
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 = 136409 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x269a4132008
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!SQL_SELECT::cleanup()[opt_range.cc:1232]
server.dll!st_join_table::cleanup()[sql_select.cc:13403]
server.dll!JOIN::cleanup()[sql_select.cc:13859]
server.dll!JOIN::destroy()[sql_select.cc:4478]
server.dll!st_select_lex::cleanup()[sql_union.cc:2711]
server.dll!subselect_single_select_engine::prepare()[item_subselect.cc:3768]
server.dll!Item_subselect::fix_fields()[item_subselect.cc:285]
server.dll!Item_func::fix_fields()[item_func.cc:352]
server.dll!Item::fix_fields_if_needed_for_scalar()[item.h:986]
server.dll!Item_cond::fix_fields()[item_cmpfunc.cc:4899]
server.dll!THD::sp_fix_func_item()[sp_head.cc:397]
server.dll!THD::sp_prepare_func_item()[sp_head.cc:383]
server.dll!sp_instr_jump_if_not::exec_core()[sp_head.cc:4062]
server.dll!sp_lex_keeper::reset_lex_and_exec_core()[sp_head.cc:3492]
server.dll!sp_instr_jump_if_not::execute()[sp_head.cc:4052]
server.dll!sp_head::execute()[sp_head.cc:1435]
server.dll!sp_head::execute_function()[sp_head.cc:2163]
server.dll!Item_sp::execute_impl()[item.cc:2826]
server.dll!Item_sp::execute()[item.cc:2740]
server.dll!Item_func_sp::execute()[item_func.cc:6593]
server.dll!Item_func_sp::val_int()[item_func.h:3468]
server.dll!Type_handler::Item_send_longlong()[sql_type.cc:7319]
server.dll!Protocol::send_result_set_row()[protocol.cc:1092]
server.dll!select_send::send_data()[sql_class.cc:3018]
server.dll!JOIN::exec_inner()[sql_select.cc:4315]
server.dll!JOIN::exec()[sql_select.cc:4232]
server.dll!mysql_select()[sql_select.cc:4657]
server.dll!handle_select()[sql_select.cc:417]
server.dll!execute_sqlcom_select()[sql_parse.cc:6210]
server.dll!mysql_execute_command()[sql_parse.cc:3932]
server.dll!mysql_parse()[sql_parse.cc:7998]
server.dll!dispatch_command()[sql_parse.cc:1870]
server.dll!do_command()[sql_parse.cc:1348]
server.dll!threadpool_process_request()[threadpool_common.cc:354]
server.dll!tp_callback()[threadpool_common.cc:194]
ntdll.dll!RtlInitializeCriticalSection()
ntdll.dll!RtlReleaseSRWLockExclusive()
KERNEL32.DLL!BaseThreadInitThunk()
ntdll.dll!RtlUserThreadStart()

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x269a38750a0): SELECT fb_setGuildStanding('28', '7', '3', '3') AS TicketID
Connection ID (thread ID): 2259
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 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 C:\Program Files\MariaDB 10.5\data\
2020-09-13 14:25:16 0 [Note] mysqld.exe: Aria engine: starting recovery
recovered pages: 0% 22% 40% 50% 60% 70% 80% 90% 100% (0.0 seconds); tables to flush: 2 1 0
 (0.0 seconds); 
2020-09-13 14:25:16 0 [Note] mysqld.exe: Aria engine: recovery done
2020-09-13 14:25:16 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
InnoDB: using atomic writes.
2020-09-13 14:25:16 0 [Note] InnoDB: Uses event mutexes
2020-09-13 14:25:16 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-09-13 14:25:16 0 [Note] InnoDB: Number of pools: 1
2020-09-13 14:25:16 0 [Note] InnoDB: Using SSE4.2 crc32 instructions
2020-09-13 14:25:16 0 [Note] InnoDB: Initializing buffer pool, total size = 6442450944, chunk size = 134217728
2020-09-13 14:25:16 0 [Note] InnoDB: Completed initialization of buffer pool
2020-09-13 14:25:16 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=11151453243
2020-09-13 14:25:17 0 [Note] InnoDB: 128 rollback segments are active.
2020-09-13 14:25:17 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2020-09-13 14:25:17 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-09-13 14:25:17 0 [Note] InnoDB: Setting file '.\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-09-13 14:25:17 0 [Note] InnoDB: File '.\ibtmp1' size is now 12 MB.
2020-09-13 14:25:17 0 [Note] InnoDB: 10.5.5 started; log sequence number 11151453385; transaction id 3346454
2020-09-13 14:25:17 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-09-13 14:25:17 0 [Note] InnoDB: Loading buffer pool(s) from C:\Program Files\MariaDB 10.5\data\ib_buffer_pool
2020-09-13 14:25:17 0 [Note] Server socket created on IP: '::'.
2020-09-13 14:25:17 0 [Note] Reading of all Master_info entries succeeded
2020-09-13 14:25:17 0 [Note] Added new Master_info '' to hash table
2020-09-13 14:25:17 0 [Note] C:\Program Files\MariaDB 10.5\bin\mysqld.exe: ready for connections.
Version: '10.5.5-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
[/code]
cron