Description

This is a trending crash coming out of the 4.18 release, and may be a regression. Users have not provided any descriptions of their actions when the crash occurred.

Source Context

  347       static TSharedPtr< FWindowsWindow > FindWindowByHWND(const TArray< TSharedRef< FWindowsWindow > >& WindowsToSearch, HWND HandleToFind)
  348       {
  349       	for (int32 WindowIndex = 0; WindowIndex < WindowsToSearch.Num(); ++WindowIndex)
  350       	{
  351       		TSharedRef< FWindowsWindow > Window = WindowsToSearch[WindowIndex];
  352       		if (Window->GetHWnd() == HandleToFind)
  353       		{
  354       			return Window;
  355       		}
  356 ***** 	}
  357       
  358       	return TSharedPtr< FWindowsWindow >(nullptr);
  359       }
Steps to Reproduce

repro steps currently unknown

Callstack
Access violation - code c0000005 (first/second chance not available)

UE4Editor_ApplicationCore!FindWindowByHWND() [windowsapplication.cpp:357]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:729]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [windowsapplication.cpp:725]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [windowsplatformapplicationmisc.cpp:129]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3220]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-51929 in the post.

4
Login to Vote

Cannot Reproduce
ComponentTools
Affects Versions4.18
CreatedNov 2, 2017
ResolvedNov 3, 2020
UpdatedDec 9, 2020
View Jira Issue