[fpc-devel] gdb crashes with trunk
Martin Schreiber
fpmse at bluewin.ch
Thu Apr 3 14:02:15 CEST 2008
On Thursday 03 April 2008 13.54:32 Martin Schreiber wrote:
> Hi,
> I am currently debugging the "cleanroom code" which is a frustrating matter
> because gdb crashes at allmost every breakpoint.
> Any hints how to let gdb work more stable with trunk on i386-linux?
> I compile with -O- already, gdb version is 6.6.50.20070726-cvs.
>
OK, I found something my self, hiding the stack window of MSEide helps in some
cases. If gdb crashes, there is no information about procedure parameters in
the stack trace. Example:
"
#0 080D9CBD writer.inc:897 TWRITER__WRITEPROPERTY()
#1 080D9086 writer.inc:678 TWRITER__WRITEPROPERTIES()
#2 080D8DF6 writer.inc:603 TWRITER__WRITECOMPONENTDATA()
#3 080CCDD7 compon.inc:386 TCOMPONENT__WRITESTATE()
#4 080FCC12 mseclasses.pas:2915 TMSECOMPONENT__WRITESTATE()
#5 080D8B8F writer.inc:545 TWRITER__WRITECOMPONENT()
#6 080D8E5E writer.inc:617 TWRITER__WRITEDESCENDENT()
#7 080DA25C writer.inc:962 TWRITER__WRITEROOTCOMPONENT()
#8 080F90DA mseclasses.pas:979 COPYCOMPONENT()
#9 0816B41F msedesigner.pas:2839 TDESIGNER__COPYCOMPONENT()
#10 0816A67E msedesigner.pas:2410 TDESIGNER__CREATECOMPONENT()
#11 080D54E1 reader.inc:812 TREADER__READCOMPONENT()
#12 080D5AE5 reader.inc:920 TREADER__READDATA()
#13 080CCA57 compon.inc:272 TCOMPONENT__READSTATE()
#14 080FC8E5 mseclasses.pas:2824 TMSECOMPONENT__READSTATE()
#15 08189973 mseforms.pas:1206 TCUSTOMMSEFORM__READSTATE()
#16 080D6DAB reader.inc:1289 TREADER__READROOTCOMPONENT()
#17 0816CE1D msedesigner.pas:3474 TDESIGNER__LOADFORMFILE()
#18 080A5EF3 main.pas:1230 TMAINFO__OPENFORMFILE()
#19 0808FB96 sourceform.pas:479 TSOURCEFO__UPDATESTAT()
#20 08177001 projectoptionsform.pas:1187 UPDATEPROJECTOPTIONS()
#21 08179966 projectoptionsform.pas:1559 READPROJECTOPTIONS()
#22 080A8A94 main.pas:1892 TMAINFO__OPENPROJECT()
#23 080A9A77 main.pas:2152 TMAINFO__MAINSTATFILEONUPDATESTAT()
#24 0813D058 msestatfile.pas:142 TSTATFILE__DOSTATREAD()
#25 0813407C msestat.pas:751 TSTATREADER__READSTAT()
#26 0813D5B3 msestatfile.pas:235 TSTATFILE__READSTAT()
#27 080A6899 main.pas:1422 TMAINFO__MAINONLOADED()
#28 08188A97 mseforms.pas:848 TCUSTOMMSEFORM__DOEVENTLOOPSTART()
#29 08188AE3 mseforms.pas:857 TCUSTOMMSEFORM__RECEIVEEVENT()
#30 080F80AA mseevent.pas:195 TOBJECTEVENT__DELIVER()
#31 08082870 msegui.pas:12320 TINTERNALAPPLICATION__EVENTLOOP()
#32 080835BC msegui.pas:12715 TINTERNALAPPLICATION__DOEVENTLOOP()
#33 080F66F8 mseapplication.pas:1064 TCUSTOMAPPLICATION__RUN()
#34 0804C759 mseide.pas:57 main()
"
Again, a frustrating matter, debugging without stack window.
Martin
More information about the fpc-devel
mailing list