Bug #116369 | rpl.rpl_semi_sync_alias crashes under AddressSanitizer | ||
---|---|---|---|
Submitted: | 16 Oct 2024 11:18 | Modified: | 16 May 10:41 |
Reporter: | Laurynas Biveinis (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S6 (Debug Builds) |
Version: | 8.0.42, 9.3.0 | OS: | MacOS (15.0.1) |
Assigned to: | CPU Architecture: | ARM |
[16 Oct 2024 11:18]
Laurynas Biveinis
[17 Oct 2024 1:28]
MySQL Verification Team
Thank you for your report, verified as described.
[27 Jan 9:14]
Laurynas Biveinis
Same on 8.0.41
[13 May 6:41]
Laurynas Biveinis
Same with 8.0.42
[16 May 10:39]
Laurynas Biveinis
This test crashes with a different stacktrace under 9.3.0 too, posting it here instead of opening a new bug: ... 2025-05-16T10:37:29.919801Z 18 [Note] [MY-010733] [Server] Shutting down plugin 'rpl_semi_sync_slave' ================================================================= ==39503==ERROR: AddressSanitizer: unknown-crash on address 0x00012fd48d0b at pc 0x000121fb6bf4 bp 0x00016cd48e50 sp 0x00016cd48610 READ of size 22 at 0x00012fd48d0b thread T50 #0 0x000121fb6bf0 in strlen+0x1b0 (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x7abf0) #1 0x0001070bbfa0 in plugin_add(MEM_ROOT*, MYSQL_LEX_CSTRING, MYSQL_LEX_STRING const*, int*, char**, int, bool) sql_plugin.cc:1057 #2 0x0001070a9fe4 in mysql_install_plugin(THD*, MYSQL_LEX_CSTRING, MYSQL_LEX_STRING const*) sql_plugin.cc:2339 #3 0x0001070a94c4 in Sql_cmd_install_plugin::execute(THD*) sql_plugin.cc:3518 #4 0x000106fdbce4 in mysql_execute_command(THD*, bool) sql_parse.cc:4757 #5 0x000106fcef40 in dispatch_sql_command(THD*, Parser_state*, bool) sql_parse.cc:5431 #6 0x000106fbd05c in dispatch_command(THD*, COM_DATA const*, enum_server_command) sql_parse.cc:2147 #7 0x000106fc7564 in do_command(THD*) sql_parse.cc:1490 #8 0x00010791aee0 in handle_connection(void*) connection_handler_per_thread.cc:304 #9 0x00010bcef1fc in pfs_spawn_thread(void*) pfs.cc:3067 #10 0x000121f764a4 in asan_thread_start(void*)+0x4c (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x3a4a4) #11 0x000182982c08 in _pthread_start+0x84 (libsystem_pthread.dylib:arm64e+0x6c08) #12 0x00018297db7c in thread_start+0x4 (libsystem_pthread.dylib:arm64e+0x1b7c) 0x00012fd48d0b is located 53 bytes before global variable '.str.1' defined in '/Users/laurynas/vilniusdb/mysql-9.3.0/plugin/semisync/semisync_replica_plugin.cc' (0x00012fd48d40) of size 19 '.str.1' is ascii string 'Oracle Corporation' 0x00012fd48d16 is located 0 bytes after global variable '.str' defined in '/Users/laurynas/vilniusdb/mysql-9.3.0/plugin/semisync/semisync_replica_plugin.cc' (0x00012fd48d00) of size 22 '.str' is ascii string 'rpl_semi_sync_replica' AddressSanitizer:DEADLYSIGNAL AddressSanitizer: nested bug in the same thread, aborting. ...
[16 May 10:41]
Laurynas Biveinis
Updating version field