Unreal 4.27 crashes on launch on Linux

Hi,

Last time i used Unreal was a few months ago (I think around February). I tried launching Unreal again today, having made no changes to it myself, and the editor launches, and almost instantly crashes. I’m on Linux, with the Nvidia 555 beta driver, so maybe it has something to do with that, because looking at the logs, it seems like the editor is trying to access memory it doesn’t have access to and throws some errors about some VulkanRHI calls it can’t find.

If anyone knows how to fix this, please let me know. I’ve got the most up to date drivers installed and restarting my pc doesn’t fix it either. I also tried a fresh pull from git and running the setup steps again, but it gave me the same issues.

I can’t upload attachments because i’m a new user, so for now i’ll add a snippet of the error it throws:

[2024.07.02-19.52.14:904][  0]LogContentStreaming: Texture pool size now 1000 MB
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554
CommonUnixCrashHandler: Signal=11
Malloc Size=55034 LargeMemoryPoolOffset=120618
Malloc Size=102422 LargeMemoryPoolOffset=223062
Malloc Size=55034 LargeMemoryPoolOffset=278122
Malloc Size=102602 LargeMemoryPoolOffset=380746
[2024.07.02-19.52.17:559][126]LogCore: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to read memory at address 0x0000000000000000

[2024.07.02-19.52.17:560][126]LogCore: Fatal error!

0x000076500d008ae7 libnvidia-glcore.so.555.58!UnknownFunction(0xa08ae7)
0x000076500d3e7649 libnvidia-glcore.so.555.58!UnknownFunction(0xde7648)
0x000076500d3fed60 libnvidia-glcore.so.555.58!UnknownFunction(0xdfed5f)
0x000076500d33b3be libnvidia-glcore.so.555.58!UnknownFunction(0xd3b3bd)
0x0000765033564beb libUE4Editor-VulkanRHI.so!VulkanRHI::FFenceManager::WaitForFence(VulkanRHI::FFence*, unsigned long long) [/home/beau/UnrealEngine4/Engine/Source/Runtime/VulkanRHI/Private/VulkanMemory.cpp:4780]
0x00007650335bef5c libUE4Editor-VulkanRHI.so!FVulkanSwapChain::AcquireImageIndex(VulkanRHI::FSemaphore**) [/home/beau/UnrealEngine4/Engine/Source/Runtime/VulkanRHI/Private/VulkanSwapChain.cpp:715]
0x00007650335b0469 libUE4Editor-VulkanRHI.so!FVulkanViewport::Present(FVulkanCommandListContext*, FVulkanCmdBuffer*, FVulkanQueue*, FVulkanQueue*, bool) [/home/beau/UnrealEngine4/Engine/Source/Runtime/VulkanRHI/Private/VulkanViewport.cpp:826]
0x00007650335af85b libUE4Editor-VulkanRHI.so!FVulkanCommandListContext::RHIEndDrawingViewport(FRHIViewport*, bool, bool) [/home/beau/UnrealEngine4/Engine/Source/Runtime/VulkanRHI/Private/VulkanRHI.cpp:926]
0x00007650783bf2d5 libUE4Editor-RHI.so!FRHICommand<FRHICommandEndDrawingViewport, FRHICommandEndDrawingViewportString1884>::ExecuteAndDestruct(FRHICommandListBase&, FRHICommandListDebugContext&) [/home/beau/UnrealEngine4/Engine/Source/Runtime/RHI/Public/RHICommandList.h:765]
0x000076507834c500 libUE4Editor-RHI.so!FRHICommandListExecutor::ExecuteInner_DoExecute(FRHICommandListBase&) [/home/beau/UnrealEngine4/Engine/Source/Runtime/RHI/Private/RHICommandList.cpp:372]
0x00007650783d21ec libUE4Editor-RHI.so!FExecuteRHIThreadTask::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&) [/home/beau/UnrealEngine4/Engine/Source/Runtime/RHI/Private/RHICommandList.cpp:427]
0x00007650783d1773 libUE4Editor-RHI.so!TGraphTask<FExecuteRHIThreadTask>::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type) [/home/beau/UnrealEngine4/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h:886]
0x000076507ddaa89b libUE4Editor-Core.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [/home/beau/UnrealEngine4/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:710]
0x000076507dda8d7e libUE4Editor-Core.so!FNamedTaskThread::ProcessTasksUntilQuit(int) [/home/beau/UnrealEngine4/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:601]
0x0000765078596a03 libUE4Editor-RenderCore.so!FRHIThread::Run() [/home/beau/UnrealEngine4/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp:319]
0x000076507de7f097 libUE4Editor-Core.so!FRunnableThreadPThread::Run() [/home/beau/UnrealEngine4/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:25]
0x000076507de3b993 libUE4Editor-Core.so!FRunnableThreadPThread::_ThreadProc(void*) [/home/beau/UnrealEngine4/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.h:185]
0x0000765074ca6ded libc.so.6!UnknownFunction(0x92dec)
0x0000765074d2a0dc libc.so.6!UnknownFunction(0x1160db)

[2024.07.02-19.52.17:570][126]LogExit: Executing StaticShutdownAfterError
Malloc Size=108502 LargeMemoryPoolOffset=489270
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
1 Like

Have the same issue, like many others, as stated in this discussion: 555 release feedback & discussion - #103 by vladstelmahovsky - Linux - NVIDIA Developer Forums

I rollbacked my drivers to 550.90.07 which have some issues too, but no crash with Unreal

Unfortunately, rolling back is not an option for me. I’m on wayland, and not planning on moving back to X11 and the fixes that are in the 555 driver are a must for me to be able to do all the things i need on my pc properly. Let’s hope nvidia fixes their drivers soon so the 555 driver is usable for unreal development again

What OS are you using, and is it within a docker container? I am using Ubuntu 22.04 with CUDA 12.4.0 and Driver Version: 550.54.15 with UE4.27.2 and it crashes within the container