BFD: Warning: /tmp/barry/core.exdoc_usermaint.11 is truncated: expected core file size >= 43548672, found: 31399936

首先可以确定是ulimit已经都设置为ulimited,所以一定不是内核大小限制的问题。

BFD: Warning: /tmp/barry/core.exdoc_usermaint.11 is truncated: expected core file size >= 43548672, found: 31399936

原因就是程序误写了core文件的文件头。

https://stackoverflow.com/questions/39532001/why-does-gdb-complain-that-my-core-files-are-too-small-and-then-fail-to-produce

posted @ 2021-12-10 21:34  zhjh256  阅读(647)  评论(0编辑  收藏  举报