Description

This was occurring when I quit via the Quit button in the Main Menu GUI. I also repro'd this using the "Quit" command in the console.

I found this on Linux, but this was repro'd on Mac and Windows by other testers.

Attaching logs for all three platforms and the backtrace while GDB was attached to the game on Linux. (Callstack field is from GDB)

Steps to Reproduce

Setup:

  • In the Epic Games Launcher, download create a 4.17 version of the PlatformerGame sample
  • Open PlatformerGame in the editor.
  • Set the packaging build configuration to development
  • File > Package Project > Win64.

Repro:

  • Copy the packaged PlatformerGame from the Networkshare listed in the comments:
  • Open the packaged project
  • In the Main Menu, click the "Quit" button.

Result:
Game hangs/freezes then crashes.

Expected:
Game exits gracefully.

Frequency:
100%

Callstack
Thread 1 "PlatformerGame" received signal SIGTRAP, Trace/breakpoint trap.
0x00007fee61ae1269 in raise (sig=5) at ../sysdeps/unix/sysv/linux/pt-raise.c:35
35	../sysdeps/unix/sysv/linux/pt-raise.c: No such file or directory.
(gdb) bt
#0  0x00007fee61ae1269 in raise (sig=5) at ../sysdeps/unix/sysv/linux/pt-raise.c:35
#1  0x00000000023a216c in FLinuxPlatformMisc::DebugBreak () at D:\GitHub_Release-4.17\3554843\Engine\Source\Runtime\Core\Public\Linux/LinuxPlatformMisc.h:42
#2  TSharedPtr<FPlatformerMainMenu, (ESPMode)0>::operator-> (this=<optimized out>) at D:\GitHub_Release-4.17\3554843\Engine\Source\Runtime\Core\Public\Templates/SharedPointer.h:835
#3  APlatformerPlayerController_Menu::EndPlay (this=0x7fee0b7188f0, EndPlayReason=<optimized out>) at D:\PlatformerGame\Source\PlatformerGame\Private\Player/PlatformerPlayerController_Menu.cpp:22
#4  0x000000000431631c in AActor::RouteEndPlay (this=0x7fee0b7188f0, EndPlayReason=EEndPlayReason::Destroyed) at D:\GitHub_Release-4.17\3554843\Engine\Source\Runtime\Engine\Private/Actor.cpp:1946
#5  AActor::Destroyed (this=0x7fee0b7188f0) at D:\GitHub_Release-4.17\3554843\Engine\Source\Runtime\Engine\Private/Actor.cpp:2029
#6  0x000000000496e751 in UWorld::DestroyActor (this=0x7fee0a45c040, ThisActor=0x7fee0b7188f0, bNetForce=<optimized out>, bShouldModifyLevel=true)
    at D:\GitHub_Release-4.17\3554843\Engine\Source\Runtime\Engine\Private/LevelActor.cpp:568
#7  0x000000000430fef1 in AActor::Destroy (this=0x7fee0b7188f0, bNetForce=false, bShouldModifyLevel=true) at D:\GitHub_Release-4.17\3554843\Engine\Source\Runtime\Engine\Private/Actor.cpp:3585
#8  0x000000000482e60c in UGameInstance::RemoveLocalPlayer (this=0x7fee0bcd0900, ExistingPlayer=0x7fee0a2a4800) at D:\GitHub_Release-4.17\3554843\Engine\Source\Runtime\Engine\Private/GameInstance.cpp:594
#9  0x000000000482e559 in UGameInstance::Shutdown (this=<optimized out>) at D:\GitHub_Release-4.17\3554843\Engine\Source\Runtime\Engine\Private/GameInstance.cpp:127
#10 0x00000000047fea2e in UGameEngine::PreExit (this=<optimized out>) at D:\GitHub_Release-4.17\3554843\Engine\Source\Runtime\Engine\Private/GameEngine.cpp:680
#11 0x0000000002388796 in FEngineLoop::Exit (this=<optimized out>) at D:\GitHub_Release-4.17\3554843\Engine\Source\Runtime\Launch\Private/LaunchEngineLoop.cpp:2784
#12 0x0000000002388bf4 in EngineExit () at D:\GitHub_Release-4.17\3554843\Engine\Source\Runtime\Launch\Private/Launch.cpp:73
#13 GuardedMain(wchar_t const*)::EngineLoopCleanupGuard::~EngineLoopCleanupGuard() (this=<optimized out>) at D:\GitHub_Release-4.17\3554843\Engine\Source\Runtime\Launch\Private/Launch.cpp:107
#14 GuardedMain (CmdLine=<optimized out>) at D:\GitHub_Release-4.17\3554843\Engine\Source\Runtime\Launch\Private/Launch.cpp:178
#15 0x0000000005738c89 in CommonLinuxMain (argc=<optimized out>, argv=<optimized out>, RealMain=<optimized out>)
    at D:\GitHub_Release-4.17\3554843\Engine\Source\Runtime\Linux\LinuxCommonStartup\Private/LinuxCommonStartup.cpp:236
#16 0x00007fee60b81830 in __libc_start_main (main=0x238e7f0 <main(int, char**)>, argc=2, argv=0x7ffc015dd3a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc015dd398)
    at ../csu/libc-start.c:291
#17 0x000000000237ab6e in _start ()

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-47779 in the post.

0
Login to Vote

Fixed
ComponentGameplay
Affects Versions4.17
Target Fix4.17
Fix Commit3560422
Main Commit3596628
Release Commit3560422
CreatedJul 27, 2017
ResolvedJul 28, 2017
UpdatedApr 27, 2018