Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-3719

LP #1702400: information_schema database corrupted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      **Reported in Launchpad by Shiv Narasiah last update 20-07-2017 05:35:55

      When I try to run,
      use information_schema; select * from tables;
      mysql crashes
      tried running mysql_upgrade --force as well it crashes to.

      Here is o/p I see in error log,

      04:03:16 UTC - 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.
      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.
      Please help us make Percona Server better by reporting any
      bugs at http://bugs.percona.com/

      key_buffer_size=8388608
      read_buffer_size=131072
      max_used_connections=4
      max_threads=1002
      thread_count=4
      connection_count=2
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 406872 K bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.

      Thread pointer: 0x7faab8f4f000
      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 = 7fae890a8d00 thread_stack 0x40000
      /usr/sbin/mysqld(my_print_stacktrace+0x3b)[0x8e4f7b]
      /usr/sbin/mysqld(handle_fatal_signal+0x471)[0x65e121]
      /lib64/libpthread.so.0(+0xf370)[0x7fae8c790370]
      /usr/sbin/mysqld[0x9f60fe]
      /usr/sbin/mysqld[0xaa2dc8]
      /usr/sbin/mysqld[0xa4929a]
      /usr/sbin/mysqld[0x990b2f]
      /usr/sbin/mysqld[0x9973be]
      /usr/sbin/mysqld(_ZN7handler7ha_openEP5TABLEPKcii+0x33)[0x59e0c3]
      /usr/sbin/mysqld[0xb71e7a]
      /usr/sbin/mysqld(_ZN7handler7ha_openEP5TABLEPKcii+0x33)[0x59e0c3]
      /usr/sbin/mysqld(_Z21open_table_from_shareP3THDP11TABLE_SHAREPKcjjjP5TABLEb+0x6bc)[0x768fdc]
      /usr/sbin/mysqld(_Z10open_tableP3THDP10TABLE_LISTP18Open_table_context+0x1116)[0x693576]
      /usr/sbin/mysqld(_Z11open_tablesP3THDPP10TABLE_LISTPjjP19Prelocking_strategy+0x6c5)[0x69b565]
      /usr/sbin/mysqld(_Z30open_normal_and_derived_tablesP3THDP10TABLE_LISTj+0x60)[0x69be70]
      /usr/sbin/mysqld[0x711a19]
      /usr/sbin/mysqld(_Z14get_all_tablesP3THDP10TABLE_LISTP4Item+0x699)[0x724749]
      /usr/sbin/mysqld(_Z24get_schema_tables_resultP4JOIN23enum_schema_table_state+0x2ea)[0x72527a]
      /usr/sbin/mysqld(_ZN4JOIN14prepare_resultEPP4ListI4ItemE+0xa5)[0x705715]
      /usr/sbin/mysqld(_ZN4JOIN4execEv+0x15c)[0x6be91c]
      /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_P10SQL_I_ListI8st_orderESB_S7_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x275)[0x70a035]
      /usr/sbin/mysqld(_Z13handle_selectP3THDP13select_resultm+0x195)[0x70a8c5]
      /usr/sbin/mysqld[0x55d236]
      /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x1626)[0x6e21c6]
      /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x5b8)[0x6e7f58]
      /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0xfe4)[0x6e96e4]
      /usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x1c2)[0x6b5752]
      /usr/sbin/mysqld(handle_one_connection+0x40)[0x6b57f0]
      /usr/sbin/mysqld(pfs_spawn_thread+0x146)[0x91d176]
      /lib64/libpthread.so.0(+0x7dc5)[0x7fae8c788dc5]
      /lib64/libc.so.6(clone+0x6d)[0x7fae8a9d773d]

      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (7fa9f1473010): is an invalid pointer
      Connection ID (thread ID): 12
      Status: NOT_KILLED

      You may download the Percona Server operations manual by visiting
      http://www.percona.com/software/percona-server/. You may find information
      in the manual which will help you identify the cause of the crash.

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lpjirasync lpjirasync (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: