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

Multiple encryption tests fail in buildbot with valgrind warnings (Conditional jump or move depends on uninitialised value)

    Details

    • Sprint:
      10.2.4-1, 10.2.4-2

      Description

      The new valgrind builder is still experimental, but the failure is reproducible locally for me, so I don't think it's the builder's fault.

      10.1 23cc1be270c7304963643947d8e5ab88f4e312ee

      encryption.innodb_encryption_is 'cbc,xtradb' [ fail ]  Found warnings/errors in server log file!
              Test ended at 2016-12-30 00:17:28
      line
      ==24755== Thread 16:
      ==24755== Conditional jump or move depends on uninitialised value(s)
      ==24755==    at 0xC2A7FD: buf_page_is_checksum_valid_innodb(unsigned char const*, unsigned long, unsigned long) (buf0buf.cc:653)
      ==24755==    by 0xC2AC60: buf_page_is_corrupted(bool, unsigned char const*, unsigned long) (buf0buf.cc:859)
      ==24755==    by 0xCB74C3: fil_space_encrypt(unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned char*) (fil0crypt.cc:697)
      ==24755==    by 0xC37059: buf_page_encrypt_before_write(buf_page_t*, unsigned char*, unsigned long) (buf0buf.cc:6366)
      ==24755==    by 0xC4304E: buf_flush_write_block_low(buf_page_t*, buf_flush_t, bool) (buf0flu.cc:950)
      ==24755==    by 0xC435B7: buf_flush_page(buf_pool_t*, buf_page_t*, buf_flush_t, bool) (buf0flu.cc:1109)
      ==24755==    by 0xC43B89: buf_flush_try_neighbors(unsigned long, unsigned long, buf_flush_t, unsigned long, unsigned long) (buf0flu.cc:1324)
      ==24755==    by 0xC43EAE: buf_flush_page_and_try_neighbors(buf_page_t*, buf_flush_t, unsigned long, unsigned long*) (buf0flu.cc:1412)
      ==24755==    by 0xC4499B: buf_do_flush_list_batch(buf_pool_t*, unsigned long, unsigned long) (buf0flu.cc:1741)
      ==24755==    by 0xC44D35: buf_flush_batch(buf_pool_t*, buf_flush_t, unsigned long, unsigned long, bool, flush_counters_t*) (buf0flu.cc:1817)
      ==24755==    by 0xC45461: buf_flush_list(unsigned long, unsigned long, unsigned long*) (buf0flu.cc:2097)
      ==24755==    by 0xC460F4: page_cleaner_do_flush_batch(unsigned long, unsigned long) (buf0flu.cc:2410)
      ==24755==    by 0xC47376: buf_flush_page_cleaner_thread (buf0flu.cc:2792)
      ==24755==    by 0x4E3D0A3: start_thread (pthread_create.c:309)
      ==24755==    by 0x6CB787C: clone (clone.S:111)
      ==24755== Conditional jump or move depends on uninitialised value(s)
      ==24755==    at 0x4C2ED52: __memcmp_sse4_1 (vg_replace_strmem.c:972)
      ==24755==    by 0xCB74E3: fil_space_encrypt(unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned char*) (fil0crypt.cc:698)
      ==24755==    by 0xC37059: buf_page_encrypt_before_write(buf_page_t*, unsigned char*, unsigned long) (buf0buf.cc:6366)
      ==24755==    by 0xC4304E: buf_flush_write_block_low(buf_page_t*, buf_flush_t, bool) (buf0flu.cc:950)
      ==24755==    by 0xC435B7: buf_flush_page(buf_pool_t*, buf_page_t*, buf_flush_t, bool) (buf0flu.cc:1109)
      ==24755==    by 0xC43B89: buf_flush_try_neighbors(unsigned long, unsigned long, buf_flush_t, unsigned long, unsigned long) (buf0flu.cc:1324)
      ==24755==    by 0xC43EAE: buf_flush_page_and_try_neighbors(buf_page_t*, buf_flush_t, unsigned long, unsigned long*) (buf0flu.cc:1412)
      ==24755==    by 0xC4499B: buf_do_flush_list_batch(buf_pool_t*, unsigned long, unsigned long) (buf0flu.cc:1741)
      ==24755==    by 0xC44D35: buf_flush_batch(buf_pool_t*, buf_flush_t, unsigned long, unsigned long, bool, flush_counters_t*) (buf0flu.cc:1817)
      ==24755==    by 0xC45461: buf_flush_list(unsigned long, unsigned long, unsigned long*) (buf0flu.cc:2097)
      ==24755==    by 0xC460F4: page_cleaner_do_flush_batch(unsigned long, unsigned long) (buf0flu.cc:2410)
      ==24755==    by 0xC47376: buf_flush_page_cleaner_thread (buf0flu.cc:2792)
      ==24755==    by 0x4E3D0A3: start_thread (pthread_create.c:309)
      ==24755==    by 0x6CB787C: clone (clone.S:111)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                elenst Elena Stepanova
                Reporter:
                elenst Elena Stepanova
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: