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

Memleak on shutdown in acl_load_mutex test

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • 10.6.21
    • N/A
    • Server
    • clang-20.1 ASAN+UBSAN

    Description

      10.6

      CURRENT_TEST: roles.acl_load_mutex-5170
      2025-03-21  4:36:11 0 [Note] /build/sql/mariadbd (initiated by: root[root] @ localhost []): Normal shutdown
      2025-03-21  4:36:11 0 [Note] /build/sql/mariadbd: Shutdown complete
       
      =================================================================
      ==897120==ERROR: LeakSanitizer: detected memory leaks
       
      Direct leak of 232 byte(s) in 1 object(s) allocated from:
          #0 0x56186746e15d in operator new(unsigned long) (/build/sql/mariadbd+0x1bfc15d) (BuildId: e4cbe1e90dcf9ad5532606f102cf779243ea4f37)
          #1 0x7b653f3ed038  (<unknown module>)
          #2 0x7b653f28ea73  (<unknown module>)
          #3 0x7b653efc9718  (<unknown module>)
          #4 0x7b653e89a0d6  (<unknown module>)
          #5 0x7f654beb59cd  (/lib64/ld-linux-x86-64.so.2+0x49cd) (BuildId: f4bc47db467906580a47640e01e6d901e2642a7b)
       
      SUMMARY: AddressSanitizer: 232 byte(s) leaked in 1 allocation(s).
      250321  4:36:11 [ERROR] /build/sql/mariadbd got signal 6 ;
      Sorry, we probably made a mistake, and this is a bug.
      

      Attachments

        Issue Links

          Activity

            danblack Daniel Black created issue -
            Roel Roel Van de Paar made changes -
            Field Original Value New Value
            Roel Roel Van de Paar added a comment -

            I cannot reproduce the bug on Clang 18.1 UBASAN, so Clang 20.1 must be required. Possibly connected with MDEV-35622. Odd there is no clear stack?

            Roel Roel Van de Paar added a comment - I cannot reproduce the bug on Clang 18.1 UBASAN, so Clang 20.1 must be required. Possibly connected with MDEV-35622 . Odd there is no clear stack?
            danblack Daniel Black made changes -
            Labels ASAN leak ASAN leak not-11.4
            danblack Daniel Black added a comment -

            not sure, possible hallucination.

            less likely to be MDEV-35622 as its a full table initialized test rather than a wrong structure.

            10.6 opt

            buildbot@8b774721de74:/build$  mysql-test/mtr --repeat 40 --parallel=16 roles.acl_load_mutex-5170{,,,,,,,,,,,,,}
            ...
            Spent 747.392 of 70 seconds executing testcases
             
            Completed: All 560 tests were successful.
            

            danblack Daniel Black added a comment - not sure, possible hallucination. less likely to be MDEV-35622 as its a full table initialized test rather than a wrong structure. 10.6 opt buildbot@8b774721de74:/build$ mysql-test/mtr --repeat 40 --parallel=16 roles.acl_load_mutex-5170{,,,,,,,,,,,,,} ... Spent 747.392 of 70 seconds executing testcases   Completed: All 560 tests were successful.
            danblack Daniel Black made changes -
            Fix Version/s N/A [ 14700 ]
            Fix Version/s 10.6 [ 24028 ]
            Resolution Cannot Reproduce [ 5 ]
            Status Open [ 1 ] Closed [ 6 ]
            Roel Roel Van de Paar added a comment -

            Yeah also ran several thousand iterations, did not reproduce.

            Roel Roel Van de Paar added a comment - Yeah also ran several thousand iterations, did not reproduce.

            People

              Unassigned Unassigned
              danblack Daniel Black
              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.