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

An improper locking bug due to unreleased lock in the ds_xbstream.cc

Details

    Description

      The lock stream_ctxt->mutex is not released correctly when stream_ctxt->dest_file == NULL in the function xbstream_open
      https://github.com/MariaDB/server/blob/76f4a78ba2639b5abd01a88b24a3c509c11530ce/extra/mariabackup/ds_xbstream.cc#L126-L133

      Also mentioned in MDEV-26556.

      Attachments

        Activity

          Ryan Ryan created issue -
          wlad Vladislav Vaintroub made changes -
          Field Original Value New Value
          Assignee Vladislav Vaintroub [ wlad ]
          wlad Vladislav Vaintroub made changes -
          Summary An improper locking bug due to unreleased lock in the ds_archive.cc An improper locking bug due to unreleased lock in the ds_xbstream.cc
          wlad Vladislav Vaintroub made changes -
          issue.field.resolutiondate 2021-09-15 13:22:03.0 2021-09-15 13:22:03.653
          wlad Vladislav Vaintroub made changes -
          Fix Version/s 10.2.41 [ 26032 ]
          Fix Version/s 10.3.32 [ 26029 ]
          Fix Version/s 10.4.22 [ 26031 ]
          Fix Version/s 10.5.13 [ 26026 ]
          Fix Version/s 10.6.5 [ 26034 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 124900 ] MariaDB v4 [ 159675 ]

          People

            wlad Vladislav Vaintroub
            Ryan Ryan
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.