| Bug #118213 | Test perfschema.idx_compare_mutex_instances fails under debug + sanitizers | ||
|---|---|---|---|
| Submitted: | 16 May 2025 11:01 | Modified: | 24 Mar 13:07 |
| Reporter: | Laurynas Biveinis (OCA) | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | Tests | Severity: | S3 (Non-critical) |
| Version: | 9.7.0-er | OS: | MacOS (15.5) |
| Assigned to: | CPU Architecture: | ARM | |
[18 May 2025 16:35]
MySQL Verification Team
Hello Laurynas, Thank you for the report and feedback. regards, Umesh
[28 Oct 2025 9:38]
Laurynas Biveinis
Reproduces with 9.5.0
[23 Jan 4:54]
Laurynas Biveinis
Same with 9.6.0, regular debug build
[24 Mar 13:07]
Laurynas Biveinis
Fails the same under 9.7.0-er under plain debug build, no sanitizers needed

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 perfschema.idx_compare_mutex_instances ... [ 50%] perfschema.idx_compare_mutex_instances [ fail ] Test ended at 2025-05-16 13:55:29 CURRENT_TEST: perfschema.idx_compare_mutex_instances --- /Users/laurynas/vilniusdb/mysql-9.3.0/mysql-test/suite/perfschema/r/idx_compare_mutex_instances.result 2025-04-22 13:22:38 +++ /Users/laurynas/vilniusdb/mysql-9.3.0/_build-debug-san/mysql-test/var/log/idx_compare_mutex_instances.reject 2025-05-16 13:55:28 @@ -169,7 +169,7 @@ OK: Handler_read_key -OK: Result set: Empty Expected: Empty +OK: Result set: Non-empty Expected: Non-empty OK: Extra rows: 0 Missing rows: 0 ======== @@ -177,7 +177,7 @@ OK: Handler_read_key -OK: Result set: Empty Expected: Empty +OK: Result set: Non-empty Expected: Non-empty OK: Extra rows: 0 Missing rows: 0 ======== @@ -185,7 +185,7 @@ OK: Handler_read_key -OK: Result set: Empty Expected: Empty +OK: Result set: Non-empty Expected: Non-empty OK: Extra rows: 0 Missing rows: 0 ======== mysqltest: Result content mismatch How to repeat: See above