1 |
Hi all, |
2 |
|
3 |
I just had a crash from the CLI version of PHP that I wanted to |
4 |
debug, so I enabled core files, triggered the crash, and tried to |
5 |
load the core file into GDB: |
6 |
|
7 |
arcadia ~ # gdb /usr/lib/php5/bin/php core |
8 |
GNU gdb 6.3 |
9 |
Copyright 2004 Free Software Foundation, Inc. |
10 |
GDB is free software, covered by the GNU General Public License, and |
11 |
you are |
12 |
welcome to change it and/or distribute copies of it under certain |
13 |
conditions. |
14 |
Type "show copying" to see the conditions. |
15 |
There is absolutely no warranty for GDB. Type "show warranty" for |
16 |
details. |
17 |
This GDB was configured as "i686-pc-linux-gnu"...(no debugging |
18 |
symbols found) |
19 |
Using host libthread_db library "/lib/tls/libthread_db.so.1". |
20 |
|
21 |
"/home/bootc/core" is not a core dump: File format not recognized |
22 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
23 |
(gdb) |
24 |
|
25 |
|
26 |
Yet, file clearly states this is a core file, which I fully expect it |
27 |
to be: |
28 |
|
29 |
arcadia ~ # file core |
30 |
core: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4- |
31 |
style, SVR4-style, from 'php' |
32 |
|
33 |
What the heck is happening? |
34 |
|
35 |
Chris |
36 |
|
37 |
|
38 |
-- |
39 |
Chris Boot |
40 |
bootc@×××××.net |
41 |
http://www.bootc.net/ |