[MDEV-18684] mysql_thread_end memory leak in compat libmysqlclient.so.18 Created: 2019-02-21 Updated: 2019-05-06 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | 5.5, 10.0, 10.1 |
| Fix Version/s: | 5.5, 10.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Peter van Dijk | Assignee: | Oleksandr Byelkin |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Description |
|
https://bugs.mysql.com/bug.php?id=66740 describes a memory leak in older versions of libmysqlclient (from MySQL). I have an app suffering from this leak on CentOS 7 with the mariadb-libs 5.5.60 package it ships. I noticed that the -compat packages from downloads.mariadb.org offer a dropin libmysqlclient.so.18, but to my surprise, those also have the leak! libmariadb.so.3 from MariaDB-shared does not leak (when compiled against, it's not a drop in replacement apparently). Would it be possible to backport the fix for that leak from libmariadb to compat/libmysqlclient? |
| Comments |
| Comment by Michal Schorm [ 2019-05-03 ] | ||||||
|
There's another confirmed user affected, on RHEL7. Example of memory leak :
|