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

Crash in metadata lock plugin

    XMLWordPrintable

Details

    Description

      While doing this query:

      MariaDB [information_schema]> select * from METADATA_LOCK_INFO where table_name='session';
       
      ERROR 2013 (HY000): Lost connection to MySQL server during query

      Server crashed and got the following stack trace:

      160128 16:02:34 [ERROR] mysqld got signal 11 ;
      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 http://kb.askmonty.org/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.0.22-MariaDB-enterprise-wsrep-log
      key_buffer_size=67108864
      read_buffer_size=131072
      max_used_connections=127
      max_threads=501
      thread_count=162
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1236419 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x0x7f36738ae008
      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...
      stack_bottom = 0x7f36043c6cb0 thread_stack 0x48000
      160128 16:02:36 [Warning] WSREP: last inactive check more than PT1.5S ago (PT2.365S), skipping check
      /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0xbf632e]
      /usr/sbin/mysqld(handle_fatal_signal+0x390)[0x758be0]
      /lib64/libpthread.so.0(+0xf100)[0x7f599c853100]
      /usr/sbin/mysqld[0xc1d389]
      /usr/sbin/mysqld(_Z23well_formed_copy_ncharsPK15charset_info_stPcjS1_PKcjjPS4_S5_S5_+0x1a2)[0x6598d2]
      /usr/sbin/mysqld(_ZN15Field_varstring5storeEPKcjPK15charset_info_st+0x67)[0x7495f7]
      /usr/lib64/mysql/plugin/metadata_lock_info.so(_Z31i_s_metadata_lock_info_fill_rowP10MDL_ticketPv+0x130)[0x7f51971fd020]
      /usr/sbin/mysqld[0x6b659e]
      /usr/sbin/mysqld(_Z11mdl_iteratePFiP10MDL_ticketPvES1_+0x29)[0x6b68c9]
      /usr/lib64/mysql/plugin/metadata_lock_info.so(_Z33i_s_metadata_lock_info_fill_tableP3THDP10TABLE_LISTP4Item+0x27)[0x7f51971fd137]
      /usr/sbin/mysqld(_Z24get_schema_tables_resultP4JOIN23enum_schema_table_state+0x26e)[0x64cd0e]
      /usr/sbin/mysqld(_ZN4JOIN10exec_innerEv+0x705)[0x633a75]
      /usr/sbin/mysqld(_ZN4JOIN4execEv+0x11)[0x635bf1]
      /usr/sbin/mysqld(_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xc7)[0x632567]
      /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x27d)[0x6330ad]
      /usr/sbin/mysqld[0x5d118e]
      /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x566f)[0x5e063f]
      /usr/sbin/mysqld[0x5e4af1]
      /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x1c8f)[0x5e6cdf]
      /usr/sbin/mysqld(_Z10do_commandP3THD+0x242)[0x5e7a32]
      /usr/sbin/mysqld(_Z26threadpool_process_requestP3THD+0xc7)[0x6e9e37]
      /usr/sbin/mysqld[0x72bc8d]
      /lib64/libpthread.so.0(+0x7dc5)[0x7f599c84bdc5]
      /lib64/libc.so.6(clone+0x6d)[0x7f599b0c721d]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7f35a5841020): is an invalid pointer
      Connection ID (thread ID): 87123
      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=on,mrr_cost_based=on,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=on,table_elimination=on,extended_keys=on,exists_to_in=on

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tanj Guillaume Lefranc
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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