Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-29333

Server crashes in row_quiesce_write_cfg, innodb.innodb-wl5522-debug fails on Windows

    XMLWordPrintable

Details

    Description

      10.3 a1055ab35d29

      innodb.innodb-wl5522-debug 'innodb'      [ fail ]
              Test ended at 2022-08-19 14:16:09
       
      CURRENT_TEST: innodb.innodb-wl5522-debug
      mysqltest: At line 162: query 'FLUSH TABLES t1 FOR EXPORT' failed: 2013: Lost connection to MySQL server during query
       
      220819 14:16:05 [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.37-MariaDB-debug-log
      key_buffer_size=1048576
      read_buffer_size=131072
      max_used_connections=1
      max_threads=65537
      thread_count=6
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 4383 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x1d6808d3d78
      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_parameter_handler()[my_init.c:282]
      mysqld.exe!_invalid_parameter()[invalid_parameter.cpp:113]
      mysqld.exe!_invalid_parameter_noinfo()[invalid_parameter.cpp:118]
      mysqld.exe!_write()[write.cpp:71]
      mysqld.exe!__acrt_stdio_flush_nolock()[fflush.cpp:236]
      mysqld.exe!_fflush_nolock()[fflush.cpp:194]
      mysqld.exe!__crt_seh_guarded_call<int>::operator()<<lambda_c376a267cfb53b6959b3b692ec76b120>,<lambda_9a32fed5bf61b6b509b2d3f6003082a1> &,<lambda_572fbb9fa0ab338edf41edfd4b5fcc8d> >()[internal_shared.h:204]
      mysqld.exe!fflush()[fflush.cpp:180]
      mysqld.exe!row_quiesce_write_cfg()[row0quiesce.cc:454]
      mysqld.exe!row_quiesce_table_start()[row0quiesce.cc:550]
      mysqld.exe!ha_innobase::external_lock()[ha_innodb.cc:15858]
      mysqld.exe!handler::ha_external_lock()[handler.cc:6420]
      mysqld.exe!lock_external()[lock.cc:391]
      mysqld.exe!mysql_lock_tables()[lock.cc:336]
      mysqld.exe!mysql_lock_tables()[lock.cc:299]
      mysqld.exe!lock_tables()[sql_base.cc:5370]
      mysqld.exe!open_and_lock_tables()[sql_base.cc:5155]
      mysqld.exe!open_and_lock_tables()[sql_base.h:265]
      mysqld.exe!flush_tables_with_read_lock()[sql_reload.cc:565]
      mysqld.exe!mysql_execute_command()[sql_parse.cc:5366]
      mysqld.exe!mysql_parse()[sql_parse.cc:7871]
      mysqld.exe!dispatch_command()[sql_parse.cc:1855]
      mysqld.exe!do_command()[sql_parse.cc:1398]
      mysqld.exe!threadpool_process_request()[threadpool_common.cc:366]
      mysqld.exe!tp_callback()[threadpool_common.cc:185]
      mysqld.exe!tp_callback()[threadpool_win.cc:376]
      mysqld.exe!work_callback()[threadpool_win.cc:450]
      ntdll.dll!TpAllocPool()
      ntdll.dll!TpReleaseCleanupGroupMembers()
      KERNEL32.DLL!BaseThreadInitThunk()
      ntdll.dll!RtlUserThreadStart()
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x1d6808e0c30): FLUSH TABLES t1 FOR EXPORT
      Connection ID (thread ID): 8
      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
      

      mysqld.exe!my_parameter_handler(const wchar_t * expression=0x0000000000000000, const wchar_t * function=0x0000000000000000, const wchar_t * file=0x0000000000000000, unsigned int line=0, unsigned __int64 pReserved=0) Line 282
      mysqld.exe!_invalid_parameter(const wchar_t * const expression=0x0000000000000000, const wchar_t * const function_name=0x0000000000000000, const wchar_t * const file_name=0x0000000000000000, const unsigned int line_number=0, const unsigned __int64 reserved=0) Line 113
      mysqld.exe!_invalid_parameter_noinfo() Line 118
      mysqld.exe!_write(int fh, const void * buffer=0x000001d680928310, unsigned int size=366) Line 71
      mysqld.exe!__acrt_stdio_flush_nolock(_iobuf * public_stream=0x000001d6fe38b200) Line 236
      mysqld.exe!_fflush_nolock(_iobuf * public_stream=0x000001d6fe38b200) Line 194
      [Inline Frame] mysqld.exe!fflush::__l2::<lambda>() Line 178
      mysqld.exe!__crt_seh_guarded_call<int>::operator()<void <lambda>(void),int <lambda>(void) &,void <lambda>(void) >(__acrt_lock_stream_and_call::__l2::void <lambda>(void) && setup, fflush::__l2::int <lambda>(void) & action=int <lambda>(void){...}, __acrt_lock_stream_and_call::__l2::void <lambda>(void) && cleanup=void <lambda>(void){...}) Line 204
      [Inline Frame] mysqld.exe!__acrt_lock_stream_and_call(_iobuf * const) Line 252
      mysqld.exe!fflush(_iobuf * public_stream) Line 180
      mysqld.exe!row_quiesce_write_cfg(dict_table_t * table=0x000001d68082fd10, THD * thd=0x000001d6808d3d78) Line 454
      mysqld.exe!row_quiesce_table_start(dict_table_t * table=0x000001d68082fd10, trx_t * trx=0x000001d6fe8660d0) Line 550
      mysqld.exe!ha_innobase::external_lock(THD * thd=0x000001d6808d3d78, int lock_type=1) Line 15858
      mysqld.exe!handler::ha_external_lock(THD * thd=0x000001d6808d3d78, int lock_type=1) Line 6420
      mysqld.exe!lock_external(THD * thd=0x000001d6808d3d78, TABLE * * tables=0x000001d680825fb8, unsigned int count=1) Line 391
      mysqld.exe!mysql_lock_tables(THD * thd=0x000001d6808d3d78, st_mysql_lock * sql_lock=0x000001d680825f98, unsigned int flags=4096) Line 336
      mysqld.exe!mysql_lock_tables(THD * thd=0x000001d6808d3d78, TABLE * * tables=0x000001d6808e1368, unsigned int count=1, unsigned int flags=4096) Line 299
      mysqld.exe!lock_tables(THD * thd=0x000001d6808d3d78, TABLE_LIST * tables=0x000001d6808e0d10, unsigned int count=1, unsigned int flags=4096) Line 5370
      mysqld.exe!open_and_lock_tables(THD * thd=0x000001d6808d3d78, const DDL_options_st & options, TABLE_LIST * tables=0x000001d6808e0d10, bool derived=false, unsigned int flags=4096, Prelocking_strategy * prelocking_strategy=0x0000007f29bfcd88) Line 5155
      mysqld.exe!open_and_lock_tables(THD * thd=0x000001d6808d3d78, TABLE_LIST * tables=0x000001d6808e0d10, bool derived=false, unsigned int flags=4096, Prelocking_strategy * prelocking_strategy=0x0000007f29bfcd88) Line 265
      mysqld.exe!flush_tables_with_read_lock(THD * thd=0x000001d6808d3d78, TABLE_LIST * all_tables=0x000001d6808e0d10) Line 565
      mysqld.exe!mysql_execute_command(THD * thd=0x000001d6808d3d78) Line 5366
      mysqld.exe!mysql_parse(THD * thd=0x000001d6808d3d78, char * rawbuf=0x000001d6808e0c30, unsigned int length=26, Parser_state * parser_state=0x0000007f29bfec70, bool is_com_multi=false, bool is_next_command=false) Line 7871
      mysqld.exe!dispatch_command(enum_server_command command=COM_QUERY, THD * thd=0x000001d6808d3d78, char * packet=0x000001d6808d8bd9, unsigned int packet_length=26, bool is_com_multi=false, bool is_next_command=false) Line 1855
      mysqld.exe!do_command(THD * thd=0x000001d6808d3d78) Line 1398
      mysqld.exe!threadpool_process_request(THD * thd=0x000001d6808d3d78) Line 366
      mysqld.exe!tp_callback(TP_connection * c=0x000001d6fe297e60) Line 185
      mysqld.exe!tp_callback(_TP_CALLBACK_INSTANCE * instance=0x0000007f29bffb98, void * context=0x000001d6fe297e60) Line 376
      mysqld.exe!work_callback(_TP_CALLBACK_INSTANCE * instance=0x0000007f29bffb98, void * context=0x000001d6fe297e60, _TP_WORK * work=0x000001d6807d4c30) Line 450
      [External Code]	
      

      Reproducible reliably on 10.3 and 10.10, I assume intermediate versions too.

      Attachments

        Activity

          People

            marko Marko Mäkelä
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.