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

Unexpected crash occured repeatedly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • 10.2.8
    • N/A
    • Linux 2.6.32-696.30.1.el6.x86_64 #1 SMP Tue May 22 03:28:18 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

    Description

      Hello,

      Database engine has been crashed and automatically restarted. Problem is being occured 2~3 times per week. I found error details on error log as below.

      180921 10:24:04 [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 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.8-MariaDB-log
      key_buffer_size=134217728
      read_buffer_size=131072
      max_used_connections=15
      max_threads=1002
      thread_count=22
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 408761 K bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.

      Thread pointer: 0x7ff1e80009a8
      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 = 0x7ff398351e18 thread_stack 0x49000
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(my_print_stacktrace+0x2e)[0xde62fe]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(handle_fatal_signal+0x444)[0x7dbcc4]
      /lib64/libpthread.so.0[0x36d580f7e0]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN8Item_row10fix_fieldsEP3THDPP4Item+0xd0)[0x8993e0]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN17Item_in_optimizer8fix_leftEP3THD+0x242)[0x820d52]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN17Item_in_optimizer10fix_fieldsEP3THDPP4Item+0x49)[0x822969]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN9Item_cond10fix_fieldsEP3THDPP4Item+0x19a)[0x82c57a]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN9Item_func10fix_fieldsEP3THDPP4Item+0x1d4)[0x8659d4]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN13Item_func_not10fix_fieldsEP3THDPP4Item+0x320)[0x82e8d0]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN9Item_cond10fix_fieldsEP3THDPP4Item+0x19a)[0x82c57a]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_Z11setup_condsP3THDP10TABLE_LISTR4ListIS1_EPP4Item+0x204)[0x597df4]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN4JOIN7prepareEP10TABLE_LISTjP4ItemjP8st_orderbS5_S3_S5_P13st_select_lexP18st_select_lex_unit+0x5a1)[0x63c8d1]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x9cd)[0x64d43d]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x254)[0x64e884]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld[0x5e6e42]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_Z21mysql_execute_commandP3THD+0x1688)[0x5ea218]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_Z17mysql_open_cursorP3THDP13select_resultPP18Server_side_cursor+0x156)[0x97e046]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN9sp_cursor4openEP3THD+0x1e)[0x96ebfe]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN14sp_instr_copen9exec_coreEP3THDPj+0x30)[0x963250]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN13sp_lex_keeper23reset_lex_and_exec_coreEP3THDPjbP8sp_instr+0xa2)[0x963b02]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN14sp_instr_copen7executeEP3THDPj+0x63)[0x963e13]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN7sp_head7executeEP3THDb+0x4be)[0x965a6e]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN7sp_head17execute_procedureEP3THDP4ListI4ItemE+0x61d)[0x9692dd]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_Z21mysql_execute_commandP3THD+0x25c8)[0x5eb158]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN18Prepared_statement7executeEP6Stringb+0x49c)[0x60393c]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(ZN18Prepared_statement12execute_loopEP6StringbPhS2+0xb1)[0x609061]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_Z22mysql_sql_stmt_executeP3THD+0x10e)[0x6097be]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_Z21mysql_execute_commandP3THD+0x1e9e)[0x5eaa2e]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN13sp_instr_stmt9exec_coreEP3THDPj+0x1e)[0x962a8e]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN13sp_lex_keeper23reset_lex_and_exec_coreEP3THDPjbP8sp_instr+0xa2)[0x963b02]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN13sp_instr_stmt7executeEP3THDPj+0x51e)[0x96687e]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN7sp_head7executeEP3THDb+0x4be)[0x965a6e]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN7sp_head17execute_procedureEP3THDP4ListI4ItemE+0x61d)[0x9692dd]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_Z21mysql_execute_commandP3THD+0x25c8)[0x5eb158]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_ZN18Prepared_statement7executeEP6Stringb+0x49c)[0x60393c]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(ZN18Prepared_statement12execute_loopEP6StringbPhS2+0xb1)[0x609061]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld[0x6099b6]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_Z19mysqld_stmt_executeP3THDPcj+0x28)[0x609b18]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x20bd)[0x5f619d]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_Z10do_commandP3THD+0x15d)[0x5f782d]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x235)[0x6db3d5]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld(handle_one_connection+0x3f)[0x6db59f]
      /engn001/masvc01/RQMSP/mysql/bin/mysqld[0xa01c79]
      /lib64/libpthread.so.0[0x36d5807aa1]
      /lib64/libc.so.6(clone+0x6d)[0x36d54e8bcd]

      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7ff1e903bd90): call QT_CLOSING_PROC
      Connection ID (thread ID): 17
      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

      ========================================
      By equation on error log, my DB is satisfying condition.

      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 408761 K
      131072 + (128 + 128) * 1002 = 131072 + 256 * 1002 = 131072 + 256512 = 387584K < 408761K

      Any suggestion or comment is highly appreciated.

      Thank you and have a good day!

      Attachments

        Activity

          People

            Unassigned Unassigned
            csk6210 SKCHOI
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.