Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
BB V1.09
-
None
Description
There are some gaps in codebase that a MSAN debug builder may sufficiently exercise.
-DWITH_SAFEMALLOC=OFF required to maintain stack sanity in large stack cases. (becomes default with MDEV-37052 proposed changes).
To gain some addition coverage, lets do this on aarch64 as an alternate architecture. Main reason it has a rr implementation that can be used to trace this.
Gaps found so far.
MDEV-36542Remove compile options for faking initialisation #3961
PR includeMDEV-34388stackframe size which under clang/debug exceeds the 16k limit in a few more places. MYSQL_MAINTAINER_MODE=NO is a hack to get past -Werror conditions.
https://github.com/MariaDB/server/commit/e843033d0233927b8f51d7dbe21993bdfb01ecdf
- new implementation - valist (ap) variable is not a pointer - compile faults on aarch - also work around not needed any more.
10.11-e63e0e4c6f164adba477512eb8f1e16abb4182e1 failing tests |
Failing test(s): binlog_encryption.mysqlbinlog encryption.recovery_memory spider/bugfix.mdev_29027_original spider/bugfix.mdev_29027 perfschema.statement_program_nesting_event_check mariabackup.encrypted_page_corruption mariabackup.undo_truncate perfschema.statement_program_nested mariabackup.huge_lsn mariabackup.xb_file_key_management perfschema.statement_program_lost_inst perfschema.max_program_zero sql_sequence.other main.lotofstack main.sp-error
|
Attachments
Issue Links
- is blocked by
-
MDEV-36542 Remove some markers that variable is not going to be used uninitalized in clang
-
- Closed
-
-
MDEV-36723 ALTER TABLE tbl_a ADD PARTITION (PARTITION pt2) MSAN uninitalized read
-
- Closed
-
-
MDEV-37048 revert MSAN my_vsnprintf_ex for double workaround
-
- Closed
-
-
MDEV-37049 my_assume_aligned assertion in mariabackup under encryption.recovery_memory test
-
- Closed
-
-
MDEV-37051 MSAN: perfschema.statement_program_lost_inst - segv in __msan_set_alloca_origin_with_descr
-
- Open
-
-
MDEV-37052 JSON_TABLE/JSON_SCHEMA_VALID stack overflow handling errors
-
- Closed
-
-
MDEV-37060 MSAN binlog_encryption.mysqlbinlog - client event server_id uninitialized in is_server_id_excluded check
-
- Closed
-
-
MDEV-37502 Make Server Debug + Clang compile ready
-
- Closed
-
- relates to
-
MDBF-793 Retire MSAN clang-15 builder, upgrade to clang-20
-
- Closed
-
-
MDEV-37226 Remove MSAN limitation from MTR tests
-
- Open
-
-
MDEV-37705 main.lotofstack /main.sp-error fails in MSAN+Debug
-
- Closed
-
-
MDBF-1125 Include instrumented curl libraries :was: MemoryStanitizer: use-of-uninitialized-value in S3 storage engine request generation
-
- Closed
-
-
MDEV-37504 MemorySanitizer: use-of-uninitialized-value myrocks::Rdb_key_def::pack_field
-
- Closed
-