Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-638

memory leak in ps_bugs.c

    XMLWordPrintable

Details

    Description

      https://buildbot.mariadb.net/buildbot/builders/kvm-asan/builds/9996/steps/mtr_nm/logs/stdio

      Direct leak of 1272 byte(s) in 1 object(s) allocated from:
          #0 0x7f93a7b94dc6 in calloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10ddc6)
          #1 0x561c57d52eae in mysql_init /home/buildbot/buildbot/build/mariadb-10.5.20/libmariadb/libmariadb/mariadb_lib.c:1109
          #2 0x561c57d4bd19 in test_conc633 /home/buildbot/buildbot/build/mariadb-10.5.20/libmariadb/unittest/libmariadb/ps_bugs.c:5513
          #3 0x561c57d225e9 in run_tests /home/buildbot/buildbot/build/mariadb-10.5.20/libmariadb/unittest/libmariadb/my_test.h:718
          #4 0x561c57d4c189 in main /home/buildbot/buildbot/build/mariadb-10.5.20/libmariadb/unittest/libmariadb/ps_bugs.c:5682
          #5 0x7f93a756e0b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
      

      LSAN lists more leaks, but all have the same underlying reason

      Attachments

        Activity

          People

            georg Georg Richter
            serg Sergei Golubchik
            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.