You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Valgrind is not aware of third-party allocators such as mimalloc and jemalloc.
This can lead to spurious errors or, on the contrary, it could hide some actual issues.
### Rationale for this change
Valgrind is not aware of third-party allocators such as mimalloc and jemalloc. This can lead to spurious errors or, on the contrary, it could hide some actual issues.
### What changes are included in this PR?
Disable mimalloc in the Valgrind build (jemalloc is already disabled).
### Are these changes tested?
Yes, by existing CI.
### Are there any user-facing changes?
No.
* GitHub Issue: #45270
Authored-by: Antoine Pitrou <[email protected]>
Signed-off-by: Jacob Wujciak-Jens <[email protected]>
Describe the bug, including details regarding any error messages, version, and platform.
The Valgrind CI job is sometimes polluted by mimalloc-related Valgrind errors, such as:
https://github.com/ursacomputing/crossbow/actions/runs/12791589715/job/35660053477#step:7:3050
Since Valgrind is probably not mimalloc-aware, we should simply disable mimalloc on Valgrind builds so that the system allocator is used.
Component(s)
C++, Continuous Integration
The text was updated successfully, but these errors were encountered: