Bug #118213 Test perfschema.idx_compare_mutex_instances fails under debug

Submitted: 16 May 2025 11:01 Modified: 2 Jul 14:11
Reporter: Laurynas Biveinis (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:Tests Severity:S3 (Non-critical)
Version:8.4.9, 9.7.0 OS:MacOS (15.5)
Assigned to: CPU Architecture:ARM

[16 May 2025 11:01] 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 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
[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
[17 Jun 4:45] Laurynas Biveinis
Fails under 8.4.9, plain debug build
[2 Jul 14:11] Laurynas Biveinis
Same with 9.7.0, debug, no sanitizers

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

Page generated in 0.054 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.