MDL_map::m_backup_log and m_binlog_lock are not deallocated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Medium
|
Alexey Kopytov | ||
5.1 |
Invalid
|
Undecided
|
Unassigned | ||
5.5 |
Invalid
|
Undecided
|
Unassigned | ||
5.6 |
Fix Released
|
Medium
|
Alexey Kopytov |
Bug Description
$ ./mysql-test-run 1st --valgrind
...
608 bytes in 1 blocks are still reachable in loss record 263 of 364
at 0x4C2AB7B: operator new(unsigned long, std::nothrow_t const&) (in /usr/lib/
by 0x711ED1: MDL_lock:
by 0x70D6BB: MDL_map::init() (mdl.cc:721)
by 0x70D597: mdl_init() (mdl.cc:689)
by 0x618EAB: init_server_
by 0x61A8CE: mysqld_main(int, char**) (mysqld.cc:5586)
by 0x60F46C: main (main.cc:25)
608 bytes in 1 blocks are still reachable in loss record 264 of 364
at 0x4C2AB7B: operator new(unsigned long, std::nothrow_t const&) (in /usr/lib/
by 0x711ED1: MDL_lock:
by 0x70D6DA: MDL_map::init() (mdl.cc:722)
by 0x70D597: mdl_init() (mdl.cc:689)
by 0x618EAB: init_server_
by 0x61A8CE: mysqld_main(int, char**) (mysqld.cc:5586)
by 0x60F46C: main (main.cc:25)
...
This is caused by MDL_map::destroy missing MDL_lock::destroy calls for these two fields.
Related branches
- Alexey Kopytov (community): Approve
- Diff: 0 lines
tags: | added: low-hanging-fruit |
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PS-1480