Memory leak on a failure to create a MTS worker thread
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
|
High
|
Laurynas Biveinis | |||
5.7 |
Fix Released
|
High
|
Laurynas Biveinis |
Bug Description
On 5.6 trunk:
worker[4] Valgrind report from /mnt/workspace/
rpl.rpl_mts_debug
-------
HEAP SUMMARY:
in use at exit: 69,329,568 bytes in 1,265 blocks
total heap usage: 133,173 allocs, 131,908 frees, 390,044,816 bytes allocated
6 bytes in 1 blocks are possibly lost in loss record 1 of 438
at 0x4C2DB8F: malloc (in /usr/lib/
by 0xB35EC6: my_malloc (my_malloc.c:38)
by 0xB0C126: Rpl_info_
by 0xB01AED: Rpl_info_
by 0xB00CB5: Rpl_info_
by 0xAE9C50: slave_start_
by 0xAEA175: slave_start_
by 0xAEAB81: handle_slave_sql (rpl_slave.cc:6264)
by 0xF1CAAB: pfs_spawn_thread (pfs.cc:1860)
by 0x61596B9: start_thread (pthread_
by 0x6D1D82C: clone (clone.S:109)
...
131,072 bytes in 1 blocks are possibly lost in loss record 407 of 438
at 0x4C2DB8F: malloc (in /usr/lib/
by 0xB35EC6: my_malloc (my_malloc.c:38)
by 0xB0FAEE: init_dynamic_array2 (array.c:70)
by 0xB03BDF: Slave_worker:
by 0xAE9C96: slave_start_
by 0xAEA175: slave_start_
by 0xAEAB81: handle_slave_sql (rpl_slave.cc:6264)
by 0xF1CAAB: pfs_spawn_thread (pfs.cc:1860)
by 0x61596B9: start_thread (pthread_
by 0x6D1D82C: clone (clone.S:109)
LEAK SUMMARY:
definitely lost: 0 bytes in 0 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 146,984 bytes in 16 blocks
still reachable: 0 bytes in 0 blocks
suppressed: 69,182,584 bytes in 1,249 blocks
This is a regression caused by bug 1619622 fix.
tags: | added: regression valgrind |
https:/ /github. com/percona/ percona- server/ pull/1555 /github. com/percona/ percona- server/ pull/1556
https:/