<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 21/12/2020 20:12, Pascal Riekenberg
via lazarus wrote:<br>
</div>
<blockquote type="cite"
cite="mid:693662976.79521.1608577966360@ox.hosteurope.de">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<div class="default-style"> Good evening, <br>
</div>
<div class="default-style"> <br>
</div>
<div class="default-style"> how can i get the sourceline from a
stacktrace address? <br>
</div>
<div class="default-style"> <br>
</div>
<div class="default-style"> I use heaptrc to find a double free.
The problem is that producing the stacktrace on double free <br>
</div>
<div class="default-style"> also runs into the error and only
produces the list of addresses. KeepReleased is not an option
here <br>
</div>
<div class="default-style"> due to limited memory. 48 GB is not
enough ;-( <br>
</div>
<div class="default-style"> <br>
</div>
<div class="default-style"> Lazarus trunk, fpc trunk, x86_64,
fpDebug, Dwarf3, Windows 10 20H2 </div>
<br>
</blockquote>
If you have the exe, and the exe has debug info:<br>
- paste the stacktrace into menu: View > Leaks and traces<br>
- Press "Resolve" and select the exe.<br>
</body>
</html>