Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
None
-
None
Description
bb-11.6-release with a new CC 3.4 fail tests due to memory leaks:
sanja@sanja-portable:~/maria/git/11.6/mysql-test$ ./mysql-test-run --mem encryption.debug_key_management
|
Logging: ./mysql-test-run --mem encryption.debug_key_management
|
VS config:
|
vardir: /home/sanja/maria/git/11.6/mysql-test/var
|
Checking leftover processes...
|
Removing old var directory...
|
Creating var directory '/home/sanja/maria/git/11.6/mysql-test/var'...
|
- symlinking 'var' to '/dev/shm/var_auto_Isue'
|
Checking supported features...
|
MariaDB Version 11.6.2-MariaDB-debug
|
- SSL connections supported
|
- binaries are debug compiled
|
- binaries built with wsrep patch
|
Collecting tests...
|
Installing system database...
|
|
==============================================================================
|
|
TEST RESULT TIME (ms) or COMMENT
|
--------------------------------------------------------------------------
|
|
worker[01] Using MTR_BUILD_THREAD 300, with reserved ports 19000..19029
|
encryption.debug_key_management 'undo0' [ fail ]
|
Test ended at 2024-11-05 09:00:15
|
|
CURRENT_TEST: encryption.debug_key_management
|
|
=================================================================
|
==1707387==ERROR: LeakSanitizer: detected memory leaks
|
|
Direct leak of 1176 byte(s) in 3 object(s) allocated from:
|
#0 0x7df1e04fd340 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
|
#1 0x5e2451418915 in mysql_optionsv /home/sanja/maria/git/11.6/libmariadb/libmariadb/mariadb_lib.c:3864
|
#2 0x5e2451400a3a in mysql_init /home/sanja/maria/git/11.6/libmariadb/libmariadb/mariadb_lib.c:1320
|
#3 0x5e24514069a7 in mariadb_reconnect /home/sanja/maria/git/11.6/libmariadb/libmariadb/mariadb_lib.c:2104
|
#4 0x5e24513fb91c in mthd_my_send_cmd /home/sanja/maria/git/11.6/libmariadb/libmariadb/mariadb_lib.c:394
|
#5 0x5e24513fc345 in ma_simple_command /home/sanja/maria/git/11.6/libmariadb/libmariadb/mariadb_lib.c:472
|
#6 0x5e245140a3a6 in mysql_send_query /home/sanja/maria/git/11.6/libmariadb/libmariadb/mariadb_lib.c:2525
|
#7 0x5e24513aa42e in wrap_mysql_send_query(st_mysql*, char const*, unsigned long) /home/sanja/maria/git/11.6/client/../tests/nonblock-wrappers.h:211
|
#8 0x5e24513d708c in run_query_normal(st_connection*, st_command*, int, char const*, unsigned long, st_dynamic_string*, st_dynamic_string*) /home/sanja/maria/git/11.6/client/mysqltest.cc:8291
|
#9 0x5e24513dd5d4 in run_query(st_connection*, st_command*, int) /home/sanja/maria/git/11.6/client/mysqltest.cc:9726
|
#10 0x5e24513e1973 in main /home/sanja/maria/git/11.6/client/mysqltest.cc:10568
|
#11 0x7df1dfa2a1c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
|
#12 0x7df1dfa2a28a in __libc_start_main_impl ../csu/libc-start.c:360
|
#13 0x5e24513a9484 in _start (/home/sanja/maria/git/11.6/client/mariadb-test+0x139484) (BuildId: d5f31905af178a36f7a3300a8ff24e702795f9f5)
|
|
SUMMARY: AddressSanitizer: 1176 byte(s) leaked in 3 allocation(s).
|
mysqltest got signal 6
|
read_command_buf (0x531000014888):
|
|
Attempting backtrace...
|
stack_bottom = 0x0 thread_stack 0x3c000
|
sanitizer_common/sanitizer_common_interceptors.inc:4358(___interceptor_backtrace.part.0)[0x7df1e04831e0]
|
mysys/stacktrace.c:215(my_print_stacktrace)[0x5e24514dfc85]
|
client/mysqltest.cc:10072(dump_backtrace())[0x5e24513decf7]
|
client/mysqltest.cc:10088(signal_handler)[0x5e24513ded56]
|
libc_sigaction.c:0(__restore_rt)[0x7df1dfa45320]
|
nptl/pthread_kill.c:44(__pthread_kill_implementation)[0x7df1dfa9eb1c]
|
posix/raise.c:27(__GI_raise)[0x7df1dfa4526e]
|
stdlib/abort.c:81(__GI_abort)[0x7df1dfa288ff]
|
sanitizer_common/sanitizer_libc.h:52(__sanitizer::internal_memset(void*, int, unsigned long))[0x7df1e051fc30]
|
sanitizer_common/sanitizer_termination.cpp:59(__sanitizer::Die())[0x7df1e05307cd]
|
lsan/lsan_common_linux.cpp:120(__lsan::HandleLeaks())[0x7df1e053c9cf]
|
lsan/lsan_common.cpp:823(__lsan::DoLeakCheck())[0x7df1e053a105]
|
stdlib/cxa_finalize.c:83(__cxa_finalize)[0x7df1dfa47372]
|
crtstuff.c:0(__do_global_dtors_aux)[0x7df1e043b7b7]
|
Writing a core file...
|
|
- saving '/home/sanja/maria/git/11.6/mysql-test/var/log/encryption.debug_key_management-undo0/' to '/home/sanja/maria/git/11.6/mysql-test/var/log/encryption.debug_key_management-undo0/'
|
|
Only 1 of 2 completed.
|
--------------------------------------------------------------------------
|
The servers were restarted 0 times
|
Spent 0.000 of 7 seconds executing testcases
|
|
Failure: Failed 1/1 tests, 0.00% were successful.
|
Attachments
Issue Links
- blocks
-
MDEV-35030 Q4 2024 release merge
- Closed