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

fix dbug_print_row concurrent access

Details

    Description

      History:

      e1e1e50bbaf has improved dbug_print_row and added DBUG_PRINT to ha_*_rows function, but had a use-after-free flaw.

      https://es-jenkins.mariadb.net/job/Source-Build-Test//26700/artifact/test-mtr.log/*view*
      main.type_temporal_mysql56_debug failed with asan

      7544fd4caeb959bdb5 fixed use-after-free, but
      1. has limitation of 4096 size string
      2. has race condition, since dbug_row_print_buf is global.

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Nikita Malyavin made transition -
            Open In Progress
            39s 1
            Nikita Malyavin made transition -
            In Progress In Review
            1h 13m 1
            Oleksandr Byelkin made transition -
            In Review Stalled
            3d 19h 28m 1
            Oleksandr Byelkin made transition -
            Stalled Closed
            22s 1

            People

              sanja Oleksandr Byelkin
              nikitamalyavin Nikita Malyavin
              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.