[MDEV-15375] [Draft] Assertion failed: srv_read_only_mode || trx->in_depth > 0, file d:\qa-win-debug\build\storage\innobase\include\trx0trx.h, line 1426 Created: 2018-02-21  Updated: 2022-09-26  Resolved: 2022-09-26

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

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Elena Stepanova
Resolution: Cannot Reproduce Votes: 0
Labels: None


 Description   

http://buildbot.askmonty.org/buildbot/builders/qa-win-debug/builds/1184/steps/crash_tests/logs/stdio

bb-10.2-ext 5417002dae7a9f15ad77c58fae93eada80699b4b

Version: '10.2.14-MariaDB-debug-log'  socket: ''  port: 11500  Source distribution
Assertion failed: srv_read_only_mode || trx->in_depth > 0, file d:\qa-win-debug\build\storage\innobase\include\trx0trx.h, line 1426
180221  7:44:59 [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.2.14-MariaDB-debug-log
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=7
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 = 4262 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
 
Thread pointer: 0xd56212d118
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:487]
mysqld.exe!raise()[signal.cpp:516]
mysqld.exe!abort()[abort.cpp:71]
mysqld.exe!common_assert_to_stderr<wchar_t>()[assert.cpp:149]
mysqld.exe!_wassert()[assert.cpp:404]
mysqld.exe!TrxInInnoDB::is_aborted()[trx0trx.h:1426]
mysqld.exe!ha_innobase::general_fetch()[ha_innodb.cc:9993]
mysqld.exe!ha_innobase::index_next()[ha_innodb.cc:10083]
mysqld.exe!handler::ha_index_next()[handler.cc:2812]
mysqld.exe!join_read_next()[sql_select.cc:20057]
mysqld.exe!sub_select()[sql_select.cc:19077]
mysqld.exe!do_select()[sql_select.cc:18602]
mysqld.exe!JOIN::exec_inner()[sql_select.cc:3629]
mysqld.exe!JOIN::exec()[sql_select.cc:3425]
mysqld.exe!mysql_select()[sql_select.cc:3826]
mysqld.exe!handle_select()[sql_select.cc:367]
mysqld.exe!execute_sqlcom_select()[sql_parse.cc:6482]
mysqld.exe!mysql_execute_command()[sql_parse.cc:3721]
mysqld.exe!Prepared_statement::execute()[sql_prepare.cc:4721]
mysqld.exe!Prepared_statement::execute_loop()[sql_prepare.cc:4151]
mysqld.exe!Prepared_statement::execute_immediate()[sql_prepare.cc:4845]
mysqld.exe!mysql_sql_stmt_execute_immediate()[sql_prepare.cc:2840]
mysqld.exe!mysql_execute_command()[sql_parse.cc:3728]
mysqld.exe!mysql_parse()[sql_parse.cc:7949]
mysqld.exe!dispatch_command()[sql_parse.cc:1824]
mysqld.exe!do_command()[sql_parse.cc:1369]
mysqld.exe!threadpool_process_request()[threadpool_common.cc:366]
mysqld.exe!tp_callback()[threadpool_common.cc:192]
mysqld.exe!tp_callback()[threadpool_win.cc:378]
mysqld.exe!work_callback()[threadpool_win.cc:452]
ntdll.dll!RtlFreeUnicodeString()
ntdll.dll!RtlFreeUnicodeString()
KERNEL32.DLL!BaseThreadInitThunk()
ntdll.dll!RtlUserThreadStart()
 
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0xd56211b1f8): SELECT /* QProp.RESULTSET_HAS_SAME_DATA_IN_EVERY_ROW */ func_2 ( 1 ) AS `col_int_key` FROM `table11` WHERE 1 < func_3 ( 2 ) /* QNO 5127 CON_ID 21 */
Connection ID (thread ID): 21
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_grouping_derived=on

perl E:\buildbot\rqg/runall.pl --no-mask --seed=1519188132 --threads=5 --duration=400 --queries=100M --reporters=QueryTimeout,Backtrace,ErrorLog,Deadlock,Shutdown --redefine=conf/mariadb/redefine_random_keys.yy --redefine=conf/mariadb/redefine_set_session_vars.yy --validators=TransformerNoComparator --transformers=ConvertSubqueriesToViews,DisableOptimizations,EnableOptimizations,ExecuteAsCTE,ExecuteAsInsertSelect,ExecuteAsPreparedOnce,ExecuteAsSelectItem,ExecuteAsUnion,ExecuteAsUpdateDelete,ExecuteAsView,NullIf,OrderBy,StraightJoin,ExecuteAsExecuteImmediate --store-binaries --grammar=conf/runtime/metadata_stability.yy --gendata=conf/runtime/metadata_stability.zz --mtr-build-thread=150 --basedir1=D:\qa-win-debug\install --vardir1=E:\buildbot\vardirs\qa-win-debug\bb-10.2-ext-1184\optim-crash-tests/current1_1 > E:\buildbot\vardirs\qa-win-debug\bb-10.2-ext-1184\optim-crash-tests/trial1.log


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