Description

When playing in non-single player game in the editor (either set # players or check dedicated server checkbox), the editor will crash when the play session ends.

Regression:
Yes - editor does not crash on exit in 4.12.5

Working CL - 3039270
Broken CL - 3106830

Steps to Reproduce
  1. Open UE4 Editor on Linux
  2. In Play Dropdown, set number of players to 2
  3. PIE
  4. Exit PIE

Result:
Editor immediately crashes on exit

Expected:
Play session ends and editor returns to edit mode.

Callstack
[2016.10.03-19.08.00:190][773]LogNet: Client netspeed is 10000
[2016.10.03-19.08.00:190][773]LogNet: Join request: /Engine/Maps/Entry?SplitscreenCount=1
[2016.10.03-19.08.00:193][773]LogNet: Join succeeded: 257
Signal 11 caught.
Malloc Size=131076 LargeMemoryPoolOffset=131092 
CommonLinuxCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=196655 
[2016.10.03-19.08.09:100][273]LogCrashTracker: 


[2016.10.03-19.08.09:101][273]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to access memory at address 0xf88b9650

[2016.10.03-19.08.09:101][273]LogLinux: Fatal error!

[Callstack]  00  0x00007f112ae5025f  FLinuxPlatformStackWalk::CaptureStackBackTrace(unsigned long long*, unsigned int, void*)
[Callstack]  01  0x00007f112ad2d395  FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*)
[Callstack]  02  0x00007f112ae0ec81  FLinuxCrashContext::CaptureStackTrace()
[Callstack]  03  0x00007f112002f3a0  CommonLinuxCrashHandler(FGenericCrashContext const&)
[Callstack]  04  0x00007f112ae134f4  PlatformCrashHandler(int, siginfo_t*, void*)
[Callstack]  05  0x00007f112bc9b3d0  /lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0) [0x7f112bc9b3d0]
[Callstack]  06  0x00007f112a7b3be7  TSet<UObjectBase*, DefaultKeyFuncs<UObjectBase*, false>, FDefaultSetAllocator>::Remove(UObjectBase*)
[Callstack]  07  0x00007f112a7a28f5  UnhashObject(UObjectBase*)
[Callstack]  08  0x00007f112a751b93  UObjectBase::LowLevelRename(FName, UObject*)
[Callstack]  09  0x00007f112a693f95  UObject::BeginDestroy()
[Callstack]  10  0x00007f112a6a0137  UObject::ConditionalBeginDestroy()
[Callstack]  11  0x00007f112a61f273  CollectGarbageInternal(EObjectFlags, bool)
[Callstack]  12  0x00007f112a61fcf7  CollectGarbage(EObjectFlags, bool)
[Callstack]  13  0x00007f1121842bb6  UEditorEngine::EndPlayMap()
[Callstack]  14  0x00007f112134b272  UEditorEngine::Tick(float, bool)
[Callstack]  15  0x00007f1121bc0250  UUnrealEdEngine::Tick(float, bool)
[Callstack]  16  0x0000000000420dba  FEngineLoop::Tick() [Runtime/Core/Public/Stats/Stats2.h, line 1673]
[Callstack]  17  0x00000000004256fa  GuardedMain(wchar_t const*) [/home/doug/Documents/github/4.13.1/Engine/Source/Runtime/Launch/Private/Launch.cpp, line 156]
[Callstack]  18  0x00007f112002fd1b  CommonLinuxMain(int, char**, int (*)(wchar_t const*))
[Callstack]  19  0x00007f111f54d830  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f111f54d830]
[Callstack]  20  0x0000000000413869  /home/doug/Documents/github/4.13.1/Engine/Binaries/Linux/UE4Editor(_start+0x29) [0x413869]

Have Comments or More Details?

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

1
Login to Vote

Cannot Reproduce
ComponentUE - Platform - Linux
Affects Versions4.134.13.1
CreatedOct 3, 2016
ResolvedMay 17, 2018
UpdatedMay 25, 2018
View Jira Issue