Download

pdb file generated, but crash doesn't have line numbers

Hey guys,

I’m having an issue with not being able to properly debug crashes. I tried generating both debug and development builds, with include debug files on, but when there’s a crash there’s a callstack but no line numbers.

I’m using 4.24.2, have both source files and debug symbols installed. I tried deleting all Intermediate / Saved, rebuilding, but the result is always the same. Looks like this on log (forcing a crash with debug crash for simplicity):


[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff87102a859 KERNELBASE.dll!UnknownFunction ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6aa857c16 TP.exe!ReportAssert() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6aa85b518 TP.exe!FWindowsErrorOutputDevice::Serialize() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6aa631edd TP.exe!FOutputDevice::LogfImpl() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6ad6c58fd TP.exe!UEngine::PerformError() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6ad6a18e1 TP.exe!UEngine::HandleDebugCommand() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6ad697206 TP.exe!UEngine::Exec() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6acdfba31 TP.exe!UGameEngine::Exec() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6ace48356 TP.exe!UGameViewportClient::Exec() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6acfd7052 TP.exe!ULocalPlayer::Exec() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6ad2bf9fc TP.exe!UPlayer::ConsoleCommand() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6ad2bf7aa TP.exe!APlayerController::ConsoleCommand() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6ad6fd150 TP.exe!UConsole::ConsoleCommand() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6ad72b0bb TP.exe!UConsole::InputKey_InputLine() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6ad72a6a1 TP.exe!UConsole::InputKey() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6ace5a698 TP.exe!UGameViewportClient::InputKey() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6ad504b27 TP.exe!FSceneViewport::OnKeyUp() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6aaf040ca TP.exe!SViewport::OnKeyUp() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6aad0af63 TP.exe!FLogTrace::OutputLogMessage<int,bool>() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6aad5db25 TP.exe!FSlateApplication::ProcessKeyUpEvent() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6aad53c41 TP.exe!FSlateApplication::OnKeyUp() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6aabddf10 TP.exe!FWindowsApplication::ProcessDeferredMessage() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6aabcc0c4 TP.exe!FWindowsApplication::DeferMessage() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6aabe0483 TP.exe!FWindowsApplication::ProcessMessage() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6aabc8a39 TP.exe!FWindowsApplication::AppWndProc() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff871a55c0d USER32.dll!UnknownFunction ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff871a55602 USER32.dll!UnknownFunction ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6aabe189b TP.exe!FWindowsPlatformApplicationMisc::PumpMessages() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6a9bef090 TP.exe!FEngineLoop::Tick() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6a9c022dc TP.exe!GuardedMain() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6a9c0239a TP.exe!GuardedMainWrapper() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6a9c127cf TP.exe!WinMain() ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff6ae6a169e TP.exe!__scrt_common_main_seh() [d:\agent\_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff8729f7bd4 KERNEL32.DLL!UnknownFunction ]
[2020.03.31-08.44.42:621][276]LogWindows: Error: [Callstack] 0x00007ff87362ced1 ntdll.dll!UnknownFunction ]

and like this on VS:

When searching the web, I stumbled up this answer that says you need to compile with /Zi parameter, however all of this is handled internally by UE, and specially given that I’m not building the UE itself from scratch (ie installed via epic launcher) I don’t understand how this cannot be working.

To make it worse, I’m pretty sure that just a few weeks ago builds I made were generating them properly. I’m using VS 2019 (tried updating to latest just in case) and up to date Windows 10 64bit.

Does anybody know how this happens and how to fix it?

Regards,
Nuno Afonso