在地址映射区域的权限错误
Valgrind program is crashing Bad permissions for mapped region at address
我试图运行我的程序来检查我的程序中的内存泄漏,但每当我启动我的程序,我得到
==3476== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==3476== Bad permissions for mapped region at address 0xCFE3FF8
==3476== at 0x005212e1: get_document_root (mongoose.c:1557)
==3476==
==3476== HEAP SUMMARY:
==3476== in use at exit: 2,134,492 bytes in 3,948 blocks
==3476== total heap usage: 5,473 allocs, 1,525 frees, 2,863,520 bytes allocated
==3476==
和在完整的valgrind日志中,没有对内存进行无效的读写。我不明白为什么它会崩溃。
由于自定义404页面而该文件不在那里而崩溃。所以它会无限地查找那个文件并导致缓冲区溢出。
相关文章:
- 警告处理为错误这里有什么问题
- "error: no matching function for call to"构造函数错误
- boost::进程间消息队列引发错误
- 为什么我在空指针错误(链表)中获取成员访问权限
- 如何修复无效的API密钥,IP或操作权限错误?
- 信号:分段错误 (11) 信号代码:权限无效 (2)
- clang --版本权限被拒绝错误
- QSSLSLSOCKETS无法解决和权限拒绝错误
- 运行简单 c++ 程序时出现权限被拒绝错误
- Apache HTTPD模块共享内存权限拒绝了错误
- 多个错误C1083,尽管路径和权限正确
- 视觉C 2010年致命错误C1083;没有权限
- 获取错误 - 启用权限后,OpenProcess() 中的访问被拒绝
- 开发C++编译错误,权限被拒绝
- 在Cygwin中编译C++代码时出现权限错误
- QtCreator:启动程序失败.路径或权限错误
- 通过Winapi以编程方式编辑Windows审核策略时出现权限错误
- 在地址映射区域的权限错误
- 运行基于编译的c++程序的Netbeans作为CGI给出权限错误
- 我不断收到一个错误,指出对输出文件的权限被拒绝,因此我的代码无法运行