malloc.c:3096: sYSMALLOc: Assertion 错误
来源:互联网 发布:数据库编程培训 编辑:程序博客网 时间:2024/06/03 15:07
malloc.c:3096: sYSMALLOc: Assertion (old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)
failed. Aborted
昨天调试程序一起来就报一个这样的错误, gdb一调试发现是一个new的地方,不知所措,网上也没有好的说法,源文件既有.c又有.cpp,最后修改Makefile解决,但还是不知为什么,记下来,以后再遇到找到根本原因再续写完。
0 0
- malloc.c:3096: sYSMALLOc: Assertion 错误
- NS2运行出现malloc.c:3096: sYSMALLOc:...错误
- malloc.c:2369: sysmalloc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2]
- malloc Assertion错误
- 运行错误malloc.c:3096
- doug lea malloc源码剖析之:sYSMALLOc
- C/C++出现Debug Assertion Failed!错误
- 错误1:malloc.c:2394
- C 运行错误:debug assertion failed,stream!=null
- 解决错误:Assertion failed: hunk, file patch.c, line 321
- Debug Assertion failure错误
- Assertion failure 错误
- Assertion failure 错误
- 错误:Debug assertion failed
- 【c++】Debug Assertion Failed!
- vc 错误:Debug Assertion Failed
- Debug Assertion Failed 错误定位
- Debug Assertion Failed! 错误解析
- [leetcode][tree] Symmetric Tree
- Bootstrap 模态对话框居中
- 第八周 项目三-分数类中的运算符重载(1)
- HttpClient工具类
- Java 零碎知识点
- malloc.c:3096: sYSMALLOc: Assertion 错误
- 我对应用开发学习方法与思路的一点点思考,求教
- HDU1142
- 享元模式
- HDU_1845
- 爱的秘籍
- DXP 设计PCB是精确定位元件位置
- gprof
- Yahoo军规个人总结