PDA

View Full Version : Previous frame inner to this frame(corrupt stack?)



coralbird
23rd May 2007, 08:32
When I run myprogram.exe directly,everything is ok,however,when i debug myprogram.exe
using gdb,gdb reported the following message:
/opt/csw/bin/gdb /export/home/rootroot/prs700u/bin/hmi -fullname -nx -quiet
(gdb) set edit off
(gdb) set confirm off
(gdb)
(gdb)
(gdb) set print static-members off
(gdb) tty /dev/ttyp0
(gdb) set width 0
(gdb) set height 0
(gdb) set stop-on 1
(gdb) handle SIG32 pass nostop noprint
(gdb) handle SIG41 pass nostop noprint
(gdb) handle SIG43 pass nostop noprint
(gdb) set print asm-demangle on
(gdb) set output-radix 10
(gdb) cd /export/home/rootroot/prs700u/bin/
(gdb) run
Stopped due to shared library event
(gdb) continue
warning:
Lowest section in /usr/lib/libpthread.so.1 is .dynamic at 00000074

(gdb) backtrace
Stopped due to shared library event
#0 0xd13e6664 in ?? ()
#1 0xd13e679a in ?? ()
#2 0xd13fb824 in ?? ()
#3 0x08046d54 in ?? ()
#4 0xd13de61e in ?? ()
#5 0xd13fb1f8 in ?? ()
#6 0x00000003 in ?? ()
#7 0x00000000 in ?? ()
#8 0xd13fb1f8 in ?? ()
#9 0xd13fd7b8 in ?? ()
#10 0xd13fb824 in ?? ()
#11 0x00000001 in ?? ()
#12 0xd13fd7b8 in ?? ()
#13 0x00000001 in ?? ()
#14 0x08046e74 in ?? ()
#15 0xd13e641d in ?? ()
#16 0xd13fd7b8 in ?? ()
#17 0x00000000 in ?? ()
#18 0xd13fb2e4 in ?? ()
#19 0xd13fb824 in ?? ()
#20 0x08046e74 in ?? ()
#21 0x00000000 in ?? ()
#22 0x00000000 in ?? ()
#23 0x01980007 in ?? ()
#24 0x00000000 in ?? ()
#25 0x00000000 in ?? ()
#26 0x00000000 in ?? ()
#27 0x0000380c in ?? ()
#28 0x000081ed in ?? ()
#29 0x00000001 in ?? ()
#30 0x00000000 in ?? ()
#31 0x00000000 in ?? ()
#32 0x00000000 in ?? ()
#33 0x00000000 in ?? ()
#34 0x00000000 in ?? ()
#35 0x00de1930 in ?? ()
#36 0x00000000 in ?? ()
#37 0x4653da3d in ?? ()
#38 0x1fc0f7a0 in ?? ()
#39 0x4653da38 in ?? ()
#40 0x39fecd40 in ?? ()
#41 0x4653da38 in ?? ()
#42 0x39fecd40 in ?? ()
#43 0x00002000 in ?? ()
#44 0x00006f20 in ?? ()
#45 0x00736675 in ?? ()
#46 0x00000000 in ?? ()
#47 0x00000000 in ?? ()
#48 0x00000000 in ?? ()
#49 0x00000000 in ?? ()
#50 0x00000000 in ?? ()
#51 0x00000000 in ?? ()
#52 0x00000000 in ?? ()
#53 0x00000000 in ?? ()
#54 0x00000000 in ?? ()
#55 0x00000000 in ?? ()
#56 0x00000000 in ?? ()
#57 0x00000000 in ?? ()
#58 0x00000000 in ?? ()
#59 0x00000000 in ?? ()
#60 0x00000000 in ?? ()
#61 0x00000000 in ?? ()
#62 0x00000000 in ?? ()
#63 0x00000000 in ?? ()
#64 0x00000000 in ?? ()
#65 0xd13fd768 in ?? ()
#66 0x08211cdc in ?? ()
#67 0x00000002 in ?? ()
#68 0x000000d4 in ?? ()
#69 0x00000000 in ?? ()
#70 0x00000000 in ?? ()
#71 0x00000000 in ?? ()
#72 0x00000020 in ?? ()
#73 0x08050094 in ?? ()
#74 0x00000cdc in ?? ()
#75 0x00000000 in ?? ()
#76 0x00000000 in ?? ()
#77 0x08201cda in typeinfo name for WfDialog ()
#78 0xd13fd758 in ?? ()
#79 0x08212cc8 in _GLOBAL_OFFSET_TABLE_ ()
Previous frame inner to this frame (corrupt stack?)


But the myprogram.exe didn't start running from main(),it is impossible that application caused this question.What''s the matter? and "Previous frame inner to this frame (corrupt stack?)" means something wrong certainly?


According to "#77 0x08201cda in typeinfo name for WfDialog ()", I delete the code as below from souece code :
if(m_pWfDialog==NULL)
m_pWfDialog=new CWfDialog(g_pMainFrame);
m_pWfDialog->SetBakWfMsgInfo(wfMsgInfo);
m_pWfDialog->textLabel_Info->setText(strWfMsg);
m_pWfDialog->show();
Then "Previous frame inner to this frame (corrupt stack?)" disappeared!!! Why?
Great thanks to your answer!

coralbird
28th May 2007, 02:35
Nobody give me answer?didn't I descpipe the question detailed?