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

    • 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

            elenst Elena Stepanova created issue -
            elenst Elena Stepanova made changes -
            Field Original Value New Value
            elenst Elena Stepanova made changes -
            Fix Version/s 10.2 [ 14601 ]
            Affects Version/s 10.2 [ 14601 ]
            elenst Elena Stepanova made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            elenst Elena Stepanova made changes -
            Summary Multiple encryption tests fail in buildbot with valgrind warnings (Conditional jump or move depends on uninitialised value) in Multiple encryption tests fail in buildbot with valgrind warnings (Conditional jump or move depends on uninitialised value)
            marko Marko Mäkelä made changes -
            Assignee Jan Lindström [ jplindst ] Marko Mäkelä [ marko ]
            ratzpo Rasmus Johansson (Inactive) made changes -
            Sprint 10.2.4-1 [ 132 ]
            ratzpo Rasmus Johansson (Inactive) made changes -
            Rank Ranked lower
            elenst Elena Stepanova made changes -
            Labels 10.2-ga
            ratzpo Rasmus Johansson (Inactive) made changes -
            Sprint 10.2.4-1 [ 132 ] 10.2.4-1, 10.2.4-2 [ 132, 134 ]
            elenst Elena Stepanova made changes -
            Assignee Marko Mäkelä [ marko ] Elena Stepanova [ elenst ]
            elenst Elena Stepanova made changes -
            Assignee Elena Stepanova [ elenst ] Marko Mäkelä [ marko ]
            elenst Elena Stepanova made changes -
            Assignee Marko Mäkelä [ marko ] Elena Stepanova [ elenst ]
            elenst Elena Stepanova made changes -
            Labels 10.2-ga
            Priority Critical [ 2 ] Minor [ 4 ]
            marko Marko Mäkelä made changes -
            Labels need_feedback
            elenst Elena Stepanova made changes -
            Assignee Elena Stepanova [ elenst ] Marko Mäkelä [ marko ]
            Labels need_feedback
            Roel Roel Van de Paar made changes -
            julien.fritsch Julien Fritsch made changes -
            Fix Version/s 10.1 [ 16100 ]
            marko Marko Mäkelä made changes -
            issue.field.resolutiondate 2021-04-26 12:47:05.0 2021-04-26 12:47:05.522
            marko Marko Mäkelä made changes -
            Fix Version/s 10.4.13 [ 24223 ]
            Fix Version/s 10.3.23 [ 24222 ]
            Fix Version/s 10.2.32 [ 24221 ]
            Fix Version/s 10.1.45 [ 23913 ]
            Fix Version/s 10.5.1 [ 24029 ]
            Fix Version/s 10.2 [ 14601 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 79024 ] MariaDB v4 [ 151457 ]

            People

              marko Marko Mäkelä
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.