# Linux server crashes occasionally inside FlushAsyncLoading 

**URL:** <https://forums.unrealengine.com/t/linux-server-crashes-occasionally-inside-flushasyncloading/2734987>\
**Category:** Pipeline & Plugins\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [May 30, 2026, 1:18pm UTC](https://forums.unrealengine.com/t/linux-server-crashes-occasionally-inside-flushasyncloading/2734987 "2026-05-30T13:18:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [May 30, 2026, 1:18pm UTC](https://forums.unrealengine.com/t/linux-server-crashes-occasionally-inside-flushasyncloading/2734987/1 "2026-05-30T13:18:37Z")

</div>

We have game servers started by GameLift on instances running Amazon Linux and sometimes they crash with the mentioned callstack.

There’s no reliable repro but it happens quite often and I see the crashed process log followed by a normal launch as GameLift starts the game server process once again after it crashes.

The game instance class calls UAssetManager::Get().LoadPrimaryAssets(), verifies the resulting stream handle is valid and calls StreamHandle-\>WaitUntilComplete() (RLHGameInstance.cpp:886 in the callstack).

Is this something known with a fix we could cherry-pick from a more recent engine branch?

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [May 30, 2026, 1:18pm UTC](https://forums.unrealengine.com/t/linux-server-crashes-occasionally-inside-flushasyncloading/2734987/2 "2026-05-30T13:18:41Z")

</div>

**Steps to Reproduce** [Attachment Removed]

---

<div class="post-metadata">

**Author:** ![Svegn2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/svegn2/32/1225280_2.png) [@Svegn2](https://forums.unrealengine.com/u/Svegn2)\
**Post date:** [June 8, 2026, 2:41pm UTC](https://forums.unrealengine.com/t/linux-server-crashes-occasionally-inside-flushasyncloading/2734987/3 "2026-06-08T14:41:40Z")

</div>

Hello!

The crash is happening while FAsyncLoadingThread2::FlushLoading is dumping the state of the in flight packages. This is following the code timing out (see GStallDetectorTimeout). There is likely a deadlock going on or another threading issue. Can you share the state of all the threads?

Martin

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![Svegn2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/svegn2/32/1225280_2.png) [@Svegn2](https://forums.unrealengine.com/u/Svegn2)\
**Post date:** [June 9, 2026, 8:26pm UTC](https://forums.unrealengine.com/t/linux-server-crashes-occasionally-inside-flushasyncloading/2734987/4 "2026-06-09T20:26:11Z")

</div>

Hello,

I’m not familiar with the Gamelift platform. You will have to reach out to Amazon to get some help here. I’m assuming they have some some crash reporting that would contain that information.

Martin

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![step\_jac\_eg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@step\_jac\_eg](https://forums.unrealengine.com/u/step_jac_eg)\
**Post date:** [June 11, 2026, 9:38pm UTC](https://forums.unrealengine.com/t/linux-server-crashes-occasionally-inside-flushasyncloading/2734987/5 "2026-06-11T21:38:50Z")

</div>

Hi Roman,

It is possible to get the CrashReporter to generate a mini dump.

To do so, you can add:

```auto
[CrashReportClient]
 bAgreeToCrashUpload=true

```

to $UProjectPath/Config/Linux/LinuxEngine.ini.

Upon crash, this should yield a CrashContext.runtime-xml file under $HOME/.config/Epic/$ProjectName/Saved/Crashes/crashin\*/ folder. If you can share this file once reproduced, this would be helpful in further diagnosing the issue.

Best regards.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [June 8, 2026, 3:31pm UTC](https://forums.unrealengine.com/t/linux-server-crashes-occasionally-inside-flushasyncloading/2734987/6 "2026-06-08T15:31:11Z")

</div>

Hello Martin,

I’d be happy but can you please advise me on how to do that on a GameLift instance running Amazon Linux? I only see the crashes post-factum when checking rotated logs downloaded from a terminated game session.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [June 11, 2026, 4:16am UTC](https://forums.unrealengine.com/t/linux-server-crashes-occasionally-inside-flushasyncloading/2734987/7 "2026-06-11T04:16:14Z")

</div>

What is the process for a plain Linux environment? How do I capture the state of all threads when the engine crashes in FAsyncLoadingThread2::FlushLoading() while booting?

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [June 12, 2026, 7:18am UTC](https://forums.unrealengine.com/t/linux-server-crashes-occasionally-inside-flushasyncloading/2734987/8 "2026-06-12T07:18:50Z")

</div>

Hi Stéphane!

I’ll try that, thanks!

[Attachment Removed]
