Сбой Unreal Engine при запуске с Linux
Я выполнил все шаги для сборки Unreal Engine 4 в Linux (я нахожусь на Debian), но когда я запускаю программу, она запускается нормально, а затем неожиданно это выскакивает (и все останавливается):
[2019.04.09-09.00.26:419][ 0]LogCore: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to read memory at address 0x0000000000000010
[2019.04.09-09.00.26:419][ 0]LogCore: Fatal error!
0x00007f759f64ca4a libUE4Editor-ApplicationCore.so!OFFSCREEN_CreateWindow [/home/bschaefer/UnrealEngine/Engine/Source/ThirdParty/SDL2/SDL-gui-backend/src/video/offscreen/SDL_offscreenwindow.c:58]
0x00007f759f624f65 libUE4Editor-ApplicationCore.so!SDL_RecreateWindow [/home/bschaefer/UnrealEngine/Engine/Source/ThirdParty/SDL2/SDL-gui-backend/src/video/SDL_video.c:1669]
0x00007f759f5e8248 libUE4Editor-ApplicationCore.so!GL_CreateRenderer [/home/bschaefer/UnrealEngine/Engine/Source/ThirdParty/SDL2/SDL-gui-backend/src/render/opengl/SDL_render_gl.c:410]
0x00007f759f5df1e8 libUE4Editor-ApplicationCore.so!SDL_CreateRenderer_REAL [/home/bschaefer/UnrealEngine/Engine/Source/ThirdParty/SDL2/SDL-gui-backend/src/render/SDL_render.c:349]
0x00007f759f5bb653 libUE4Editor-ApplicationCore.so!FLinuxSplashState::InitSplashResources(FText const&, FString const&, FString const&) [/root/git_clones/UnrealEngine/Engine/Source/Runtime/ApplicationCore/Private/Linux/LinuxPlatformSplash.cpp:490]
0x00007f759f5bcca5 libUE4Editor-ApplicationCore.so!FLinuxPlatformSplash::Show() [/root/git_clones/UnrealEngine/Engine/Source/Runtime/ApplicationCore/Private/Linux/LinuxPlatformSplash.cpp:723]
0x0000000000234718 UE4Editor!FEngineLoop::PreInit(char16_t const*) [/root/git_clones/UnrealEngine/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp:1985]
0x0000000000249ab2 UE4Editor!GuardedMain(char16_t const*) [/root/git_clones/UnrealEngine/Engine/Source/Runtime/Launch/Private/Launch.cpp:129]
0x00007f759b2b9149 libUE4Editor-UnixCommonStartup.so!CommonUnixMain(int, char**, int (*)(char16_t const*)) [/root/git_clones/UnrealEngine/Engine/Source/Runtime/Unix/UnixCommonStartup/Private/UnixCommonStartup.cpp:243]
0x00007f759af7a09b libc.so.6!__libc_start_main(+0xea)
0x0000000000231029 UE4Editor!_start()
[2019.04.09-09.00.26:489][ 0]LogExit: Executing StaticShutdownAfterError
[2019.04.09-09.00.26:513][ 0]LogCore: Warning: Unable to statfs('/root/git_clones/UnrealEngine/Engine/Saved/Crashes/crashinfo--pid-16281-0004B2F108D6BCDA926B163E4DE4D360/UE4.log'): errno=2 (No such file or directory)
LogPakFile: Registered encryption key '00000000000000000000000000000000': 0 pak files mounted, 0 remain pending
LogPlatformFile: Not using cached read wrapper
LogTaskGraph: Started task graph with 4 named threads and 5 total threads with 1 sets of task threads.
LogICUInternationalization: ICU TimeZone Detection - Raw Offset: +1:00, Platform Override: ''
LogInit: Build: ++UE4+Release-4.22-CL-0
LogInit: Engine Version: 4.22.0-0+++UE4+Release-4.22
LogInit: Compatible Engine Version: 4.22.0-0+++UE4+Release-4.22
LogInit: Net CL: 0
LogInit: OS: GenericOSVersionLabel (GenericOSSubVersionLabel), CPU: AMD A9-9420 RADEON R5, 5 COMPUTE CORES 2C+3G , GPU: GenericGPUBrand
LogInit: Compiled (64-bit): Apr 8 2019 16:53:08
LogInit: Compiled with Clang: 7.0.1 (tags/RELEASE_701/final)
LogInit: Build Configuration: Shipping
LogInit: Branch Name: ++UE4+Release-4.22
LogInit: Command Line: -Abslog="/root/git_clones/UnrealEngine/Engine/Saved/Logs/UE4-CRC.log" -SkipPopup "/root/git_clones/UnrealEngine/Engine/Saved/Crashes/crashinfo--pid-16281-0004B2F108D6BCDA926B163E4DE4D360/"
LogInit: Base Directory: /root/git_clones/UnrealEngine/Engine/Binaries/Linux/
LogInit: Installed Engine Build: 1
LogInit: Presizing for max 100000 objects, including 0 objects not considered by GC, pre-allocating 0 bytes for permanent pool.
LogInit: Object subsystem initialized
LogConfig: Applying CVar settings from Section [ConsoleVariables] File [/home/play/.config/Epic/CrashReportClient/Saved/Config/Linux/Engine.ini]
[2019.04.09-09.00.27:778][ 0]LogInit: Unix hardware info:
[2019.04.09-09.00.27:778][ 0]LogInit: - we are the first instance of this executable
[2019.04.09-09.00.27:778][ 0]LogInit: - this process' id (pid) is 16321, parent process' id (ppid) is 16281
[2019.04.09-09.00.27:778][ 0]LogInit: - we are not running under debugger
[2019.04.09-09.00.27:778][ 0]LogInit: - machine network name is 'kali'
[2019.04.09-09.00.27:779][ 0]LogInit: - user name is 'play' (play)
[2019.04.09-09.00.27:779][ 0]LogInit: - we're logged in locally
[2019.04.09-09.00.27:779][ 0]LogInit: - we're running with rendering
[2019.04.09-09.00.27:779][ 0]LogInit: - CPU: AuthenticAMD 'AMD A9-9420 RADEON R5, 5 COMPUTE CORES 2C+3G ' (signature: 0x670F00)
[2019.04.09-09.00.27:779][ 0]LogInit: - Number of physical cores available for the process: 2
[2019.04.09-09.00.27:779][ 0]LogInit: - Number of logical cores available for the process: 2
[2019.04.09-09.00.27:779][ 0]LogInit: - Cache line size: 64
[2019.04.09-09.00.27:779][ 0]LogInit: - Memory allocator used: binned2
[2019.04.09-09.00.27:779][ 0]LogInit: - This binary is optimized with LTO: no, PGO: no, instrumented for PGO data collection: no
[2019.04.09-09.00.27:779][ 0]LogCore: Skipped benchmarking clocks because the engine is running in a standalone program mode - CLOCK_MONOTONIC will be used.
[2019.04.09-09.00.27:779][ 0]LogInit: Unix-specific commandline switches:
[2019.04.09-09.00.27:779][ 0]LogInit: -ansimalloc - use malloc()/free() from libc (useful for tools like valgrind and electric fence)
[2019.04.09-09.00.27:779][ 0]LogInit: -jemalloc - use jemalloc for all memory allocation
[2019.04.09-09.00.27:779][ 0]LogInit: -binnedmalloc - use binned malloc for all memory allocation
[2019.04.09-09.00.27:779][ 0]LogInit: -filemapcachesize=NUMBER - set the size for case-sensitive file mapping cache
[2019.04.09-09.00.27:779][ 0]LogInit: -useksm - uses kernel same-page mapping (KSM) for mapped memory (OFF)
[2019.04.09-09.00.27:779][ 0]LogInit: -ksmmergeall - marks all mmap'd memory pages suitable for KSM (OFF)
[2019.04.09-09.00.27:779][ 0]LogInit: -preloadmodulesymbols - Loads the main module symbols file into memory (OFF)
[2019.04.09-09.00.27:779][ 0]LogInit: -sigdfl=SIGNAL - Allows a specific signal to be set to its default handler rather then ignoring the signal
[2019.04.09-09.00.27:779][ 0]LogInit: -httpproxy=ADDRESS:PORT - redirects HTTP requests to a proxy (only supported if compiled with libcurl)
[2019.04.09-09.00.27:779][ 0]LogInit: -reuseconn - allow libcurl to reuse HTTP connections (only matters if compiled with libcurl)
[2019.04.09-09.00.27:779][ 0]LogInit: -virtmemkb=NUMBER - sets process virtual memory (address space) limit (overrides VirtualMemoryLimitInKB value from .ini)
[2019.04.09-09.00.27:779][ 0]LogInit: - Physical RAM available (not considering process quota): 11 GB (11018 MB, 11282712 KB, 11553497088 bytes)
[2019.04.09-09.00.27:779][ 0]LogInit: - VirtualMemoryAllocator pools will grow at scale 1.4
[2019.04.09-09.00.27:779][ 0]LogInit: - MemoryRangeDecommit() will be a no-op (re-run with -vmapoolevict to change)
[2019.04.09-09.00.27:834][ 0]LogAssetRegistry: FAssetRegistry took 0.0000 seconds to start up
[2019.04.09-09.00.27:834][ 0]LogUObjectArray: 1050 objects as part of root set at end of initial load.
[2019.04.09-09.00.27:834][ 0]LogUObjectAllocator: 157600 out of 0 bytes used by permanent object pool.
[2019.04.09-09.00.27:834][ 0]LogUObjectArray: CloseDisregardForGC: 0/0 objects in disregard for GC pool
[2019.04.09-09.00.27:834][ 0]LogInit: Using OS detected language (fr-LU).
[2019.04.09-09.00.27:834][ 0]LogInit: Using OS detected locale (fr-LU).
[2019.04.09-09.00.27:835][ 0]LogTextLocalizationManager: No localization for 'fr-LU' exists, so 'en' will be used for the language.
[2019.04.09-09.00.27:835][ 0]LogTextLocalizationManager: No localization for 'fr-LU' exists, so 'en' will be used for the locale.
[2019.04.09-09.00.27:883][ 0]LogInit: Using OS detected language (fr-LU).
[2019.04.09-09.00.27:883][ 0]LogInit: Using OS detected locale (fr-LU).
[2019.04.09-09.00.27:883][ 0]LogTextLocalizationManager: No localization for 'fr-LU' exists, so 'en' will be used for the language.
[2019.04.09-09.00.27:883][ 0]LogTextLocalizationManager: No localization for 'fr-LU' exists, so 'en' will be used for the locale.
[2019.04.09-09.00.27:885][ 0]LogTextLocalizationManager: Compacting localization data took 1.82ms
[2019.04.09-09.00.27:885][ 0]LogPackageLocalizationCache: Processed 2 localized package path(s) for 1 prioritized culture(s) in 0.000087 seconds
[2019.04.09-09.00.27:885][ 0]CrashReportClientLog: CrashReportClientVersion=1.0
[2019.04.09-09.00.27:885][ 0]CrashReportClientLog: CrashReportReceiver disabled
[2019.04.09-09.00.27:886][ 0]CrashReportClientLog: DataRouterUrl: https://datarouter.ol.epicgames.com/datarouter/api/v1/public/data
[2019.04.09-09.00.27:889][ 0]LogInit: Initializing SDL.
No protocol specified
error: XDG_RUNTIME_DIR not set in the environment.
[2019.04.09-09.00.27:987][ 0]LogInit: Initialized SDL 2.0.8 revision: 11184 (hg-12121:4358e537000a with EpicExtensions) (compiled against 2.0.8)
[2019.04.09-09.00.27:987][ 0]LogInit: Using SDL video driver 'offscreen'
[2019.04.09-09.00.28:068][ 0]LogSlate: New Slate User Created. User Index 0, Is Virtual User: 0
[2019.04.09-09.00.28:068][ 0]LogSlate: Slate User Registered. User Index 0, Is Virtual User: 0
[2019.04.09-09.00.28:105][ 0]LogSlate: Using FreeType 2.6.0
[2019.04.09-09.00.28:141][ 0]LogSlate: SlateFontServices - WITH_FREETYPE: 1, WITH_HARFBUZZ: 0
[2019.04.09-09.00.28:141][ 0]LogInit: Using SDL_WINDOW_OPENGL
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554
CrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=131119
Malloc Size=32944 LargeMemoryPoolOffset=164080
[2019.04.09-09.00.28:381][ 0]LogCore: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to read memory at address 0x0000000000000010
[2019.04.09-09.00.28:381][ 0]LogCore: Fatal error!
0x0000000001773fe8 CrashReportClient!OFFSCREEN_CreateWindow [/home/bschaefer/UnrealEngine/Engine/Source/ThirdParty/SDL2/SDL-gui-backend/src/video/offscreen/SDL_offscreenwindow.c:58]
0x000000000174c75e CrashReportClient!SDL_CreateWindow_REAL [/home/bschaefer/UnrealEngine/Engine/Source/ThirdParty/SDL2/SDL-gui-backend/src/video/SDL_video.c:1533]
0x0000000001287daf CrashReportClient!FSlateOpenGLContext::Initialize(void*, FSlateOpenGLContext const*) [/root/git_clones/UnrealEngine/Engine/Source/Developer/StandaloneRenderer/Private/Linux/OpenGL/SlateOpenGLContext.cpp:192]
0x000000000128a821 CrashReportClient!FSlateOpenGLRenderer::Initialize() [/root/git_clones/UnrealEngine/Engine/Source/Developer/StandaloneRenderer/Private/OpenGL/SlateOpenGLRenderer.cpp:84]
0x0000000000fa29b9 CrashReportClient!FSlateApplication::InitializeRenderer(TSharedRef<FSlateRenderer, (ESPMode)0>, bool) [/root/git_clones/UnrealEngine/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp:1118]
0x000000000091d039 CrashReportClient!RunWithUI(FLinuxErrorReport) [/root/git_clones/UnrealEngine/Engine/Source/Programs/CrashReportClient/Private/CrashReportClientApp.cpp:208]
0x000000000091e434 CrashReportClient!RunCrashReportClient(char16_t const*) [/root/git_clones/UnrealEngine/Engine/Source/Programs/CrashReportClient/Private/CrashReportClientApp.cpp:358]
0x00000000009279e5 CrashReportClient!main [/root/git_clones/UnrealEngine/Engine/Source/Programs/CrashReportClient/Private/Linux/CrashReportClientMainLinux.cpp:67]
0x00007f1bab57209b libc.so.6!__libc_start_main(+0xea)
0x000000000090f029 CrashReportClient!_start()
[2019.04.09-09.00.28:435][ 0]LogExit: Executing StaticShutdownAfterError
[2019.04.09-09.00.28:435][ 0]LogCore: FUnixPlatformMisc::RequestExit(1)
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Erreur de segmentation
Я пробовал много решений проблем, которые были похожи на мои, но ни один не помог. Не могли бы вы мне помочь?
Извините за мой плохой английский, я французский;-)
никола