我正在使用 Valgrind 进行工具开发,但遇到以下错误:
valgrind: mmap(0x8048000, 4096) failed in UME with error 22 (Invalid argument).
valgrind: this can be caused by executables with very large text, data or bss segments.
但我的可执行文件只有简单的变量赋值。我无法理解如何解决这个问题。有什么建议吗?
最佳答案
我没有答案,但在这个问题上有一个 Unresolved 错误。
关于c - Valgrind 错误 : failed in UME with error 22,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4230829/