MySQL 5.7 supports the Address Sanitizer, which checks for several memory
related software errors including memory leaks. It is
really nice to see support for the Address Sanitizer built into
MySQL. Unfortunately, when running the mysql tests included
in MySQL 5.7.9, the Address Sanitizer reports
several memory leaks, which causes some of the tests to
fail. Here are some of the memory leaks in the MySQL 5.7.9
software found by the Address Sanitizer.
Memory leaks in 'mysqlbinlog'Several of the 'mysqlbinlog' tests
fail due to memory leaks in the 'mysqlbinlog' client program.
Here are the details from the ' …
Percona recently open sourced TokuBackup, a library that may be used to take a
snapshot of a set of files while these files are being changed by
a running application like MySQL or MongoDB. Making
TokuBackup open source allows a larger set of users to improve
and extend the software. This blog describes how the
Address Sanitizer and Thread Sanitizer found bugs in the TokuBackup
library.
The TokuBackup library is used by Percona Server for MySQL and …
This blog describes how the Address Sanitizer found bugs in the TokuFT
(now PerconaFT) storage library. TokuFT is the
storage library used by the TokuDB for MySQL and TokuMX for MongoDB products. TokuFT is
currently tested with valgrind's memcheck tool. However, memcheck
is very slow compared to native execution, so memcheck is not
always used for large tests. This leads to missed
bugs.
The Address Sanitizer is a memory …