简体   繁体   English

gdb核心转储开放失败

[英]gdb core dump opening failrue

I am trying to open kernel core dump file. 我正在尝试打开内核核心转储文件。 And what I am getting: 而我得到的是:

gdb app core.23605
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 "i386-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/Development/Projects/app...done.
"/home/Development/Projects/core.23605" is not a core dump: File format not recognized


ulimit -a
core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 7616
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 7616
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

... core.23605 is not a core dump ... core.23605不是核心转储

This most often happens when the core file is transferred from one machine to another via ftp in ASCII mode. 当核心文件在ASCII模式下通过ftp从一台机器传输到另一台机器时,通常会发生这种情况。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM