pfs_instr_config_array elements not deallocated on shutdown
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Invalid
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
Low
|
Laurynas Biveinis | |||
5.7 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
pfs_instr_
=======
==16675==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 21 byte(s) in 1 object(s) allocated from:
#0 0x7f17748fa54a in malloc (/usr/lib/
#1 0xff7f7f in my_malloc /mnt/workspace/
#2 0x1634b83 in add_pfs_
#3 0x58cccf in mysqld_
#4 0x10256c6 in my_handle_options /mnt/workspace/
#5 0x1025c63 in handle_options /mnt/workspace/
#6 0x5963e5 in handle_
#7 0x5a35a3 in mysqld_main(int, char**) /mnt/workspace/
#8 0x586aae in main /mnt/workspace/
#9 0x7f17726cc82f in __libc_start_main (/lib/x86_
This is possible to fix by adding/fixing suppressions, but observe that pfs_instr_
[1]:
commit d1e05b0993971fc
Author: Christopher Powers <email address hidden>
Date: Thu Jan 26 11:49:01 2012 -0600
Bug#13440472 MANY VALGRIND FAILURES ON DAILY-TRUNK
Deallocate the array of PFS instrument configuration values during
server shutdown to avoid Valgrind errors.
tags: | added: asan ci upstream |
https:/ /github. com/percona/ percona- server/ pull/679, https:/ /github. com/percona/ percona- server/ pull/680