[Lazarus] Exception with no stack trace [was: Can I be sure that timer and synchronize never fire at once?]
Luca Olivetti
luca at wetron.es
Tue Feb 1 09:07:15 CET 2011
En/na Luca Olivetti ha escrit:
> Hello,
> I'm trying to debug a strange crash in an application (it's strange
> because the exception dialog appears and then disappears almost
> instantly without clicking on any button, so the customer cannot tell me
> the reason of the exception).
I added as an Application exception handler the code from
http://wiki.freepascal.org/Logging_exceptions#Dump_exception_call_stack
(modified to dump it to a file instead of showing the message).
They managed to provoke the crash (I cannot on my development machine)
and sent me the file:
31/01/2011 10:23:26 TApplication EListError List index (3) out of bounds
Stack trace:
$0043FEFF
There are two problems with that:
1) there's no debug information (though the exe has full debug
information and the "Dump current call stack" function shows complete
debug information)
2) there's no real stack trace, so I cannot pinpoint where my
application causes the crash
For 1) I used gdb
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...
(gdb) info line *0x0043FEFF
No line number information available for address
0x43feff <CLASSES_TFPLIST_$__RAISEINDEXERROR$LONGINT+15>
(gdb)
that doesn't really help me without a solution for 2)
Any hint?
Bye
--
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004 (Ext.133) Fax +34 93 5883007
More information about the Lazarus
mailing list