Memory leak after 'encryption.uninstall_keyring' - in 'fil_space_rotate_state_t::create_flush_observer()'
General
Escalation
General
Escalation
Description
Environment
None
Smart Checklist
Activity
Show:

Julia Vural March 4, 2025 at 9:09 PM
It appears that this issue is no longer being worked on, so we are closing it for housekeeping purposes. If you believe the issue still exists, please open a new ticket after confirming it's present in the latest release.
Won't Do
Details
Details
Assignee
Unassigned
UnassignedReporter

Labels
Time tracking
1h 30m logged
Affects versions
Priority
Smart Checklist
Open Smart Checklist
Smart Checklist

Open Smart Checklist
Created August 8, 2019 at 9:05 AM
Updated March 4, 2025 at 9:09 PM
Resolved March 4, 2025 at 9:09 PM
Run the following command under Address Sanitizer
./mysql-test/mtr --debug-server --sanitize encryption.uninstall_keyring
[ 50%] encryption.uninstall_keyring [ skipped ] # Test unstable on centos6 worker[1] Sanitizer report from /home/yura/addon/local/percona-build-5.7-asan_gcc8/mysql-test/var/log/mysqld.1.err after tests: encryption.uninstall_keyring -------------------------------------------------------------------------- ==3919==ERROR: LeakSanitizer: detected memory leaks Direct leak of 264 byte(s) in 1 object(s) allocated from: #0 0x7f6d58622f00 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.5+0xedf00) #1 0x5568ee74c179 in ut_allocator<unsigned char>::allocate(unsigned long, unsigned char const*, char const*, bool, bool) /home/yura/addon/local/percona-server/storage/innobase/include/ut0new.h:359 #2 0x5568ee74c179 in mem_heap_create_block_func(mem_block_info_t*, unsigned long, char const*, unsigned long, unsigned long) /home/yura/addon/local/percona-server/storage/innobase/mem/mem0mem.cc:302 #3 0x5568eeb1c2b9 in mem_heap_create_func /home/yura/addon/local/percona-server/storage/innobase/include/mem0mem.ic:493 #4 0x5568eeb1c2b9 in trx_create_low /home/yura/addon/local/percona-server/storage/innobase/trx/trx0trx.cc:477 #5 0x5568eeb1c2b9 in trx_allocate_for_background() /home/yura/addon/local/percona-server/storage/innobase/trx/trx0trx.cc:533 #6 0x5568eedca6b5 in fil_space_rotate_state_t::create_flush_observer(unsigned int) /home/yura/addon/local/percona-server/storage/innobase/fil/fil0crypt.cc:338 #7 0x5568eedde70d in fil_crypt_start_rotate_space /home/yura/addon/local/percona-server/storage/innobase/fil/fil0crypt.cc:1453 #8 0x5568eedde70d in fil_crypt_thread /home/yura/addon/local/percona-server/storage/innobase/fil/fil0crypt.cc:2742 #9 0x7f6d5831d6da in start_thread /build/glibc-OTsEL5/glibc-2.27/nptl/pthread_create.c:463