Details
-
Bug
-
Status: In Review (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.5, 10.6, 10.11, 11.4, 11.8
-
Sprint 7 (07.04.2025), Sprint 8 (21.04.2025)
Description
So far, as per MDEV-20377, we got MemorySanitizer to work only for the traditional synchronous file I/O.
Ideally, we should deviate from the default build options as little as possible. It turns out that with a few minor tweaks, the libaio code path can be made MSAN clean. For liburing, some additional changes to /usr/include/liburing/*.h seem to be necessary.
Attachments
Issue Links
- relates to
-
MDEV-20377 Make WITH_MSAN more usable
-
- Closed
-
-
MDEV-36316 Debug MSAN error on InnoDB Bootstrap
-
- Closed
-
https://github.com/MariaDB/server/pull/3949/ implements most of this. The liburing part needs some work, that is, tweaking the headers of that library, or figuring out how to build a MemorySanitizer instrumented version of the library.
I tested that this works with libaio, but that one is rather useless, because libaio will refuse to work on tmpfs, and therefore the code would not be exercised on most CI systems.