在启动期间,valgrind打印以下内容并以静默方式终止。为什么会发生这种情况?它是什么意思?
==2758== Memcheck, a memory error detector
==2758== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==2758== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==2758== Command: /usr/local/bin/bp_mat_00
==2758==
==2758== error writing 36 bytes to shared mem /tmp/vgdb-pipe-shared-mem-vgdb-2758-by-root-on-???
答案 0 :(得分:0)
这意味着valgrind会尝试写入已满的目录。参见
df -h
但是如果目录在valgrind运行的后期被填充,那么valgrind可能无法打印该消息,可能不会终止,但仍然可能无法正常工作...