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
@VeXocide: Before using this by default when running tests we would have to get rid of false positives and fix the crashes.
This feature seems to sometimes cause warnings to be output at runtime without changing the return value of the process. To take full advantage of these warnings, the testsuite would have to be instrumented to notice these warnings in the output logs and report them.
We could compile the test binary with THREADED_COROUTINES=1 to avoid swapcontext. It might hide some subtle concurrency bugs, but overall would probably still be useful.
I have opened a few issues for the warnings and errors generated by the sanitizer when running the unit tests. Some of these may be false positives, but most look like a possible source of bugs: #3326#3328#3329#3330#3337#3338
Activity
AtnNn commentedon Nov 6, 2014
I got it working on newton:
It complains about
swapcontextbeing unsupported: http://code.google.com/p/address-sanitizer/issues/detail?id=189It also segfaults in a few places when running the unit tests.
Using
-fsanitize=address,undefinedalso dumps thousands of complaints about unaligned reads and writes.AtnNn commentedon Nov 6, 2014
@VeXocide: Before using this by default when running tests we would have to get rid of false positives and fix the crashes.
This feature seems to sometimes cause warnings to be output at runtime without changing the return value of the process. To take full advantage of these warnings, the testsuite would have to be instrumented to notice these warnings in the output logs and report them.
danielmewes commentedon Nov 6, 2014
We could compile the test binary with
THREADED_COROUTINES=1to avoidswapcontext. It might hide some subtle concurrency bugs, but overall would probably still be useful.AtnNn commentedon Nov 15, 2014
I have opened a few issues for the warnings and errors generated by the sanitizer when running the unit tests. Some of these may be false positives, but most look like a possible source of bugs: #3326 #3328 #3329 #3330 #3337 #3338