[MDEV-26030] Warning: Memory not freed: 32 on setting wsrep_sst_auth Created: 2021-06-28  Updated: 2021-06-30  Resolved: 2021-06-30

Status: Closed
Project: MariaDB Server
Component/s: Galera SST, wsrep
Affects Version/s: 10.4, 10.5, 10.6
Fix Version/s: 10.4.21, 10.5.12, 10.6.3

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

Issue Links:
Relates
relates to MDEV-24509 Warning: Memory not freed: 56 on SET ... Closed

 Description   

New regression after MDEV-24509 fix.

DROP VIEW v;
CREATE TABLE t (a INT) ENGINE=InnoDB;
SET @@global.wsrep_sst_auth='abc';
SHUTDOWN;

Will lead to:

10.6.3 891a927e804c5a3a582f6137c2f316ef7abb25ca (Optimized)

2021-06-28 19:55:23 0 [Note] /test/MD280621-mariadb-10.6.3-linux-x86_64-opt/bin/mysqld: Shutdown complete
 
Warning: Memory not freed: 32

10.6.3 891a927e804c5a3a582f6137c2f316ef7abb25ca (Debug)

2021-06-28 19:53:37 0 [Note] /test/MD280621-mariadb-10.6.3-linux-x86_64-dbg/bin/mysqld: Shutdown complete               
 
Warning: Memory not freed: 32                                                                                           
Warning:   32 bytes lost at 0x150e60008480, allocated by T@0 at mysys/my_malloc.c:233, sql/wsrep_sst.cc:249, sql/wsrep_sst.cc:291, sql/set_var.cc:208, sql/set_var.cc:863, sql/set_var.cc:745, sql/sql_parse.cc:5039, sql/sql_parse.cc:8028     
Memory lost: 32 bytes in 1 chunks                                                                                       
Warning:   32 bytes lost at 0x150e60008480, allocated by T@0 at mysys/my_malloc.c:233, sql/wsrep_sst.cc:249, sql/wsrep_sst.cc:291, sql/set_var.cc:208, sql/set_var.cc:863, sql/set_var.cc:745, sql/sql_parse.cc:5039, sql/sql_parse.cc:8028
Memory lost: 32 bytes in 1 chunks

Issue present in optimized and debug builds from 10.4 to 10.6.


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