- 论坛徽章:
- 0
|
core文件调试的问题
感谢 Alligator27 的回复,我们似乎看到了救星!多谢了!
core文件的stack 如下:
pstack: warning: librtld_db failed to initialize; symbols from shared libraries will not be available
core 'Test_core_0414_2' of 3467: ./Test
----------------- lwp# 3 --------------------------------
ff1e0620 ???????? (68, 35740, 1, fef6c000, 4bddc, 0)
000168cc ???????? (0, 0, 8000, 0, 0, 0)
----------------- lwp# 4 --------------------------------
fef59200 ???????? (fef6cd28, fef6c000, fef6cd10, fea0bd30, fef6c000, 0)
fef5b01c ???????? (0, 0, 0, 0, fea0c000, 100000)
----------------- lwp# 5 --------------------------------
ff01eec4 ???????? (ffbefd70, fef6c000, 0, 0, fef6c000, 4bc40)
00016100 ???????? (31e01, 1, 4c320, 4bc34, 838, ffffffff)
0004c320 ???????? (0, 31004150, 4c3f8, 3c49534d, 41503e0a, 2020093c)
65762074 ???????? (4c438, 2f737263, 6465763e, a202020, 4c448, 20747970)
----------------- lwp# 6 --------------------------------
ff01c098 ???????? (fe1ff900, 7, fe1ffd20, 0, 14, fe1ffd20)
0001f1f4 ???????? (0, 0, 0, 0, 8000, 0)
----------------- lwp# 7 --------------------------------
fef59200 ???????? (3e, fef6cd6c, fef6c000, 0, 0, 4)
ff01c9c0 ???????? (fef56774, 0, 0, 0, 0, 0)
----------------- lwp# 8 --------------------------------
ff01c968 ???????? (9, fef6d658, fef6d670, 3, fef6c000, 1)
fef4a358 ???????? (0, 0, 0, 0, 0, 0)
----------------- lwp# 1 --------------------------------
ff01d600 ???????? (4c320, 6, 78, fed7f348, c, fed7e31
0001885c ???????? (fed7e318, 0, 0, 0, 1, 0)
----------------- lwp# 2 --------------------------------
ff01edc4 ???????? (fef6c000, 0, ff3e7a8c, 1000, ff3d4124, ff3e7fe
fef51c2c ???????? (0, 0, 0, 0, fec10000, 100000)
core文件的Register信息如下:
GNU gdb 5.3
Core was generated by `./Test'.
Program terminated with signal 11, Segmentation fault.
#0 0xff1e0620 in ?? ()
(gdb) where
#0 0xff1e0620 in ?? ()
(gdb) info register
g0 0x0 0
g1 0x105000 1069056
g2 0x0 0
g3 0x0 0
g4 0x0 0
g5 0x0 0
g6 0x0 0
g7 0xfe37fd98 -29885032
o0 0x68 104
o1 0x0 0
o2 0x0 0
o3 0x0 0
o4 0x0 0
o5 0x0 0
sp 0xfe37fc20 4265081888
o7 0x17c64 97380
l0 0x0 0
l1 0x0 0
l2 0x0 0
l3 0x0 0
l4 0x0 0
l5 0x0 0
l6 0x0 0
---Type <return>; to continue, or q <return>; to quit---
l7 0x0 0
i0 0x68 104
i1 0x35740 218944
i2 0x1 1
i3 0xfef6c000 -17383424
i4 0x4bddc 310748
i5 0x0 0
fp 0xfe37fc90 4265082000
i7 0x168cc 92364
y 0x7fdbc7ec 2145109996
psr 0xfe000001 -33554431 icc:----, pil:0, s:0, ps:0, et:1
wim 0x0 0
tbr 0x0 0
pc 0xff1e0620 4280157728
npc 0xff1e0624 -14809564
fpsr 0x0 0 rd:N, tem:0, ns:0, ver:0, ftt:0, qne:0, fcc:=, 0
cpsr 0x0 0 |
|