在此处输入图像描述
我已经添加了 ASAN_OPTIONS='halt_on_error=0',但它只是中止。
你的程序做了这样的操作:
const char *s = getenv("FOO"); // May return NULL
std::string str(p); // Will crash if p is NULL
如何继续
你没有:你的程序崩溃了。您必须先修复该错误。