Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.6.9
-
None
-
None
-
. OS: Windows11 Pro 21H2 (OS build 22000.978)
. Processor: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz 2.30 GHz
. RAM: 32GB
Description
Hello,
I'm implementing a program to draw diagram showing connections between nodes with information of which node(s) go(es) to which node(s).
For this purpose, table LN_MODEL_LAYER has:
. rowseq and colseq: coordinates in the grid
. ghostrowseq: coordinates of the copy of a node when the original node is too far.
And table LN_MODEL_SEQ shows the connections between nodes where
. fromseq means seq of source in LN_MODEL_LAYER
. seq means seq(=destination) in LN_MODEL_LAYER
To implement this a massive program in Node.js runs, but MariaDB stops in the middle with a log like this in Node.js side:
error: read ECONNRESET
error: ERROR
{"timestamp":"2022-09-15 00:12:27"}error: CONNECTION CLOSED
{"timestamp":"2022-09-15 00:12:27"}error: GENERAL ERROR
{"timestamp":"2022-09-15 00:12:27"}error: errno: -4077
{"timestamp":"2022-09-15 00:12:27"}error: errcode: -4077
{"timestamp":"2022-09-15 00:12:27"}error: Error: read ECONNRESET
at PromisePoolConnection.execute (E:\PJT\MLOPS\mlops_server\node_modules\mysql2\promise.js:111:22)
*And the MariaDB error log is like this: *
2022-09-15 0:08:33 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
2022-09-15 0:08:33 0 [Note] InnoDB: Number of pools: 1
2022-09-15 0:08:33 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2022-09-15 0:08:33 0 [Note] InnoDB: Initializing buffer pool, total size = 4294967296, chunk size = 134217728
2022-09-15 0:08:33 0 [Note] InnoDB: Completed initialization of buffer pool
2022-09-15 0:08:33 0 [Note] InnoDB: 128 rollback segments are active.
2022-09-15 0:08:33 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-09-15 0:08:33 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-09-15 0:08:33 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2022-09-15 0:08:33 0 [Note] InnoDB: 10.6.9 started; log sequence number 2198803090; transaction id 2871471
2022-09-15 0:08:33 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-09-15 0:08:33 0 [Note] InnoDB: Loading buffer pool(s) from C:\Program Files\MariaDB 10.6\data\ib_buffer_pool
2022-09-15 0:08:33 0 [Note] Server socket created on IP: '::'.
2022-09-15 0:08:33 0 [Note] Server socket created on IP: '0.0.0.0'.
2022-09-15 0:08:34 0 [Note] Reading of all Master_info entries succeeded
2022-09-15 0:08:34 0 [Note] Added new Master_info '' to hash table
2022-09-15 0:08:34 0 [Note] C:\Program Files\MariaDB 10.6\bin\mysqld.exe: ready for connections.
Version: '10.6.9-MariaDB' socket: '' port: 3306 mariadb.org binary distribution
2022-09-15 0:08:34 0 [Note] InnoDB: Buffer pool(s) load completed at 220915 0:08:34
2022-09-15 0:12:07 6 [Note] Detected table cache mutex contention at instance 1: 27% waits. Additional table cache instance activated. Number of instances after activation: 2.
220915 0:12:24 [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.6.9-MariaDB
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=11
max_threads=65537
thread_count=11
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 142742882 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x1d29ed97098
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_string_metadata_get()[ctype.c:910]
server.dll!Item_param::convert_str_value()[item.cc:4782]
server.dll!insert_params()[sql_prepare.cc:859]
server.dll!Prepared_statement::execute_loop()[sql_prepare.cc:4606]
server.dll!mysql_stmt_execute_common()[sql_prepare.cc:3574]
server.dll!mysqld_stmt_execute()[sql_prepare.cc:3348]
server.dll!dispatch_command()[sql_parse.cc:1828]
server.dll!do_command()[sql_parse.cc:1409]
server.dll!tp_callback()[threadpool_common.cc:203]
KERNEL32.DLL!CompareStringEx()
ntdll.dll!RtlTryEnterCriticalSection()
ntdll.dll!EtwNotificationRegister()
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): 13
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.6\data\
Minidump written to C:\Program Files\MariaDB 10.6\data\mysqld.dmp
What am I supposed to do to prevent this unexpected shutdown?
Attachments
Issue Links
- duplicates
-
MDEV-19811 Crash with prepared statement
- Open