Recent changes in dwarf crash heaptrc in lnfodwrf.pp
Original Reporter info from Mantis: ludob
-
Reporter name: Ludo Brands
Original Reporter info from Mantis: ludob
- Reporter name: Ludo Brands
Description:
lnfodwrf.pp has problems reading the dwarf debug info and crashes in LNFODWRF_SEEK$INT64. fpc 2.5.1 dated april 1 (I don't have the svn version) doesn't have this problem.
Note that lazarus svn defaults now to dwarf on windows.
Steps to reproduce:
program test;
var p:pointer;
begin
getmem(p,5);
end.
compile with -gw2 -gl -gh and run. Output:
Heap dump by heaptrc unit
1 memory blocks allocated : 5/8
0 memory blocks freed : 0/0
1 unfreed memory blocks : 5
True heap size : 98304 (80 used in System startup)
True free heap : 98144
Should be : 98152
Call trace for block $00065180 size 5
Runtime error 131 at $0040B451
$0040B451
$0040BD4C
$0040C1F2
$0040C282
$00409303
$0040AFB7
$00408381
Mantis conversion info:
- Mantis ID: 20296
- OS: Windows
- OS Build: XP sp2
- Build: 18901
- Platform: i386
- Version: 2.7.1