[Lazarus] Getting sourceline from stacktrace address

Pascal Riekenberg pascal at riekenberg.eu
Mon Dec 21 20:54:42 CET 2020


Thanks! That works. But with many manual copy and paste.


Pascal

> Luca Olivetti via lazarus <lazarus at lists.lazarus-ide.org> hat am 21.12.2020 20:21 geschrieben:
> 
>  
> El 21/12/20 a les 20:12, Pascal Riekenberg via lazarus ha escrit:
> > Good evening,
> > 
> > how can i get the sourceline from a stacktrace address?
> > 
> > I use heaptrc to find a double free. The problem is that producing the 
> > stacktrace on double free
> > also runs into the error and only produces the list of addresses. 
> > KeepReleased is not an option here
> > due to limited memory. 48 GB is not enough ;-(
> > 
> > Lazarus trunk, fpc trunk, x86_64, fpDebug, Dwarf3, Windows 10 20H2
> > 
> 
> I don't know with X86_64, but with windows 32 I load the exe in gdb then
> 
> info line *0x01234abcd
> 
> Bye
> -- 
> Luca Olivetti
> Wetron Automation Technology http://www.wetron.es/
> Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007
> -- 
> _______________________________________________
> lazarus mailing list
> lazarus at lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus


More information about the lazarus mailing list