[MDEV-25977] Warning: Memory not freed: 32 on SET GLOBAL wsrep_sst_auth=USER Created: 2021-06-21  Updated: 2022-01-18  Resolved: 2022-01-18

Status: Closed
Project: MariaDB Server
Component/s: Galera, Galera SST
Affects Version/s: 10.4, 10.5, 10.6
Fix Version/s: 10.4.23, 10.5.14, 10.6.6, 10.7.2

Type: Bug Priority: Critical
Reporter: Roel Van de Paar Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: regression


 Description   

SET GLOBAL wsrep_sst_auth=USER;
SHUTDOWN;

Leads to:

10.6.2 6c39eaeb126328e7813b146ecf652d51e4508981 (Optimized)

Warning: Memory not freed: 32

On optimized 10.6.2 and similar messages on optimized earlier versions (size may differ).
And to:

10.6.2 6c39eaeb126328e7813b146ecf652d51e4508981 (Debug)

2021-06-21 22:41:12 0 [Note] /test/MD120621-mariadb-10.6.2-linux-x86_64-dbg/bin/mysqld: Shutdown complete
 
Warning: Memory not freed: 32
Warning:   32 bytes lost at 0x146a6401b380, allocated by T@0 at 0x55f487a61fb8, mysys/my_malloc.c:233, sql/wsrep_sst.cc:249, sql/wsrep_sst.cc:291, sql/set_var.cc:208, sql/set_var.cc:858, sql/set_var.cc:745, sql/sql_parse.cc:5027
Memory lost: 32 bytes in 1 chunks
Warning:   32 bytes lost at 0x146a6401b380, allocated by T@0 at sql/sql_parse.cc:8016, mysys/my_malloc.c:233, sql/wsrep_sst.cc:249, sql/wsrep_sst.cc:291, sql/set_var.cc:208, sql/set_var.cc:858, sql/set_var.cc:745, sql/sql_parse.cc:5027
Memory lost: 32 bytes in 1 chunks

And similar messages on earlier debug versions (size may differ).


Generated at Thu Feb 08 09:41:49 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.