Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Incomplete
-
10.2.9
-
None
-
Windows 2016 Server
Description
We use mariaDb 10.2.9 with Aria storage engine, the same stored procedure was working on MySQL 5.1 without any problems over years.
After some day of working (we got the problem multiple times) on the execution of a stored procedure we got
2017-10-26 2:59:34 4592 [ERROR] mysqld.exe: Index for table 'po_data_mem' is corrupt; try to repair it
|
and after
171026 2:59:34 [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.2.9-MariaDB
|
key_buffer_size=134217728
|
read_buffer_size=131072
|
max_used_connections=8
|
max_threads=65537
|
thread_count=12
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 135244 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
Thread pointer: 0x60e16c88
|
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...
|
mysqld.exe!strnlen()[strnlen.cpp:165]
|
mysqld.exe!process_str_arg()[my_vsnprintf.c:205]
|
mysqld.exe!my_vsnprintf_ex()[my_vsnprintf.c:627]
|
mysqld.exe!my_printf_error()[my_error.c:154]
|
mysqld.exe!print_keydup_error()[handler.cc:3341]
|
mysqld.exe!print_keydup_error()[handler.cc:3354]
|
mysqld.exe!handler::print_error()[handler.cc:3431]
|
mysqld.exe!write_record()[sql_insert.cc:1959]
|
mysqld.exe!mysql_insert()[sql_insert.cc:1055]
|
mysqld.exe!mysql_execute_command()[sql_parse.cc:4411]
|
mysqld.exe!mysql_parse()[sql_parse.cc:7875]
|
mysqld.exe!dispatch_command()[sql_parse.cc:1811]
|
mysqld.exe!do_command()[sql_parse.cc:1359]
|
mysqld.exe!threadpool_process_request()[threadpool_common.cc:366]
|
mysqld.exe!tp_callback()[threadpool_common.cc:192]
|
mysqld.exe!work_callback()[threadpool_win.cc:451]
|
ntdll.dll!TpReleaseTimer()
|
ntdll.dll!TpReleaseTimer()
|
KERNEL32.DLL!BaseThreadInitThunk()
|
ntdll.dll!RtlSubscribeWnfStateChangeNotification()
|
ntdll.dll!RtlSubscribeWnfStateChangeNotification()
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x5fac2020): INSERT INTO devicecache_maintenances_operatinghours (DefinitionId, DeviceId, DeviceNameSource, DeviceOphSource, CurrentOperatingHours, LastOperatingHoursMaintained) VALUES ('ta_check_vibration', 2003225, 'Name', 'OperationHours', 61564, 61564) ON DUPLICATE KEY UPDATE CurrentOperatingHours=61564, LastOperatingHoursMaintained=61564
|
Connection ID (thread ID): 2155
|
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=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on
|
|
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.
|
Attachments
Issue Links
- relates to
-
MDEV-15237 "Can't write; duplicate key in table" when updating some rows in a transaction
- Closed
-
MDEV-15304 Server crash in print_keydup_error / key_unpack or unexpected ER_DUP_KEY
- Closed