Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-1516

LP #1334719: Valgrind: memory leak in MTR percona_secure_file_priv_noarg

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      **Reported in Launchpad by Laurynas Biveinis last update 26-09-2014 04:51:40

      $ ./mysql-test-run percona_secure_file_priv_noarg --valgrind

      main.percona_secure_file_priv_noarg [ pass ] 440
      worker[1] Valgrind report from /home/laurynas/percona/lp-mysql-server/valgrind-fixes-5.5/obj-valgrind/mysql-test/var/log/mysqld.1.err after tests:
      main.percona_secure_file_priv_noarg
      --------------------------------------------------------------------------
      HEAP SUMMARY:
      in use at exit: 30,570,206 bytes in 208 blocks
      total heap usage: 64,844 allocs, 64,636 frees, 88,326,945 bytes allocated

      86 bytes in 1 blocks are definitely lost in loss record 63 of 95
      at 0x4C2AB80: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      by 0x90D47C: my_malloc (my_malloc.c:38)
      by 0x90D862: my_strdup (my_malloc.c:152)
      by 0x909CBF: setval (my_getopt.c:1010)
      by 0x90950D: handle_options (my_getopt.c:773)
      by 0x55AADC: get_options(int*, char***) (mysqld.cc:7621)
      by 0x553F9F: init_common_variables() (mysqld.cc:3328)
      by 0x556AE2: mysqld_main(int, char**) (mysqld.cc:4668)
      by 0x54E47C: main (main.cc:25)

      LEAK SUMMARY:
      definitely lost: 86 bytes in 1 blocks
      indirectly lost: 0 bytes in 0 blocks
      possibly lost: 0 bytes in 0 blocks
      still reachable: 0 bytes in 0 blocks
      suppressed: 30,570,120 bytes in 207 blocks

      For counts of detected and suppressed errors, rerun with: -v
      ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 72 from 72)

      valgrind_report [ fail ]

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lpjirasync lpjirasync (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: