[MDEV-15362] [Draft] InnoDB: Failing assertion: ptr Created: 2018-02-20  Updated: 2023-11-27  Resolved: 2023-11-27

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: 10.3
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 1
Labels: None
Environment:

Windows


Issue Links:
Relates
relates to MDEV-13800 Crash during transaction rollback wit... Closed

 Description   

10.3 d23fcc427cb401 non-debug

2018-02-20  3:38:21 15 [ERROR] InnoDB: Trying to access update undo rec field 31 in index `GEN_CLUST_INDEX` of table `tmp`.`#sql220e4_f_1b3a` but index has only 5 fields Submit a detailed bug report to https://jira.mariadb.org/. Run also CHECK TABLE `tmp`.`#sql220e4_f_1b3a`. n_fields = 1, i = 0
2018-02-20 03:38:21 0x222a4  InnoDB: Assertion failure in file C:\_HOME\git\10.3\storage\innobase\trx\trx0rec.cc line 2352
InnoDB: Failing assertion: ptr
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/xtradbinnodb-recovery-modes/
InnoDB: about forcing recovery.
180220  3:38:21 [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.3.5-MariaDB-log
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=7
max_threads=65537
thread_count=14
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 136158 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
 
Thread pointer: 0x2188f948
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!my_sigabrt_handler()[my_thr_init.c:485]
mysqld.exe!raise()[signal.cpp:516]
mysqld.exe!abort()[abort.cpp:71]
mysqld.exe!ut_dbg_assertion_failed()[ut0dbg.cc:61]
mysqld.exe!trx_undo_prev_version_build()[trx0rec.cc:2352]
mysqld.exe!row_vers_old_has_index_entry()[row0vers.cc:1011]
mysqld.exe!row_undo_mod_del_mark_or_remove_sec_low()[row0umod.cc:511]
mysqld.exe!row_undo_mod_del_mark_or_remove_sec()[row0umod.cc:583]
mysqld.exe!row_undo_mod_upd_exist_sec()[row0umod.cc:1061]
mysqld.exe!row_undo_mod()[row0umod.cc:1280]
mysqld.exe!row_undo()[row0undo.cc:307]
mysqld.exe!row_undo_step()[row0undo.cc:355]
mysqld.exe!que_thr_step()[que0que.cc:1049]
mysqld.exe!que_run_threads_low()[que0que.cc:1116]
mysqld.exe!que_run_threads()[que0que.cc:1155]
mysqld.exe!trx_rollback_to_savepoint_low()[trx0roll.cc:114]
mysqld.exe!trx_rollback_for_mysql_low()[trx0roll.cc:186]
mysqld.exe!trx_rollback_low()[trx0roll.cc:264]
mysqld.exe!trx_rollback_for_mysql()[trx0roll.cc:293]
mysqld.exe!innobase_rollback()[ha_innodb.cc:4678]
mysqld.exe!ha_rollback_trans()[handler.cc:1719]
mysqld.exe!xa_trans_force_rollback()[transaction.cc:140]
mysqld.exe!trans_xa_rollback()[transaction.cc:1048]
mysqld.exe!mysql_execute_command()[sql_parse.cc:6132]
mysqld.exe!mysql_parse()[sql_parse.cc:7985]
mysqld.exe!dispatch_command()[sql_parse.cc:1827]
mysqld.exe!do_command()[sql_parse.cc:1369]
mysqld.exe!threadpool_process_request()[threadpool_common.cc:358]
mysqld.exe!tp_callback()[threadpool_common.cc:186]
kernel32.dll!BaseFormatTimeOut()
ntdll.dll!RtlEqualDomainName()
ntdll.dll!TpIsTimerSet()
kernel32.dll!BaseThreadInitThunk()
ntdll.dll!RtlUserThreadStart()
 
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0xc1becd0): XA ROLLBACK 'xid154'  /* QNO 14638 CON_ID 15 */
Connection ID (thread ID): 15
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,split_materialized=on

windows c063c3e36ca6ea

c:\_HOME\rqg>perl ./runall-trials.pl --trials=20 --no-mask --queries=100M --duration=350 --threads=6 --seed=1519084477 --reporters=Backtrace,ErrorLog --validators=TransformerNoComparator --transformers=ExecuteAsCTE,ExecuteAsDeleteReturning,ExecuteAsExcept,ExecuteAsExecuteImmediate,ExecuteAsInsertSelect,ExecuteAsIntersect,ExecuteAsUnion,ExecuteAsUpdateDelete,ExecuteAsView,ExecuteAsPreparedTwice,ExecuteAsSPTwice --redefine=conf/mariadb/general-workarounds.yy --mysqld=--log_output=FILE --views --vcols --redefine=conf/mariadb/alter_table.yy --redefine=conf/mariadb/bulk_insert.yy --redefine=conf/mariadb/xa.yy --redefine=conf/mariadb/versioning.yy --redefine=conf/mariadb/sequences.yy --mysqld=--log_bin_trust_function_creators=1 --mysqld=--log-bin --mysqld=--loose-max-statement-time=30 --mysqld=--loose-debug_assert_on_not_freed_memory=0 --grammar=conf/runtime/metadata_stability.yy --gendata=conf/runtime/metadata_stability.zz --engine=InnoDB --mtr-build-thread=140 --basedir1=c:\_HOME\10.3-rel --vardir1=c:\_HOME\logs\bb15


Generated at Thu Feb 08 08:20:43 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.