[MDEV-27631] Assertion `global_status_var.global_memory_used == 0' failed in mysqld_exit Created: 2019-07-08  Updated: 2023-01-21  Resolved: 2023-01-21

Status: Closed
Project: MariaDB Server
Component/s: Plugin - Audit, Plugins
Affects Version/s: None
Fix Version/s: 10.11.2, 10.4.28, 10.5.19, 10.6.12, 10.7.8, 10.8.7, 10.9.5, 10.10.3

Type: Bug Priority: Critical
Reporter: Alice Sherepa Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates

 Description   

if (!$SERVER_AUDIT2_SO) {
  skip No SERVER_AUDIT2 plugin;
}
 
install plugin if not exists server_audit soname 'server_audit2';
uninstall plugin server_audit;
install plugin if not exists server_audit soname 'server_audit2';
 
--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
--shutdown_server 
--source include/wait_until_disconnected.inc
-- exec echo "restart: " > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
-- enable_reconnect
-- source include/wait_until_connected_again.inc
 
uninstall plugin server_audit;

Warning:  200 bytes lost at 0x61200001feb0, allocated by T@0 at btr/btr0cur.cc:7366, btr/btr0cur.cc:7622, 0x9f0d2e, 0x9f1dc6, 0x9df137, 0x9e3046, 0x9e3f5d, 0x9b9d31
mysqld: /home/alice/git/mariadb-enterprise/sql/mysqld.cc:1951: void mysqld_exit(int): Assertion `global_status_var.global_memory_used == 0' failed.



 Comments   
Comment by Alexey Botchkov [ 2022-01-26 ]

It's more general plugin issue, not just the Audit plugin.

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