| Bug #118185 | Non-specific ASan error on TestLoaderGood/LoaderReadTest.load_wrong_version/0 | ||
|---|---|---|---|
| Submitted: | 13 May 2025 14:43 | Modified: | 22 Jan 4:24 |
| Reporter: | Laurynas Biveinis (OCA) | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | Tests | Severity: | S3 (Non-critical) |
| Version: | 8.0.45, 8.4.8 | OS: | MacOS (15.4.1) |
| Assigned to: | CPU Architecture: | ARM | |
[13 May 2025 14:43]
Laurynas Biveinis
[13 May 2025 16:04]
MySQL Verification Team
Hello Laurynas, Thank you for the report and feedback. regards, Umesh
[27 Oct 2025 16:24]
Laurynas Biveinis
Same on 8.0.44
[28 Oct 2025 9:21]
Laurynas Biveinis
No longer reproduces with 8.0.44 / 8.4.7 / 9.5.0. Leaving it for you to close in the case you want to update release notes etc.
[21 Jan 12:02]
Laurynas Biveinis
On 8.0.45, a non-sanitizer error but only happens with the sanitizer build: [ RUN ] TestLoaderGood/LoaderReadTest.Available/0 unknown file: Failure C++ exception with description "Path './router/tests/data/./tests-good-1.cfg' does not exist" thrown in SetUp(). [ FAILED ] TestLoaderGood/LoaderReadTest.Available/0, where GetParam() = "tests-good-1.cfg" (0 ms) [ RUN ] TestLoaderGood/LoaderReadTest.Available/1 unknown file: Failure C++ exception with description "Path './router/tests/data/./tests-good-2.cfg' does not exist" thrown in SetUp(). [ FAILED ] TestLoaderGood/LoaderReadTest.Available/1, where GetParam() = "tests-good-2.cfg" (0 ms) [ RUN ] TestLoaderGood/LoaderReadTest.load_non_existant_fails/0 unknown file: Failure C++ exception with description "Path './router/tests/data/./tests-good-1.cfg' does not exist" thrown in SetUp(). [ FAILED ] TestLoaderGood/LoaderReadTest.load_non_existant_fails/0, where GetParam() = "tests-good-1.cfg" (0 ms) [ RUN ] TestLoaderGood/LoaderReadTest.load_non_existant_fails/1 unknown file: Failure C++ exception with description "Path './router/tests/data/./tests-good-2.cfg' does not exist" thrown in SetUp(). [ FAILED ] TestLoaderGood/LoaderReadTest.load_non_existant_fails/1, where GetParam() = "tests-good-2.cfg" (0 ms) [ RUN ] TestLoaderGood/LoaderReadTest.load_missing_dep_fails/0 unknown file: Failure C++ exception with description "Path './router/tests/data/./tests-good-1.cfg' does not exist" thrown in SetUp(). [ FAILED ] TestLoaderGood/LoaderReadTest.load_missing_dep_fails/0, where GetParam() = "tests-good-1.cfg" (2 ms) [ RUN ] TestLoaderGood/LoaderReadTest.load_missing_dep_fails/1 unknown file: Failure C++ exception with description "Path './router/tests/data/./tests-good-2.cfg' does not exist" thrown in SetUp(). [ FAILED ] TestLoaderGood/LoaderReadTest.load_missing_dep_fails/1, where GetParam() = "tests-good-2.cfg" (0 ms) [ RUN ] TestLoaderGood/LoaderReadTest.load_wrong_version/0 unknown file: Failure C++ exception with description "Path './router/tests/data/./tests-good-1.cfg' does not exist" thrown in SetUp(). [ FAILED ] TestLoaderGood/LoaderReadTest.load_wrong_version/0, where GetParam() = "tests-good-1.cfg" (0 ms) [ RUN ] TestLoaderGood/LoaderReadTest.load_wrong_version/1 unknown file: Failure C++ exception with description "Path './router/tests/data/./tests-good-2.cfg' does not exist" thrown in SetUp(). [ FAILED ] TestLoaderGood/LoaderReadTest.load_wrong_version/1, where GetParam() = "tests-good-2.cfg" (0 ms) [ RUN ] TestLoaderGood/LoaderReadTest.load_example_succeeds/0 unknown file: Failure C++ exception with description "Path './router/tests/data/./tests-good-1.cfg' does not exist" thrown in SetUp(). [ FAILED ] TestLoaderGood/LoaderReadTest.load_example_succeeds/0, where GetParam() = "tests-good-1.cfg" (0 ms) [ RUN ] TestLoaderGood/LoaderReadTest.load_example_succeeds/1 unknown file: Failure C++ exception with description "Path './router/tests/data/./tests-good-2.cfg' does not exist" thrown in SetUp(). [ FAILED ] TestLoaderGood/LoaderReadTest.load_example_succeeds/1, where GetParam() = "tests-good-2.cfg" (0 ms) [ RUN ] TestLoaderGood/LoaderReadTest.load_example_section_two_succeeds/0 unknown file: Failure C++ exception with description "Path './router/tests/data/./tests-good-1.cfg' does not exist" thrown in SetUp(). [ FAILED ] TestLoaderGood/LoaderReadTest.load_example_section_two_succeeds/0, where GetParam() = "tests-good-1.cfg" (0 ms) [ RUN ] TestLoaderGood/LoaderReadTest.load_example_section_two_succeeds/1 unknown file: Failure C++ exception with description "Path './router/tests/data/./tests-good-2.cfg' does not exist" thrown in SetUp(). [ FAILED ] TestLoaderGood/LoaderReadTest.load_example_section_two_succeeds/1, where GetParam() = "tests-good-2.cfg" (0 ms) [ RUN ] TestLoaderGood/LoaderReadTest.load_magic_succeeds/0 unknown file: Failure C++ exception with description "Path './router/tests/data/./tests-good-1.cfg' does not exist" thrown in SetUp(). [ FAILED ] TestLoaderGood/LoaderReadTest.load_magic_succeeds/0, where GetParam() = "tests-good-1.cfg" (0 ms) [ RUN ] TestLoaderGood/LoaderReadTest.load_magic_succeeds/1 unknown file: Failure C++ exception with description "Path './router/tests/data/./tests-good-2.cfg' does not exist" thrown in SetUp(). [ FAILED ] TestLoaderGood/LoaderReadTest.load_magic_succeeds/1, where GetParam() = "tests-good-2.cfg" (0 ms) [----------] 14 tests from TestLoaderGood/LoaderReadTest (3 ms total) [----------] 3 tests from TestLoaderBad/LoaderTest [ RUN ] TestLoaderBad/LoaderTest.BadSection/0 /Users/laurynas/vilniusdb/mysql-8.0.45/router/src/harness/tests/test_loader.cc:154: Failure Expected: loader->get_config().read(Path(test_data_dir_).join(GetParam())) throws an exception of type bad_section. Actual: it throws std::runtime_error with description "Path './router/tests/data/./tests-bad-1.cfg' does not exist". [ FAILED ] TestLoaderBad/LoaderTest.BadSection/0, where GetParam() = "tests-bad-1.cfg" (0 ms) [ RUN ] TestLoaderBad/LoaderTest.BadSection/1 /Users/laurynas/vilniusdb/mysql-8.0.45/router/src/harness/tests/test_loader.cc:154: Failure Expected: loader->get_config().read(Path(test_data_dir_).join(GetParam())) throws an exception of type bad_section. Actual: it throws std::runtime_error with description "Path './router/tests/data/./tests-bad-2.cfg' does not exist". [ FAILED ] TestLoaderBad/LoaderTest.BadSection/1, where GetParam() = "tests-bad-2.cfg" (0 ms) [ RUN ] TestLoaderBad/LoaderTest.BadSection/2 /Users/laurynas/vilniusdb/mysql-8.0.45/router/src/harness/tests/test_loader.cc:154: Failure Expected: loader->get_config().read(Path(test_data_dir_).join(GetParam())) throws an exception of type bad_section. Actual: it throws std::runtime_error with description "Path './router/tests/data/./tests-bad-3.cfg' does not exist". [ FAILED ] TestLoaderBad/LoaderTest.BadSection/2, where GetParam() = "tests-bad-3.cfg" (0 ms)
[22 Jan 4:24]
Laurynas Biveinis
Same on 8.4.8: $ ASAN_OPTIONS="detect_odr_violation=0" ./runtime_output_directory/routertest_harness_loader [==========] Running 19 tests from 4 test suites. [----------] Global test environment set-up. [----------] 1 test from TestStart [ RUN ] TestStart.StartFailure 2026-01-22 06:23:46 main DEBUG [0x1f7fcac40] Loading plugins: routertestplugin_magic. 2026-01-22 06:23:46 main DEBUG [0x1f7fcac40] loading 'routertestplugin_magic'. 2026-01-22 06:23:46 main DEBUG [0x1f7fcac40] Initializing plugins: routertestplugin_magic. 2026-01-22 06:23:46 main DEBUG [0x1f7fcac40] init 'routertestplugin_magic' succeeded. 2026-01-22 06:23:46 main WARNING [0x1f7fcac40] option 'DEFAULT.prefix' is not supported 2026-01-22 06:23:46 main WARNING [0x1f7fcac40] option 'routertestplugin_magic.message' is not supported 2026-01-22 06:23:46 main WARNING [0x1f7fcac40] option 'routertestplugin_magic.suki' is not supported 2026-01-22 06:23:46 main DEBUG [0x1f7fcac40] Starting: routertestplugin_magic. 2026-01-22 06:23:46 main DEBUG [0x1f7fcac40] Service ready! 2026-01-22 06:23:46 main DEBUG [0x1f7fcac40] NOTIFY_SOCKET is empty, skipping sending 'READY=1' notification 2026-01-22 06:23:46 main DEBUG [0x1f7fcac40] NOTIFY_SOCKET is empty, skipping sending 'STATUS=running' notification 2026-01-22 06:23:46 main ERROR [0x16dcbf000] start 'routertestplugin_magic' failed: The suki was bad, please throw away 2026-01-22 06:23:46 main DEBUG [0x1f7fcac40] Shutting down. 2026-01-22 06:23:46 main DEBUG [0x1f7fcac40] NOTIFY_SOCKET is empty, skipping sending 'STOPPING=1 STATUS=Router shutdown in progress ' notification 2026-01-22 06:23:46 main DEBUG [0x1f7fcac40] Unloading all plugins. [ OK ] TestStart.StartFailure (13 ms) [----------] 1 test from TestStart (13 ms total) [----------] 1 test from TestPlugin [ RUN ] TestPlugin.ArchDescriptor [ OK ] TestPlugin.ArchDescriptor (0 ms) [----------] 1 test from TestPlugin (0 ms total) [----------] 14 tests from TestLoaderGood/LoaderReadTest [ RUN ] TestLoaderGood/LoaderReadTest.Available/0 [ OK ] TestLoaderGood/LoaderReadTest.Available/0 (0 ms) [ RUN ] TestLoaderGood/LoaderReadTest.Available/1 [ OK ] TestLoaderGood/LoaderReadTest.Available/1 (0 ms) [ RUN ] TestLoaderGood/LoaderReadTest.load_non_existant_fails/0 2026-01-22 06:23:46 main DEBUG [0x1f7fcac40] loading 'nonexistant-plugin'. [ OK ] TestLoaderGood/LoaderReadTest.load_non_existant_fails/0 (0 ms) [ RUN ] TestLoaderGood/LoaderReadTest.load_non_existant_fails/1 2026-01-22 06:23:46 main DEBUG [0x1f7fcac40] loading 'nonexistant-plugin'. [ OK ] TestLoaderGood/LoaderReadTest.load_non_existant_fails/1 (0 ms) [ RUN ] TestLoaderGood/LoaderReadTest.load_missing_dep_fails/0 2026-01-22 06:23:46 main DEBUG [0x1f7fcac40] loading 'routertestplugin_bad_one'. 2026-01-22 06:23:46 main DEBUG [0x1f7fcac40] loading 'routertestplugin_foobar'. 2026-01-22 06:23:46 main ERROR [0x1f7fcac40] Plugin 'routertestplugin_bad_one' needs plugin 'routertestplugin_foobar' which is missing in the configuration [ OK ] TestLoaderGood/LoaderReadTest.load_missing_dep_fails/0 (6 ms) [ RUN ] TestLoaderGood/LoaderReadTest.load_missing_dep_fails/1 2026-01-22 06:23:46 main DEBUG [0x1f7fcac40] loading 'routertestplugin_bad_one'. 2026-01-22 06:23:46 main DEBUG [0x1f7fcac40] loading 'routertestplugin_foobar'. 2026-01-22 06:23:46 main ERROR [0x1f7fcac40] Plugin 'routertestplugin_bad_one' needs plugin 'routertestplugin_foobar' which is missing in the configuration [ OK ] TestLoaderGood/LoaderReadTest.load_missing_dep_fails/1 (0 ms) [ RUN ] TestLoaderGood/LoaderReadTest.load_wrong_version/0 2026-01-22 06:23:46 main DEBUG [0x1f7fcac40] loading 'routertestplugin_bad_two'. ================================================================= AddressSanitizer:DEADLYSIGNAL AddressSanitizer: nested bug in the same thread, aborting.
