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

LP #1690011: pfs unit test ASan error in 5.6.36

    XMLWordPrintable

    Details

      Description

      **Reported in Launchpad by Laurynas Biveinis last update 11-05-2017 07:17:25

      Starting with upstream 5.6.36 merge, under AddressSanitizer:

      unit_tests w0 [ fail ]
      Test ended at 2017-05-05 02:59:45

      ctest failed with exit code 2048, see result below
      ...
      10/24 Test #10: pfs ..............................***Failed 0.75 sec
      1..216
      ...
      ok 216 - 313 event names

      =================================================================
      ==21284==ERROR: LeakSanitizer: detected memory leaks

      Direct leak of 40 byte(s) in 1 object(s) allocated from:
      #0 0x7f2293bfa070 in calloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc7070)
      #1 0x5631cabe2669 in my_malloc /mnt/workspace/percona-server-5.6-asan-param/BUILD_TYPE/release-asan/Host/yakkety-64-bigram/mysys/my_malloc.c:38
      #2 0x5631cabe8d9d in _lf_alloc_new /mnt/workspace/percona-server-5.6-asan-param/BUILD_TYPE/release-asan/Host/yakkety-64-bigram/mysys/lf_alloc-pin.c:440
      #3 0x5631cabeb355 in lf_hash_insert /mnt/workspace/percona-server-5.6-asan-param/BUILD_TYPE/release-asan/Host/yakkety-64-bigram/mysys/lf_hash.c:373
      #4 0x5631cabb34e7 in find_or_create_file(PFS_thread*, PFS_file_class*, char const*, unsigned int, bool) /mnt/workspace/percona-server-5.6-asan-param/BUILD_TYPE/release-asan/Host/yakkety-64-bigram/storage/perfschema/pfs_instr.cc:1353
      #5 0x5631cabd6715 in create_file_v1 /mnt/workspace/percona-server-5.6-asan-param/BUILD_TYPE/release-asan/Host/yakkety-64-bigram/storage/perfschema/pfs.cc:1791
      #6 0x5631caba32e6 in test_init_disabled() /mnt/workspace/percona-server-5.6-asan-param/BUILD_TYPE/release-asan/Host/yakkety-64-bigram/storage/perfschema/unittest/pfs-t.cc:899
      #7 0x5631caba8152 in do_all_tests() /mnt/workspace/percona-server-5.6-asan-param/BUILD_TYPE/release-asan/Host/yakkety-64-bigram/storage/perfschema/unittest/pfs-t.cc:1658
      #8 0x5631cab9ed28 in main /mnt/workspace/percona-server-5.6-asan-param/BUILD_TYPE/release-asan/Host/yakkety-64-bigram/storage/perfschema/unittest/pfs-t.cc:1668
      #9 0x7f22932653f0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x203f0)

      SUMMARY: AddressSanitizer: 40 byte(s) leaked in 1 allocation(s).

        Attachments

          Activity

            People

            • Assignee:
              yura.sorokin Yura Sorokin
              Reporter:
              lpjirasync lpjirasync (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: