Handling SIGTERM can deadlock because RequestExit() can log stuff. If we happen to be in the malloc at that time of receiving the signal this is going to deadlock the process. In general, we should only use signal safe POSIX functions in handlers.
Not easy to reproduce but things to check for:
1) Start UE4
2) Press Ctrl+C in the terminal after it's up
3) Check that RequestExitWithStatus prints but is not part of a UE_LOG output
4) Wait until the end and check that RequestExitWithStatus prints in the UE_LOG with an exit code
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
UMG RichText not appear image when packaged
How to delete some elements correctly when deleting an array loop?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-36663 in the post.
0 |
Component | UE - Platform - Linux |
---|---|
Target Fix | 4.20 |
Created | Sep 30, 2016 |
---|---|
Resolved | May 30, 2018 |
Updated | Nov 7, 2018 |