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

MariaDB crashes after "Enabling keys got errno 127"

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.3.14
    • 10.3(EOL)
    • Server
    • None
    • Debian 4.9.168-1+deb9u2

    Description

      MariaDB crashed after getting error:

      2019-05-31 12:26:40 11013057 [Warning] Warning: Enabling keys got errno 127 on ., retrying
      Error in `/usr/local/mariadb10.3/bin/mysqld': free(): invalid next size (normal): 0x00007fb51471fd60

      Unfortunately, this is in a hosting environment, so we don't know what queries were run and how to reproduce this. The error also doesn't mention table/db where it got the error enabling keys.
      Attaching the backtrace log

      2019-05-31 12:26:40 11013057 [Warning] Warning: Enabling keys got errno 127 on ., retrying
      *** Error in `/usr/local/mariadb10.3/bin/mysqld': free(): invalid next size (normal): 0x00007fb51471fd60 ***
      ======= Backtrace: =========
      /lib/x86_64-linux-gnu/libc.so.6(+0x70bfb)[0x7fbf262fbbfb]
      /lib/x86_64-linux-gnu/libc.so.6(+0x76fc6)[0x7fbf26301fc6]
      /lib/x86_64-linux-gnu/libc.so.6(+0x7780e)[0x7fbf2630280e]
      /usr/local/mariadb10.3/bin/mysqld(+0xc15550)[0x560a3246e550]
      /usr/local/mariadb10.3/bin/mysqld(_Z35create_internal_tmp_table_from_heapP3THDP5TABLEP18st_maria_columndefPS4_ibPb+0x46d)[0x560a31e774dd]
      /usr/local/mariadb10.3/bin/mysqld(_ZN11select_unit9send_dataER4ListI4ItemE+0x2ee)[0x560a31ecf44e]
      /usr/local/mariadb10.3/bin/mysqld(+0x624f2f)[0x560a31e7df2f]
      /usr/local/mariadb10.3/bin/mysqld(+0x610238)[0x560a31e69238]
      /usr/local/mariadb10.3/bin/mysqld(_ZN7AGGR_OP8end_sendEv+0x1a6)[0x560a31e85706]
      /usr/local/mariadb10.3/bin/mysqld(_Z24sub_select_postjoin_aggrP4JOINP13st_join_tableb+0x31)[0x560a31e857f1]
      /usr/local/mariadb10.3/bin/mysqld(_ZN4JOIN10exec_innerEv+0x93b)[0x560a31e9215b]
      /usr/local/mariadb10.3/bin/mysqld(_ZN4JOIN4execEv+0x3c)[0x560a31e924ac]
      /usr/local/mariadb10.3/bin/mysqld(_ZN18st_select_lex_unit4execEv+0x72c)[0x560a31ed0abc]
      /usr/local/mariadb10.3/bin/mysqld(_Z11mysql_unionP3THDP3LEXP13select_resultP18st_select_lex_unitm+0x3b)[0x560a31ed2b0b]
      /usr/local/mariadb10.3/bin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x70)[0x560a31e92560]
      /usr/local/mariadb10.3/bin/mysqld(+0x500499)[0x560a31d59499]
      /usr/local/mariadb10.3/bin/mysqld(_Z21mysql_execute_commandP3THD+0x1458)[0x560a31e3dcf8]
      /usr/local/mariadb10.3/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x560a31e44c49]
      /usr/local/mariadb10.3/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1bee)[0x560a31e46dce]
      /usr/local/mariadb10.3/bin/mysqld(_Z10do_commandP3THD+0x13e)[0x560a31e4758e]
      /usr/local/mariadb10.3/bin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x16f)[0x560a31f0f03f]
      /usr/local/mariadb10.3/bin/mysqld(handle_one_connection+0x44)[0x560a31f0f164]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x74a4)[0x7fbf26cb74a4]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fbf26373d0f]
      

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              sysmonk aleksandr stankevic
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.