I already add ASAN_OPTIONS='halt_on_error=0', but it just aborts.
Asked
Active
Viewed 338 times
-2
-
1welcome! please provide a [mcve] – Daniel A. White May 19 '20 at 03:15
-
Please don't ask question with pictures, when they are picture of text. Just paste the text instead. – Employed Russian May 19 '20 at 20:57
-
This may not be a good example, but the question is valid, especially if you have a platform specific unit test that causes a segfault on purpose in a test. – rationalcoder Mar 06 '23 at 21:37
1 Answers
0
Your program did something like this:
const char *s = getenv("FOO"); // May return NULL
std::string str(p); // Will crash if p is NULL
How do I continue
You don't: your program is crashing. You'll have to fix the bug first.

Employed Russian
- 199,314
- 34
- 295
- 362