c - Valgrind 错误 : failed in UME with error 22

标签 c debugging valgrind

我正在使用 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 错误。

http://bugs.kde.org/show_bug.cgi?id=138424

关于c - Valgrind 错误 : failed in UME with error 22,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4230829/

相关文章:

在函数中更改指针的值

c - 为什么 Valgrind 报告在 PETSc 中分配 char* 时大小为 8 的无效写入?

objective-c - Xcode #ifdef DEBUG 无法正常工作

asp.net - 远程调试Azure网站: Breakpoints not hit

c++ - 如何调试堆损坏错误?

c - 函数 poll 的头文件

c - Valgrind 在每个程序上报告 "Conditional jump or move depends on uninitialised value(s)"

c - 使用 HP Fortify SCA 扫描 Linux 内核

c# - C++ 库问题

c - 为什么 gdb 提示我的核心文件太小,然后无法产生有意义的堆栈跟踪?