pfs unit test ASan error in 5.6.36

Bug #1690011 reported by Laurynas Biveinis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.5
Invalid
Undecided
Unassigned
5.6
Fix Released
Medium
Yura Sorokin
5.7
Invalid
Medium
Yura Sorokin

Bug Description

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).

tags: added: asan ci regression
tags: added: upstream
Revision history for this message
Yura Sorokin (yura-sorokin) wrote :
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1806

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.