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

Crash in Field_blob::store() while reading statistics for the small InnoDB table

    XMLWordPrintable

Details

    Description

      The following crash happened recently:

      180707 3:37:19 [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.14-MariaDB-log
      key_buffer_size=67108864
      read_buffer_size=131072
      max_used_connections=7
      max_threads=302
      thread_count=13
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 729244 K bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x7f9ac9c4f7a8
      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 = 0x7fa138048d80 thread_stack 0x40000
      mysys/stacktrace.c:267(my_print_stacktrace)[0x55dcffa848bd]
      sql/signal_handler.cc:168(handle_fatal_signal)[0x55dcff4b80f2]
      sigaction.c:0(__restore_rt)[0x7fa13d5e95e0]
      sql/field.cc:7927(Field_blob::store(char const*, unsigned int, charset_info_st const*))[0x55dcff4a16f7]
      sql/sql_statistics.cc:1152(Column_stat::get_stat_values())[0x55dcff2e4e21]
      sql/sql_statistics.cc:2986(read_statistics_for_table)[0x55dcff2e0545]
      sql/sql_statistics.cc:3240(read_statistics_for_tables_if_needed(THD*, TABLE_LIST*))[0x55dcff2e10a7]
      sql/sql_base.cc:4855(open_and_lock_tables(THD*, DDL_options_st const&, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*))[0x55dcff1dbdb2]
      sql/sql_base.h:498(open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int))[0x55dcff1a5f19]
      sql/sql_parse.cc:6432(execute_sqlcom_select)[0x55dcff24ad24]
      sql/sql_parse.cc:3736(mysql_execute_command(THD*))[0x55dcff2428e1]
      sql/sql_parse.cc:7978(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x55dcff24e48c]
      sql/sql_parse.cc:1837(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x55dcff23de2d]
      sql/sql_parse.cc:1383(do_command(THD*))[0x55dcff23ca79]
      sql/sql_connect.cc:1335(do_handle_one_connection(CONNECT*))[0x55dcff365860]
      sql/sql_connect.cc:1242(handle_one_connection)[0x55dcff3655c0]
      pthread_create.c:0(start_thread)[0x7fa13d5e1e25]
      /lib64/libc.so.6(clone+0x6d)[0x7fa13bbb934d]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7f9ac9a69790): SELECT MAX(T_ID) FROM T
      Connection ID (thread ID): 5660
      Status: NOT_KILLED
      ...
      

      In the above T is a small InnoDB table and T_ID is its primary key column.

      Attachments

        Issue Links

          Activity

            People

              igor Igor Babaev
              valerii Valerii Kravchuk
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.