[MDEV-11609] [Draft] Server crashes in lf_pinbox_real_free / MDL_map::remove Created: 2016-12-19  Updated: 2019-03-31

Status: Open
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.2
Fix Version/s: None

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

Attachments: File master.err     File master.log.gz     File trial12.log.gz    
Issue Links:
Relates
relates to MDEV-18826 [Draft] Server crashed in l_find / MD... Closed
relates to MDEV-15481 [Draft] Server crashed in I_P_List<MD... Closed

 Description   

http://buildbot.askmonty.org/buildbot/builders/win-rqg-se/builds/2960/steps/rqg_crash_tests/logs/stdio

161215 15:02:44 [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.3-MariaDB-debug-log
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=7
max_threads=1001
thread_count=12
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 388192 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
 
Thread pointer: 0x0x8a2fa86528
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!lf_pinbox_real_free()[lf_alloc-pin.c:378]
mysqld.exe!lf_pinbox_free()[lf_alloc-pin.c:277]
mysqld.exe!l_delete()[lf_hash.c:247]
mysqld.exe!lf_hash_delete()[lf_hash.c:455]
mysqld.exe!MDL_map::remove()[mdl.cc:831]
mysqld.exe!MDL_lock::remove_ticket()[mdl.cc:1644]
mysqld.exe!MDL_context::release_lock()[mdl.cc:2613]
mysqld.exe!MDL_context::release_locks_stored_before()[mdl.cc:2662]
mysqld.exe!MDL_context::rollback_to_savepoint()[mdl.cc:2813]
mysqld.exe!THD::restore_backup_open_tables_state()[sql_class.cc:4193]
mysqld.exe!close_system_tables()[sql_base.cc:8476]
mysqld.exe!close_log_table()[sql_base.cc:8587]
mysqld.exe!Log_to_csv_event_handler::log_general()[log.cc:775]
mysqld.exe!LOGGER::general_log_write()[log.cc:1372]
mysqld.exe!general_log_write()[log.cc:6454]
mysqld.exe!dispatch_command()[sql_parse.cc:1783]
mysqld.exe!do_command()[sql_parse.cc:1359]
mysqld.exe!threadpool_process_request()[threadpool_common.cc:319]
mysqld.exe!tp_callback()[threadpool_common.cc:158]
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 (0x8a467a9c40): INSERT IGNORE INTO view4 SET field2 = NULL, field3 = 'like', field1 = 209 /* QUERY_NO 5572 CON_ID 19 */
Connection ID (thread ID): 19
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

Starting: E:\buildbot\rqg/runall.pl --no-mask --seed=time --threads=5 --duration=600 --queries=100M --reporters=Que
ryTimeout,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,ExecuteAs
InsertSelect,ExecuteAsPreparedOnce,ExecuteAsSelectItem,ExecuteAsUnion,ExecuteAsUpdateDelete,ExecuteAsView,NullIf,OrderBy,StraightJoin,ExecuteAsE
xecuteImmediate --grammar=conf/optimizer/updateable_views.yy --mysqld=--default-storage-engine=InnoDB --mysqld=--init-file=E:/buildbot/rqg/conf/
optimizer/updateable_views.init --mtr-build-thread=300 --basedir1=E:\buildbot\bbwin1\win-rqg-se\build\..\build-debug --vardir1=E:\buildbot\bbwin
1\win-rqg-se\build\..\..\..\vardirs\10.2-2960\optim-crash-tests/current1_1


Generated at Thu Feb 08 07:51:17 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.