在Linux机器上发生了core文件被截断的现象,找到了解决办法。
现象
通过gdb打开core,但看不到core的内容,信息如下:
$ gdb XXX core.XXX
GNU gdb (GDB) Red Hat Enterprise Linux ( 7.0.1-32.el5)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instruction
Linux core文件被截断问题的解决办法
最新推荐文章于 2021-04-29 02:23:12 发布