Description

This is a trending crash coming out of the 4.17.0 release. The same callstack also occurred during the 4.11 release, but otherwise hasn't had an occurrence until now. Users have not provided any descriptions of their actions when the crash occurred.

Source Context

882       const FNameEntry* FName::GetComparisonNameEntry() const
  883       {
  884       	TNameEntryArray& Names = GetNames();
  885       	const NAME_INDEX Index = GetComparisonIndex();
  886       	return Names[Index];
  887       }
  888       
  889       const FNameEntry* FName::GetDisplayNameEntry() const
  890       {
  891       	TNameEntryArray& Names = GetNames();
  892       	const NAME_INDEX Index = GetDisplayIndex();
  893 ***** 	return Names[Index];
  894       }
  895       
  896       FString FName::ToString() const
  897       {
  898       	if (GetNumber() == NAME_NO_NUMBER_INTERNAL)
  899       	{
  900       		// Avoids some extra allocations in non-number case
  901       		return GetDisplayNameEntry()->GetPlainNameString();
  902       	}
  903       	
  904       	FString Out;	
  905       	ToString(Out);
  906       	return Out;
  907       }
Steps to Reproduce

repro steps currently unknown

Callstack
Assertion failed: IsValidIndex(Index) [File:D:\Build\++UE4+Release-4.17+Compile\Sync\Engine\Source\Runtime\Core\Public\UObject/NameTypes.h] [Line: 356] IsValidIndex(-572662307)

UE4Editor_Core!FName::GetDisplayNameEntry() [unrealnames.cpp:894]
UE4Editor_Core!FName::ToString() [unrealnames.cpp:916]
UE4Editor_Core!FName::ToString() [unrealnames.cpp:907]
UE4Editor_Core!FStatsThreadState::ProcessNonFrameStats() [statsdata.cpp:833]
UE4Editor_Core!FStatsThreadState::AddToHistoryAndEmpty() [statsdata.cpp:921]
UE4Editor_Core!FStatsThread::Tick() [stats2.cpp:936]
UE4Editor_Core!FStatsThread::StatMessage() [stats2.cpp:963]
UE4Editor_Core!TGraphTask<FStatMessagesTask>::ExecuteTask() [taskgraphinterfaces.h:784]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [taskgraph.cpp:650]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [taskgraph.cpp:559]
UE4Editor_Core!FStatsThread::Run() [stats2.cpp:865]
UE4Editor_Core!FRunnableThreadWin::Run() [windowsrunnablethread.cpp:76]

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Foundation - Core
Affects Versions4.114.17
Target Fix4.17.2
Fix Commit3585003
Main Commit3620189
CreatedAug 14, 2017
ResolvedAug 16, 2017
UpdatedApr 27, 2018
View Jira Issue