Description

This is an early trending Linux crash in 4.18, but also occurred in 4.17. It seems to occur before a project loads.

Callstack from Log

[2017.10.26-01.39.08:606][  0]LogVulkanRHI: Display: - Found global layer VK_LAYER_VALVE_steam_overlay_64
[2017.10.26-01.39.08:606][  0]LogVulkanRHI: Display: - Found global layer VK_LAYER_VALVE_steam_overlay_32
[2017.10.26-01.39.08:606][  0]LogHMD: Failed to initialize OpenVR with code 110
[2017.10.26-01.39.08:606][  0]LogVulkanRHI: Display: Using instance extensions
[2017.10.26-01.39.08:606][  0]LogVulkanRHI: Display: * VK_KHR_surface
[2017.10.26-01.39.08:606][  0]LogVulkanRHI: Display: * VK_KHR_xlib_surface
[2017.10.26-01.39.15:316][  0]LogVulkanRHI: Error: Result failed, VkResult=-7
 at /media/***/***/program/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanRHI.cpp:550 
 with error VK_ERROR_EXTENSION_NOT_PRESENT
[2017.10.26-01.39.15:373][  0]LogLinux: Error: appError called: Assertion failed:  [File:/media/***/***/program/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanUtil.cpp] [Line: 358] 
Result failed, VkResult=-7
 at /media/***/***/program/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanRHI.cpp:550 
 with error VK_ERROR_EXTENSION_NOT_PRESENT

[2017.10.26-01.39.15:406][  0]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to write memory at address 0x0000000000000003

[2017.10.26-01.39.15:406][  0]LogLinux: Assertion failed:  [File:/media/***/***/program/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanUtil.cpp] [Line: 358] 
Result failed, VkResult=-7
 at /media/***/***/program/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanRHI.cpp:550 
 with error VK_ERROR_EXTENSION_NOT_PRESENT

0x00007fe8184c5a0f FLinuxPlatformStackWalk::CaptureStackBackTrace(unsigned long long*, unsigned int, void*)
0x00007fe81836db95 FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*)
0x00007fe818470121 FLinuxCrashContext::CaptureStackTrace()
0x00007fe80d223350 CommonLinuxCrashHandler(FGenericCrashContext const&)
0x00007fe818472061 PlatformCrashHandler(int, siginfo_t*, void*)
0x00007fe81e13a150 /lib/x86_64-linux-gnu/libpthread.so.0(+0x13150) [0x7fe81e13a150]
0x00007fe818365b73 FGenericPlatformMisc::RaiseException(unsigned int)
0x00007fe811a3e83c FLinuxErrorOutputDevice::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&)
0x00007fe818575e4c FOutputDevice::Logf(wchar_t const*, ...)
0x00007fe81850e378 FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...)
0x00007fe73a848eda VulkanRHI::VerifyVulkanResult(VkResult, char const*, char const*, unsigned int)
0x00007fe73a88c443 FVulkanDynamicRHI::CreateInstance()
0x00007fe73a88a21f FVulkanDynamicRHI::InitInstance()
0x00007fe73a88a0e1 FVulkanDynamicRHI::Init()
0x00007fe812145ca9 RHIInit(bool)
0x0000000000419e08 FEngineLoop::PreInit(wchar_t const*) [/media/***/***/program/UnrealEngine/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp:1751]
0x000000000042a018 GuardedMain(wchar_t const*) [/media/***/***/program/UnrealEngine/Engine/Source/Runtime/Launch/Private/Launch.cpp:42]
0x00007fe80d223fd9 CommonLinuxMain(int, char**, int (*)(wchar_t const*))
0x00007fe80cc5a1c1 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7fe80cc5a1c1]
0x0000000000416a2a ./UE4Editor(_start+0x2a) [0x416a2a]
Steps to Reproduce

1. Open a terminal in the Engine/Binaries/Linux folder
2. Enter "./UE4Editor -vulkan" into the terminal

RESULT:
The editor crashes when running with -vulkan

Callstack
Unknown!PlatformCrashHandler()
Unknown!/lib/x86_64-linux-gnu/libpthread.so.0() [0x7fe81e13a:50]
Unknown!VulkanRHI::VerifyVulkanResult()
Unknown!FVulkanDynamicRHI::CreateInstance()
Unknown!FVulkanDynamicRHI::InitInstance()
Unknown!FVulkanDynamicRHI::Init()
Unknown!RHIInit()
./UE4Editor!FEngineLoop::PreInit() [LaunchEngineLoop.cpp:1751]
./UE4Editor!GuardedMain() [Launch.cpp:42]
Unknown!CommonLinuxMain()
Unknown!/lib/x86_64-linux-gnu/libc.so.6() [0x7fe80cc5a1c:0]
Unknown!./UE4Editor() [0x416a2a:0]

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-51718 in the post.

0
Login to Vote

Cannot Reproduce
ComponentUE - Platform - Linux
Affects Versions4.174.18
Target Fix4.19
CreatedOct 27, 2017
ResolvedJan 10, 2018
UpdatedApr 27, 2018
View Jira Issue