Bug #118212 Some router tests crash under AddressSanitizer
Submitted: 16 May 10:36 Modified: 18 May 16:35
Reporter: Laurynas Biveinis (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Router Severity:S3 (Non-critical)
Version:9.3.0 OS:MacOS (15.5)
Assigned to: CPU Architecture:ARM

[16 May 10:36] Laurynas Biveinis
Description:
Server built with -DCMAKE_BUILD_TYPE=Debug -DWITH_DEBUG=ON -DMYSQL_MAINTAINER_MODE=ON -DWITH_SYSTEM_LIBS=ON -DWITH_NDBCLUSTER_STORAGE_ENGINE=OFF -DCMAKE_CXX_FLAGS=-g -DCMAKE_CXX_FLAGS_DEBUG=-g -DCMAKE_CXX_FLAGS_RELEASE=-O2 -DNDEBUG -g -DWITH_ASAN=ON -DWITH_ASAN_SCOPE=ON -DWITH_UBSAN=ON

$ ./mtr router.bootstrap_mrs_innodb_cluster
...
[ 50%] router.bootstrap_mrs_innodb_cluster       [ fail ]
        Test ended at 2025-05-16 13:33:47

CURRENT_TEST: router.bootstrap_mrs_innodb_cluster
=================================================================
AddressSanitizer:DEADLYSIGNAL
AddressSanitizer: nested bug in the same thread, aborting.
mysqltest: At line 22: Command "$MYSQLROUTER_BOOTSTRAP
--conf-set-option=DEFAULT.plugin_folder=$ROUTER_PLUGIN_DIRECTORY
-B admin:admin_pass@127.0.0.1:$MASTER_MYPORT
--directory $MYSQL_TMP_DIR/bootstrap_folder/
--mrs --mrs-global-secret something_important " failed.
...

How to repeat:
See above
[16 May 10:49] Laurynas Biveinis
Same with: 
router.bootstrap_mrs_developer
router.bootstrap_mrs_schema_unsupported_version
[18 May 16:35] MySQL Verification Team
Hello Laurynas,

Thank you for the report and feedback.

regards,
Umesh