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

archive.archive fails in buildbot with valgrind (Use of uninitialised value)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.2(EOL)
    • 10.2.5
    • OTHER, Tests
    • None
    • 10.0.29, 10.2.4-1, 10.2.4-2, 10.2.6-1

    Description

      http://buildbot.askmonty.org/buildbot/builders/xenial-amd64-valgrind/builds/183/steps/test/logs/stdio
      Also reproducible locally with cmake . -DCMAKE_BUILD_TYPE=Debug -DWITH_VALGRIND=YES

      archive.archive                          w7 [ fail ]  Found warnings/errors in server log file!
              Test ended at 2016-12-22 09:47:46
      line
      ==32600== Thread 6:
      ==32600== Use of uninitialised value of size 8
      ==32600==    at 0x5256A62: crc32 (in /lib/x86_64-linux-gnu/libz.so.1.2.8)
      ==32600==    by 0x81CFC07: azwrite (azio.c:613)
      ==32600==    by 0x81D2FFB: ha_archive::real_write_row(unsigned char*, azio_stream*) (ha_archive.cc:858)
      ==32600==    by 0x81D360A: ha_archive::write_row(unsigned char*) (ha_archive.cc:1034)
      ==32600==    by 0x924026: handler::ha_write_row(unsigned char*) (handler.cc:5956)
      ==32600==    by 0x67EB99: write_record(THD*, TABLE*, COPY_INFO*) (sql_insert.cc:1890)
      ==32600==    by 0x67C614: mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool) (sql_insert.cc:1003)
      ==32600==    by 0x6A4508: mysql_execute_command(THD*) (sql_parse.cc:4370)
      ==32600==    by 0x6AFC4E: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7842)
      ==32600==    by 0x69D551: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1799)
      ==32600==    by 0x69BF24: do_command(THD*) (sql_parse.cc:1359)
      ==32600==    by 0x7E8A06: do_handle_one_connection(CONNECT*) (sql_connect.cc:1354)
      ==32600== Use of uninitialised value of size 8
      ==32600==    at 0x5256A8F: crc32 (in /lib/x86_64-linux-gnu/libz.so.1.2.8)
      ==32600==    by 0x81CFC07: azwrite (azio.c:613)
      ==32600==    by 0x81D2FFB: ha_archive::real_write_row(unsigned char*, azio_stream*) (ha_archive.cc:858)
      ==32600==    by 0x81D360A: ha_archive::write_row(unsigned char*) (ha_archive.cc:1034)
      ==32600==    by 0x924026: handler::ha_write_row(unsigned char*) (handler.cc:5956)
      ==32600==    by 0x67EB99: write_record(THD*, TABLE*, COPY_INFO*) (sql_insert.cc:1890)
      ==32600==    by 0x67C614: mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool) (sql_insert.cc:1003)
      ==32600==    by 0x6A4508: mysql_execute_command(THD*) (sql_parse.cc:4370)
      ==32600==    by 0x6AFC4E: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7842)
      ==32600==    by 0x69D551: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1799)
      ==32600==    by 0x69BF24: do_command(THD*) (sql_parse.cc:1359)
      ==32600==    by 0x7E8A06: do_handle_one_connection(CONNECT*) (sql_connect.cc:1354)
      ...
      

      Attachments

        Issue Links

          Activity

            People

              varun Varun Gupta (Inactive)
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.