Enable Ubuntu sanitizers on CI builds #9
Labels
Complexity: Medium
This might take a few days of work
Priority: High
High-priority
Status: Available
This task is available to be looked at
Type: Bug Report
For bugs that need to be fixed (For "Issues" only)
Type: Enhancement
For enhancements on existing functionality
Checklist
Description
This feature is to enable sanitizers on the Ubuntu build, which requires some code-changes to fix.
The current infrastructure is in-place, but failing to run correctly due to
new
anddelete
usages inthe standard-library. It is detecting
::operator new (std::size_t, std::align_t)
fromalloy::core::allocator
as not being the same alignment used in
::operator delete(std::size_t, std::align_t)
:It's not entirely clear what could be causing this discrepancy. This fails with both clang and gcc on Ubuntu, but does not appear to occur on mac -- suggesting that this may either be a variation between
libc++
andlibstdc++
, or potentially that this is undefined behavior that is detected in different versions of the compiler.At any rate, this issue needs to be investigated and fixed before sanitizers can be enabled.
Marking this as both an enhancement and bug report, since there is likely a fix required here.
The text was updated successfully, but these errors were encountered: