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

MariaDB crashes when replicate_wild_ignore_table is set to NULL

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 5.5(EOL), 10.0(EOL), 10.1(EOL)
    • 5.5.54
    • Replication
    • None
    • Centos 6
    • 10.1.20

    Description

      When trying to clear list of wildcards:

      STOP SLAVE;
      SET GLOBAL replicate_wild_ignore_table = null;
      START SLAVE;

      MariaDB crashes, following from logs:

      50617 23:55:37 [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 http://kb.askmonty.org/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.0.19-MariaDB-log
      key_buffer_size=67108864
      read_buffer_size=4194304
      max_used_connections=5
      max_threads=202
      thread_count=3
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 14135174 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x0x7fdcae008008
      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 = 0x7fdc9a960d00 thread_stack 0x30000
      /usr/sbin/mysqld(my_print_stacktrace+0x2b)[0xb7bc1b]
      /usr/sbin/mysqld(handle_fatal_signal+0x398)[0x72b318]
      /lib64/libpthread.so.0[0x3ae6c0f710]
      /lib64/libc.so.6[0x3ae693386f]
      /usr/sbin/mysqld(my_strdup+0x1f)[0xb7842f]
      /usr/sbin/mysqld(_ZN10Rpl_filter17parse_filter_ruleEPKcMS_FiS1_E+0x2f)[0x55d1ff]
      /usr/sbin/mysqld(_ZN10Rpl_filter21set_wild_ignore_tableEPKc+0x39)[0x55d4a9]
      /usr/sbin/mysqld(_ZN18Sys_var_rpl_filter16set_filter_valueEPKcP11Master_info+0x45)[0x6ad745]
      /usr/sbin/mysqld(_ZN18Sys_var_rpl_filter13global_updateEP3THDP7set_var+0xd6)[0x6ad886]
      /usr/sbin/mysqld[0x55e46c]
      /usr/sbin/mysqld(_ZN7set_var6updateEP3THD+0x34)[0x55ec44]
      /usr/sbin/mysqld(_Z17sql_set_variablesP3THDP4ListI12set_var_baseE+0x89)[0x55ff69]
      /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x1f84)[0x5d5cb4]
      /usr/sbin/mysqld[0x5da5e7]
      /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x1c7c)[0x5dc9cc]
      /usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x453)[0x699b53]
      /usr/sbin/mysqld(handle_one_connection+0x42)[0x699c22]
      /usr/sbin/mysqld[0xa715fd]
      /lib64/libpthread.so.0[0x3ae6c079d1]
      /lib64/libc.so.6(clone+0x6d)[0x3ae68e8b6d]
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7fdcaf421020): is an invalid pointer
      Connection ID (thread ID): 131
      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{quote}

      The following works as expected:

      STOP SLAVE;
      SET GLOBAL replicate_wild_ignore_table = "";
      START SLAVE;

      Attachments

        Issue Links

          Activity

            People

              holyfoot Alexey Botchkov
              yudelevi Daniel Yudelevich
              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.