trellix-enterprise / mysql-audit

AUDIT Plugin for MySQL. See wiki and readme for description. If you find the plugin useful, please star us on GitHub. We love stars and it's a great way to show your feedback.
Other
239 stars 57 forks source link

malloc(): smallbin double linked list corrupted: 0x00002b3280a552a0 #245

Open 825644691 opened 2 years ago

825644691 commented 2 years ago

mysql version:/apps/svr/mysql57/bin/mysqld Ver 5.7.34 for linux-glibc2.12 on x86_64 (MySQL Community Server (GPL)) audit version: audit-plugin-mysql-5.7-1.1.11-985

when install the audit plugin,mysql server automatically restart

2022-06-13T11:17:18.119114+08:00 11448121 [Note] saved_code->size: 16 2022-06-13T11:17:18.119119+08:00 11448121 [Note] Audit Plugin: removing hot patching function: 0xd36910 targetPage: 0xd36000 trampolineFunction: 0x2b3262c12000 Error in `/apps/svr/mysql57/bin/mysqld': malloc(): smallbin double linked list corrupted: 0x00002b3280a552a0 ======= Backtrace: ========= /lib64/libc.so.6(+0x7f3e4)[0x2b1d74a253e4] /lib64/libc.so.6(+0x82b20)[0x2b1d74a28b20] /lib64/libc.so.6(__libc_malloc+0x4c)[0x2b1d74a2b6fc] /lib64/libstdc++.so.6(_ZnwmRKSt9nothrow_t+0x1d)[0x2b1d741e5f5d] /apps/svr/mysql57/bin/mysqld(_ZN15Session_tracker4initEPK15charset_info_st+0x18d)[0xcab2ed] /apps/svr/mysql57/bin/mysqld(_ZN3THD4initEv+0x2ff)[0xcf6ccf] /apps/svr/mysql57/bin/mysqld(_ZN3THDC1Eb+0x1101)[0xcf7e61] /apps/svr/mysql57/bin/mysqld(_ZN12Channel_info10create_thdEv+0x4c)[0xed487c] /apps/svr/mysql57/bin/mysqld(_ZN25Channel_info_local_socket10create_thdEv+0x1d)[0xe116cd] /apps/svr/mysql57/bin/mysqld(handle_connection+0x173)[0xe10ac3] /apps/svr/mysql57/bin/mysqld(pfs_spawn_thread+0x174)[0x13e1e64] /lib64/libpthread.so.0(+0x7ea5)[0x2b1d73521ea5] /lib64/libc.so.6(clone+0x6d)[0x2b1d74aa48dd]