pfs unit test ASan error in 5.6.36
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 .......
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/
#1 0x5631cabe2669 in my_malloc /mnt/workspace/
#2 0x5631cabe8d9d in _lf_alloc_new /mnt/workspace/
#3 0x5631cabeb355 in lf_hash_insert /mnt/workspace/
#4 0x5631cabb34e7 in find_or_
#5 0x5631cabd6715 in create_file_v1 /mnt/workspace/
#6 0x5631caba32e6 in test_init_
#7 0x5631caba8152 in do_all_tests() /mnt/workspace/
#8 0x5631cab9ed28 in main /mnt/workspace/
#9 0x7f22932653f0 in __libc_start_main (/lib/x86_
SUMMARY: AddressSanitizer: 40 byte(s) leaked in 1 allocation(s).
https:/ /github. com/percona/ percona- server/ pull/2086 /github. com/percona/ percona- server/ pull/2087
https:/