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

MSAN report at replicate_ignore_table_grant

    XMLWordPrintable

    Details

      Description

      10.5 53aabda6b5ac6af989a97a00ff97efda9ff8772e
       
      CURRENT_TEST: sys_vars.replicate_ignore_table_grant
       
      mysqltest: In included file "./suite/sys_vars/inc/sysvar_global_grant.inc": 
       
      included from /mariadb/10.5m/mysql-test/suite/sys_vars/t/replicate_ignore_table_grant.test at line 10:
       
      At line 29: query 'SET GLOBAL $var=$value' failed: 2013: Lost connection to MySQL server during query
       
       
      ==2534804==WARNING: MemorySanitizer: use-of-uninitialized-value
       
          #0 0x555a8deddec2 in Rpl_filter::set_ignore_table(char const*) /mariadb/10.5m/sql/rpl_filter.cc:377:7
       
          #1 0x555a8e9a2b82 in Sys_var_rpl_filter::set_filter_value(char const*, Master_info*) /mariadb/10.5m/sql/sys_vars.cc:5245:25
       
          #2 0x555a8e9a25e5 in Sys_var_rpl_filter::global_update(THD*, set_var*) /mariadb/10.5m/sql/sys_vars.cc:5218:15
       
          #3 0x555a8def1f9b in sys_var::update(THD*, set_var*) /mariadb/10.5m/sql/set_var.cc:207:12
       
          #4 0x555a8defa003 in set_var::update(THD*) /mariadb/10.5m/sql/set_var.cc:859:23
       
          #5 0x555a8def8993 in sql_set_variables(THD*, List<set_var_base>*, bool) /mariadb/10.5m/sql/set_var.cc:746:20
       
          #6 0x555a8e3438f0 in mysql_execute_command(THD*) /mariadb/10.5m/sql/sql_parse.cc:4976:9
       
          #7 0x555a8e32b4c0 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /mariadb/10.5m/sql/sql_parse.cc:7953:18
       
          #8 0x555a8e31f8b1 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /mariadb/10.5m/sql/sql_parse.cc:1839:7
       
          #9 0x555a8e32d28c in do_command(THD*) /mariadb/10.5m/sql/sql_parse.cc:1358:17
       
          #10 0x555a8e92ff0b in do_handle_one_connection(CONNECT*, bool) /mariadb/10.5m/sql/sql_connect.cc:1422:11
       
          #11 0x555a8e92f4e6 in handle_one_connection /mariadb/10.5m/sql/sql_connect.cc:1319:5
       
          #12 0x555a8fda01e7 in pfs_spawn_thread /mariadb/10.5m/storage/perfschema/pfs.cc:2201:3
       
          #13 0x7f6e8e862f26 in start_thread /build/glibc-WZtAaN/glibc-2.30/nptl/pthread_create.c:479:8
       
          #14 0x7f6e8e33c2ee in clone /build/glibc-WZtAaN/glibc-2.30/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95
       
       
       
        Uninitialized value was created by a heap allocation
       
          #0 0x555a8de5e759 in operator new(unsigned long) (/dev/shm/10.5ms/sql/mariadbd+0x747759)
       
          #1 0x555a8dea2f95 in create_rpl_filter(char const*, unsigned long) /mariadb/10.5m/sql/keycaches.cc:203:11
      
      

      To reproduce it may require clang and instrumented libc++, see MDEV-20377.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sujatha.sivakumar Sujatha Sivakumar
              Reporter:
              Elkin Andrei Elkin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: