Bug #118212 Some router tests crash under AddressSanitizer

Submitted: 16 May 2025 10:36 Modified: 28 Oct 2025 9:37
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 2025 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 2025 10:49] Laurynas Biveinis
Same with: 
router.bootstrap_mrs_developer
router.bootstrap_mrs_schema_unsupported_version
[18 May 2025 16:35] MySQL Verification Team
Hello Laurynas,

Thank you for the report and feedback.

regards,
Umesh
[28 Oct 2025 9:37] Laurynas Biveinis
No longer reproduces with 9.5.0. Leaving it for you to close in case you want to update release notes etc.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.