Description

Checking the box for Dedicated Server in the Play dropdown menu causes the editor to crash when exiting PIE. This does not occur in 4.13 or 4.14 on Windows.

Steps to Reproduce
  1. Open UE4Editor (any project)
  2. Expand dropdown next to Play button and check the box for Run Dedicated Server
  3. PIE
  4. Press Stop to Exit PIE

Result:
Editor crashes on exit

Expected: PIE exits and control returns to editor

Callstack
[2016.10.25-17.39.50:247][515]--- End jemalloc statistics ---
[2016.10.25-17.39.50:272][515]LogAIModule: Creating AISystem for world ThirdPersonExampleMap
[2016.10.25-17.39.50:287][515]LogWorld: Bringing World /Game/ThirdPersonBP/Maps/UEDPIE_2_ThirdPersonExampleMap.ThirdPersonExampleMap up for play (max tick rate 0) at 2016.10.25-13.39.50
[2016.10.25-17.39.50:288][515]LogWorld: Bringing up level for play took: 0.014295
[2016.10.25-17.39.50:289][515]LogLoad: Took 0.080245 seconds to LoadMap(/Game/ThirdPersonBP/Maps/UEDPIE_1_ThirdPersonExampleMap)
[2016.10.25-17.39.50:308][516]LogNet: Client netspeed is 10000
[2016.10.25-17.39.50:308][516]LogNet: Join request: /Game/ThirdPersonBP/Maps/ThirdPersonExampleMap?SplitscreenCount=1
[2016.10.25-17.39.50:326][516]LogNet: Join succeeded: 256
[2016.10.25-17.39.50:782][556]LogBlueprintUserMessages: Early EndPlayMap Detection: Level '/Game/ThirdPersonBP/Maps/ThirdPersonExampleMap.ThirdPersonExampleMap:PersistentLevel' has LevelScriptBlueprint '/Game/ThirdPersonBP/Maps/ThirdPersonExampleMap.ThirdPersonExampleMap:PersistentLevel.ThirdPersonExampleMap' with GeneratedClass '/Game/ThirdPersonBP/Maps/ThirdPersonExampleMap.ThirdPersonExampleMap_C' with ClassGeneratedBy '/Game/ThirdPersonBP/Maps/ThirdPersonExampleMap.ThirdPersonExampleMap:PersistentLevel.ThirdPersonExampleMap'
[2016.10.25-17.39.50:854][556]LogBlueprintUserMessages: Late EndPlayMap Detection: Level '/Game/ThirdPersonBP/Maps/ThirdPersonExampleMap.ThirdPersonExampleMap:PersistentLevel' has LevelScriptBlueprint '/Game/ThirdPersonBP/Maps/ThirdPersonExampleMap.ThirdPersonExampleMap:PersistentLevel.ThirdPersonExampleMap' with GeneratedClass '/Game/ThirdPersonBP/Maps/ThirdPersonExampleMap.ThirdPersonExampleMap_C' with ClassGeneratedBy '/Game/ThirdPersonBP/Maps/ThirdPersonExampleMap.ThirdPersonExampleMap:PersistentLevel.ThirdPersonExampleMap'
[2016.10.25-17.39.50:871][556]LogNet: UChannel::CleanUp: ChIndex == 0. Closing connection. [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 127.0.0.1:49831, Name: IpConnection_1, Driver: GameNetDriver IpNetDriver_0, IsServer: YES, PC: None, Owner: None
[2016.10.25-17.39.50:872][556]LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr: 127.0.0.1:49831, Name: IpConnection_1, Driver: GameNetDriver IpNetDriver_0, IsServer: YES, PC: None, Owner: None, Channels: 2, Time: 2016.10.25-17.39.50
[2016.10.25-17.39.50:872][556]LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 127.0.0.1:49831, Name: IpConnection_1, Driver: GameNetDriver IpNetDriver_0, IsServer: YES, PC: None, Owner: None
[2016.10.25-17.39.50:872][556]LogNet: UChannel::CleanUp: ChIndex == 0. Closing connection. [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 127.0.0.1:7777, Name: IpConnection_0, Driver: GameNetDriver IpNetDriver_1, IsServer: NO, PC: None, Owner: None
[2016.10.25-17.39.50:872][556]LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr: 127.0.0.1:7777, Name: IpConnection_0, Driver: GameNetDriver IpNetDriver_1, IsServer: NO, PC: None, Owner: None, Channels: 2, Time: 2016.10.25-17.39.50
[2016.10.25-17.39.50:872][556]LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 127.0.0.1:7777, Name: IpConnection_0, Driver: GameNetDriver IpNetDriver_1, IsServer: NO, PC: None, Owner: None
[2016.10.25-17.39.50:873][556]LogALAudio: Closing ALAudio device : OpenAL Soft
Signal 11 caught.
Malloc Size=131076 LargeMemoryPoolOffset=131092 
CommonLinuxCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=196655 
[2016.10.25-17.39.51:060][556]LogCrashTracker: 


[2016.10.25-17.39.51:060][556]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to read memory at address 0x0000000000000020

[2016.10.25-17.39.51:060][556]LogLinux: Fatal error!

[Callstack]  00  0x00007fd23c42ac5f  FLinuxPlatformStackWalk::CaptureStackBackTrace(unsigned long long*, unsigned int, void*)
[Callstack]  01  0x00007fd23c32e375  FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*)
[Callstack]  02  0x00007fd23c4127a1  FLinuxCrashContext::CaptureStackTrace()
[Callstack]  03  0x00007fd2326bc1f0  CommonLinuxCrashHandler(FGenericCrashContext const&)
[Callstack]  04  0x00007fd23c4171b5  PlatformCrashHandler(int, siginfo_t*, void*)
[Callstack]  05  0x00007fd23d0cf3d0  /lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0) [0x7fd23d0cf3d0]
[Callstack]  06  0x00007fd22e999e9e  UCrowdManager::BeginDestroy()
[Callstack]  07  0x00007fd23bc85c77  UObject::ConditionalBeginDestroy()
[Callstack]  08  0x00007fd23bc08286  CollectGarbageInternal(EObjectFlags, bool)
[Callstack]  09  0x00007fd23bc08e07  CollectGarbage(EObjectFlags, bool)
[Callstack]  10  0x00007fd233f1c286  UEditorEngine::EndPlayMap()
[Callstack]  11  0x00007fd2339f414a  UEditorEngine::Tick(float, bool)
[Callstack]  12  0x00007fd234227919  UUnrealEdEngine::Tick(float, bool)
[Callstack]  13  0x000000000041ec70  FEngineLoop::Tick() [Runtime/Core/Public/Stats/Stats2.h, line 1673]
[Callstack]  14  0x000000000042311a  GuardedMain(wchar_t const*) [/home/doug/Documents/github/4.14_SalamanderDrake/Engine/Source/Runtime/Launch/Private/Launch.cpp, line 152]
[Callstack]  15  0x00007fd2326bd08c  CommonLinuxMain(int, char**, int (*)(wchar_t const*))
[Callstack]  16  0x00007fd231a63830  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fd231a63830]
[Callstack]  17  0x0000000000413819  /home/doug/Documents/github/4.14_SalamanderDrake/Engine/Binaries/Linux/UE4Editor(_start+0x29) [0x413819]

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

1
Login to Vote

Fixed
ComponentUE - Platform - Linux
Affects Versions4.13.14.14
Target Fix4.18.1
CreatedOct 25, 2016
ResolvedOct 27, 2017
UpdatedApr 27, 2018
View Jira Issue