You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to dig into it and maybe my information helps you.
The function FindExeSection in the unit CustomLineInfo returns False on both calls in lines 211 and 212. Therefore the function GetLineInfo in the unit UStackTrace will not getting any information.
e.processaddress := ptruint(baseaddr) - e.processaddress;
StabsFunctionRelative := E.FunctionRelative;
if FindExeSection(e,'.stab',stabofs,stablen) and
FindExeSection(e,'.stabstr',stabstrofs,stabstrlen) then // both return false
begin
stabcnt:=stablen div sizeof(tstab);
OpenStabs:=true;
end
else
begin
CloseExeFile(e);
exit;
end;
end;
I found this bug after updated the OS to Windows 10 64 bit.
All line numbers set to 0, no procedure name at stack trace.
Related to FPC Bug 0034234: Lineinfo doesn't work because no stabs is generated
The text was updated successfully, but these errors were encountered: