FS#55122 - [linux] [REGRESSION] ASAN program crash since 4.12.5

Attached to Project: Arch Linux
Opened by Peter Wu (Lekensteyn) - Sunday, 13 August 2017, 07:10 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 13 August 2017, 07:23 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After upgrading Linux from 4.12.2-1 to 4.12.5-1, programs compiled with ASAN crash at startup with:

Shadow memory range interleaves with an existing memory mapping. ASan cannot proceed correctly. ABORTING.

This is reportedly fixed by [1], but this was neither included in 4.12.6 nor 4.12.7. Perhaps this could be applied to 4.12.7-1 (even if it does not appear in mainline yet)

[1]: https://marc.info/?t=150213704600001&r=1&w=2

Steps to reproduce:
echo 'int main(){}' > x.c
gcc -fsanitize=address x.c
./a.out # should not crash
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Sunday, 13 August 2017, 07:23 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#55008 

Loading...