Commit 6e0f9780 authored by Uli Schlachter's avatar Uli Schlachter
Browse files

Add test reproducing ASAN-like hangs



Backtraces suggest that AddressSanitizer replaces malloc() with a
function that

- locks a mutex and
- calls clock_gettime() while the mutex is held

This commit adds a test that implements a trivial malloc() that behaves
similarly. Currently, this test hangs.

Signed-off-by: default avatarUli Schlachter <psychon@znc.in>
parent f836ea3e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment