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

Crash on select from information_schema.tables

    XMLWordPrintable

    Details

      Description

      This error I get on multiple servers on select * from information_schema.tables;

      161226 13:08:52 [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.1.20-MariaDB
      key_buffer_size=268435456
      read_buffer_size=1048576
      max_used_connections=2
      max_threads=2002
      thread_count=1
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 4403338 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x0x7f8ecffe8008
      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 = 0x7fd7e89f6140 thread_stack 0x48400
      /usr/sbin/mysqld(my_print_stacktrace+0x2b)[0x7fe1c92c05cb]
      /usr/sbin/mysqld(handle_fatal_signal+0x4d5)[0x7fe1c8e19375]
      /lib64/libpthread.so.0(+0xf7e0)[0x7fe1c841b7e0]
      /usr/sbin/mysqld(_Z21open_table_from_shareP3THDP11TABLE_SHAREPKcjjjP5TABLEb+0xe3d)[0x7fe1c8d48bed]
      /usr/sbin/mysqld(_Z10open_tableP3THDP10TABLE_LISTP18Open_table_context+0x2a5)[0x7fe1c8c615f5]
      /usr/sbin/mysqld(_Z11open_tablesP3THDRK14DDL_options_stPP10TABLE_LISTPjjP19Prelocking_strategy+0xf12)[0x7fe1c8c65b02]
      /usr/sbin/mysqld(_Z30open_normal_and_derived_tablesP3THDP10TABLE_LISTjj+0x59)[0x7fe1c8c65de9]
      /usr/sbin/mysqld(+0x4b510e)[0x7fe1c8d0010e]
      /usr/sbin/mysqld(_Z14get_all_tablesP3THDP10TABLE_LISTP4Item+0x81e)[0x7fe1c8d1557e]
      /usr/sbin/mysqld(_Z24get_schema_tables_resultP4JOIN23enum_schema_table_state+0x28e)[0x7fe1c8d130ce]
      /usr/sbin/mysqld(_ZN4JOIN10exec_innerEv+0x6b5)[0x7fe1c8cfad85]
      /usr/sbin/mysqld(_ZN4JOIN4execEv+0x5d)[0x7fe1c8cfd19d]
      /usr/sbin/mysqld(_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x12a)[0x7fe1c8cf9b6a]
      mysys/stacktrace.c:268(my_print_stacktrace)[0x7fe1c8cfd47d]
      sql/signal_handler.cc:168(handle_fatal_signal)[0x7fe1c8c9ce32]
      sql/table.cc:2950(open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool))[0x7fe1c8ca90fc]
      sql/sql_base.cc:2554(open_table(THD*, TABLE_LIST*, Open_table_context*))[0x7fe1c8cac6b4]
      sql/sql_show.cc:4183(fill_schema_table_by_open)[0x7fe1c8caf183]
      /usr/sbin/mysqld(_Z10do_commandP3THD+0x16b)[0x7fe1c8caf71b]
      sql/sql_select.cc:2656(JOIN::exec_inner())[0x7fe1c8d6dfff]
      sql/sql_select.cc:3441(mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*))[0x7fe1c8d6e157]
      sql/sql_parse.cc:5897(execute_sqlcom_select)[0x7fe1c8413aa1]
      /lib64/libc.so.6(clone+0x6d)[0x7fe1c68f7aad]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7f8ed6028020): is an invalid pointer
      Connection ID (thread ID): 22
      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=off
       
      The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
      information that should help you find out what is causing the crash.
       
      We think the query pointer is invalid, but we will try to print it anyway. 
      Query: select * from information_schema.tables
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Hrehora Rob
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: