Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.5
Description
Test case
--source include/have_innodb.inc
|
--let $restart_parameters=--innodb-read-only
|
--source include/restart_mysqld.inc
|
SET GLOBAL innodb_encryption_threads=0; |
SHUTDOWN;
|
Leads to
CS 10.5.27 95885261f0ff70e563140f5fb94da134b84d79b4 (Optimized, UBASAN) |
2024-09-17 10:32:46 0 [Note] InnoDB: Starting shutdown...
|
=================================================================
|
==1865835==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x5654ef267ffc in thread T0
|
#0 0x5654dfed977f in operator delete(void*) (/test/UBASAN_MD130924-mariadb-10.5.27-linux-x86_64-opt/bin/mariadbd+0x7bfa77f)
|
#1 0x5654e3c174f7 in LatchCounter::~LatchCounter() /test/10.5_opt_san/storage/innobase/include/sync0types.h:520
|
#2 0x5654e3c174f7 in LatchMeta<LatchCounter>::~LatchMeta() /test/10.5_opt_san/storage/innobase/include/sync0types.h:701
|
#3 0x5654e3c174f7 in sync_latch_meta_destroy /test/10.5_opt_san/storage/innobase/sync/sync0debug.cc:1380
|
#4 0x5654e3c174f7 in sync_check_close() /test/10.5_opt_san/storage/innobase/sync/sync0debug.cc:1416
|
#5 0x5654e3bebae7 in innodb_shutdown() /test/10.5_opt_san/storage/innobase/srv/srv0start.cc:2142
|
#6 0x5654e3455bda in innobase_end /test/10.5_opt_san/storage/innobase/handler/ha_innodb.cc:4151
|
#7 0x5654e3455bda in innobase_end /test/10.5_opt_san/storage/innobase/handler/ha_innodb.cc:4138
|
#8 0x5654e1bdc092 in ha_finalize_handlerton(st_plugin_int*) /test/10.5_opt_san/sql/handler.cc:589
|
#9 0x5654e06f82b1 in plugin_deinitialize /test/10.5_opt_san/sql/sql_plugin.cc:1266
|
#10 0x5654e06fb98d in reap_plugins /test/10.5_opt_san/sql/sql_plugin.cc:1342
|
#11 0x5654e070469c in plugin_shutdown() /test/10.5_opt_san/sql/sql_plugin.cc:2094
|
#12 0x5654dff1dde6 in clean_up /test/10.5_opt_san/sql/mysqld.cc:2008
|
#13 0x5654dff3c563 in clean_up /test/10.5_opt_san/sql/mysqld.cc:1974
|
#14 0x5654dff3c563 in mysqld_main(int, char**) /test/10.5_opt_san/sql/mysqld.cc:5784
|
#15 0x154cfef94082 in __libc_start_main ../csu/libc-start.c:308
|
#16 0x5654dfdebddd in _start (/test/UBASAN_MD130924-mariadb-10.5.27-linux-x86_64-opt/bin/mariadbd+0x7b0cddd)
|
|
0x5654ef267ffc is located 28 bytes inside of global variable 'fil_crypt_threads_mutex' defined in '/test/10.5_opt_san/storage/innobase/fil/fil0crypt.cc:71:24' (0x5654ef267fe0) of size 48
|
SUMMARY: AddressSanitizer: bad-free (/test/UBASAN_MD130924-mariadb-10.5.27-linux-x86_64-opt/bin/mariadbd+0x7bfa77f) in operator delete(void*)
|
==1865835==ABORTING
|
240917 10:32:51 [ERROR] mysqld got signal 6 ;
|
Sorry, we probably made a mistake, and this is a bug.
|