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

MemorySanitizer errors in Show::disks_fill_table (disks plugin)

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.5, 10.6, 10.11, 11.0(EOL), 11.1(EOL), 11.2(EOL), 11.3(EOL), 11.4
    • 10.5, 10.6, 10.11
    • Plugins
    • None

    Description

      On a MSAN build:

      LD_LIBRARY_PATH=<MSAN libraries> perl ./mtr disks.disks
      

      10.5 0185ac64f390528ec89b4be6d970c4f5c54fbe08

      ==1579150==WARNING: MemorySanitizer: use-of-uninitialized-value
          #0 0x7fc7c1234af7 in Show::disks_fill_table(THD*, TABLE_LIST*, Item*) /data/bld/10.5-msan/plugin/disks/information_schema_disks.cc:226:13
          #1 0x55c0a9ceec10 in get_schema_tables_result(JOIN*, enum_schema_table_state) /data/bld/10.5-msan/sql/sql_show.cc:9011:11
          #2 0x55c0a9b97c33 in JOIN::exec_inner() /data/bld/10.5-msan/sql/sql_select.cc:4579:7
          #3 0x55c0a9b953f8 in JOIN::exec() /data/bld/10.5-msan/sql/sql_select.cc:4402:3
          #4 0x55c0a9afd970 in mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /data/bld/10.5-msan/sql/sql_select.cc:4879:9
          #5 0x55c0a9afc386 in handle_select(THD*, LEX*, select_result*, unsigned long) /data/bld/10.5-msan/sql/sql_select.cc:450:10
          #6 0x55c0a9a311fe in execute_sqlcom_select(THD*, TABLE_LIST*) /data/bld/10.5-msan/sql/sql_parse.cc:6391:12
          #7 0x55c0a9a0b08a in mysql_execute_command(THD*) /data/bld/10.5-msan/sql/sql_parse.cc:4022:12
          #8 0x55c0a99f22d7 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/bld/10.5-msan/sql/sql_parse.cc:8170:18
          #9 0x55c0a99e5741 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/bld/10.5-msan/sql/sql_parse.cc:1891:7
          #10 0x55c0a99f4278 in do_command(THD*) /data/bld/10.5-msan/sql/sql_parse.cc:1375:17
          #11 0x55c0a9ffa85f in do_handle_one_connection(CONNECT*, bool) /data/bld/10.5-msan/sql/sql_connect.cc:1415:11
          #12 0x55c0a9ff9f55 in handle_one_connection /data/bld/10.5-msan/sql/sql_connect.cc:1317:5
          #13 0x55c0ab40daba in pfs_spawn_thread /data/bld/10.5-msan/storage/perfschema/pfs.cc:2201:3
          #14 0x7fc7c1418043 in start_thread nptl/./nptl/pthread_create.c:442:8
          #15 0x7fc7c149861b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
       
        Uninitialized value was created by an allocation of 'f' in the stack frame of function '_ZN4ShowL16disks_fill_tableEP3THDP10TABLE_LISTP4Item'
          #0 0x7fc7c1233c90 in Show::disks_fill_table(THD*, TABLE_LIST*, Item*) /data/bld/10.5-msan/plugin/disks/information_schema_disks.cc:170
      

      Attachments

        Activity

          People

            sanja Oleksandr Byelkin
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.