UE4Editor will launch successfully using integrated intel graphics. The editor will crash on startup if called using the optimus nvidia chip via bumblebee.
with optirun, it begins the startup but quickly throws a fatal error: " Unhandled Exception: SIGSEGV: invalid attempt to access memory at address 0x00000000"
with primusrun, the graphical system crashes without any logging.
Bumblebee (both optirun and primusrun) is otherwise functioning perfectly. System is openSuSE Leap 42.1 x86_64 with kernel 4.1.21-14. Bumblebee is 3.2.1-23.1 with nvidia 361.42-2.1. Intel driver is 2.99.917-12.1.
Log and diagnostic file attached. Console output:
~/UnrealEngine/Engine/Binaries/Linux> optirun ./UE4Editor
Using jemalloc.
Increasing per-process limit of core file size to infinity.
LogInit:Display: Running engine without a game
LogPlatformFile: Not using cached read wrapper
LogInit:Display: RandInit(-1554622173) SRandInit(-1554622164).
LogTaskGraph: Started task graph with 4 named threads and 5 total threads.
LogStats: Stats thread started at 4.184056
LogInit: Version: 4.11.2-0+UE4
LogInit: API Version: 0
LogInit: Compiled (64-bit): May 20 2016 11:39:49
LogInit: Compiled with Clang: 3.7.0 (tags/RELEASE_370/final 246586)
LogInit: Build Configuration: Development
LogInit: Branch Name: UE4
LogInit: Command line:
LogInit: Base directory: /home/*******/UnrealEngine/Engine/Binaries/Linux/
LogInit: Installed Engine Build: 0
Signal 11 caught.
EngineCrashHandler: Signal=11
LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to access memory at address 0x00000000
LogLinux: Fatal error!
[Callstack] 03 0x00007f7b21113760 CommonLinuxCrashHandler(FGenericCrashContext const&)
[Callstack] 04 0x00007f7b2c64dc58 PlatformCrashHandler(int, siginfo_t*, void*)
[Callstack] 05 0x00007f7b200cc120 /lib64/libc.so.6(+0x35120) [0x7f7b200cc120]
[Callstack] 06 0x00007f7b20126aba /lib64/libc.so.6(+0x8faba) [0x7f7b20126aba]
[Callstack] 07 0x00007f7b1ee41529 /lib64/libcrypto.so.1.0.0(+0xee529) [0x7f7b1ee41529]
[Callstack] 08 0x00007f7b1ee41802 /lib64/libcrypto.so.1.0.0(lh_insert+0x42) [0x7f7b1ee41802]
[Callstack] 09 0x00007f7b1edbfd5a /lib64/libcrypto.so.1.0.0(OBJ_NAME_add+0x6a) [0x7f7b1edbfd5a]
[Callstack] 10 0x00007f7b0fd891c2 libUE4Editor-HTTP.so(+0x1001c2) [0x7f7b0fd891c2]
[Callstack] 11 0x00007f7b0fd88b5e libUE4Editor-HTTP.so(+0xffb5e) [0x7f7b0fd88b5e]
[Callstack] 12 0x00007f7b0fd68033 libUE4Editor-HTTP.so(+0xdf033) [0x7f7b0fd68033]
[Callstack] 13 0x00007f7b0fd3d91e libUE4Editor-HTTP.so(+0xb491e) [0x7f7b0fd3d91e]
[Callstack] 14 0x00007f7b0fd2d590 FCurlHttpManager::InitCurl()
[Callstack] 15 0x00007f7b0fd311d1 FHttpModule::StartupModule()
[Callstack] 16 0x00007f7b2c74d16e FModuleManager::LoadModuleWithFailureReason(FName, EModuleLoadResult&, bool)
[Callstack] 17 0x00007f7b2c74bd45 FModuleManager::LoadModule(FName, bool)
[Callstack] 18 0x0000000000432c66 FEngineLoop::AppInit()
[Callstack] 19 0x0000000000417009 FEngineLoop::PreInit(wchar_t const*)
[Callstack] 20 0x000000000042b52f GuardedMain(wchar_t const*)
[Callstack] 21 0x00007f7b2111428f CommonLinuxMain(int, char**, int (*)(wchar_t const*))
[Callstack] 22 0x00007f7b200b8b05 /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f7b200b8b05]
[Callstack] 23 0x00000000004143f7 ./UE4Editor() [0x4143f7]
Starting ../../../Engine/Binaries/Linux/CrashReportClient
LogHAL: FLinuxPlatformProcess::CreateProc: '/home/*****/UnrealEngine/Engine/Binaries/Linux/CrashReportClient /home/*****/UnrealEngine/Engine/Binaries/Linux/crashinfo--pid-11232-0004C7C930060F0100370381A3AF3E0D/'
LogHAL: FLinuxPlatformProcess::CreateProc: spawned child 11249
Using jemalloc.
LogModuleManager:Warning: ModuleManager: Module 'PakFile' not found - its StaticallyLinkedModuleInitializers function is null.
LogPlatformFile: Not using cached read wrapper
LogModuleManager:Warning: ModuleManager: Module 'SandboxFile' not found - its StaticallyLinkedModuleInitializers function is null.
LogInit:Display: RandInit(-1548359665) SRandInit(-1548359661).
LogTaskGraph: Started task graph with 3 named threads and 4 total threads.
LogInit: Version: 4.11.2-0+UE4
LogInit: API Version: 0
LogInit: Compiled (64-bit): May 20 2016 09:33:20
LogInit: Compiled with Clang: 3.7.0 (tags/RELEASE_370/final 246586)
LogInit: Build Configuration: Shipping
LogInit: Branch Name: UE4
LogInit: Command line: /home/******/UnrealEngine/Engine/Binaries/Linux/crashinfo--pid-11232-0004C7C930060F0100370381A3AF3E0D/
LogInit: Base directory: /home/******/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
[2016.06.01-20.55.49:678][ 0]LogInit: Linux hardware info:
[2016.06.01-20.55.49:678][ 0]LogInit: - we are the first instance of this executable
[2016.06.01-20.55.49:678][ 0]LogInit: - this process' id (pid) is 11249, parent process' id (ppid) is 11232
[2016.06.01-20.55.49:678][ 0]LogInit: - we are not running under debugger
[2016.06.01-20.55.49:678][ 0]LogInit: - machine network name is '*****'
[2016.06.01-20.55.49:678][ 0]LogInit: - user name is '*****' (*****)
[2016.06.01-20.55.49:678][ 0]LogInit: - we're logged in locally
[2016.06.01-20.55.49:678][ 0]LogInit: - Number of physical cores available for the process: 2
[2016.06.01-20.55.49:678][ 0]LogInit: - Number of logical cores available for the process: 4
[2016.06.01-20.55.49:678][ 0]LogInit: - Cache line size: 64
[2016.06.01-20.55.49:678][ 0]LogInit: - Memory allocator used: jemalloc
[2016.06.01-20.55.49:678][ 0]LogInit: Linux-specific commandline switches:
[2016.06.01-20.55.49:678][ 0]LogInit: -nodwarf (currently OFF): suppress parsing of DWARF debug info (callstacks will be generated faster, but won't have line numbers)
[2016.06.01-20.55.49:678][ 0]LogInit: -ansimalloc - use malloc()/free() from libc (useful for tools like valgrind and electric fence)
[2016.06.01-20.55.49:678][ 0]LogInit: -jemalloc - use jemalloc for all memory allocation
[2016.06.01-20.55.49:678][ 0]LogInit: -binnedmalloc - use binned malloc for all memory allocation
[2016.06.01-20.55.49:679][ 0]LogInit: -httpproxy=ADDRESS:PORT - redirects HTTP requests to a proxy (only supported if compiled with libcurl)
[2016.06.01-20.55.49:679][ 0]LogInit: -reuseconn - allow libcurl to reuse HTTP connections (only matters if compiled with libcurl)
[2016.06.01-20.55.49:679][ 0]LogInit: -virtmemkb=NUMBER - sets process virtual memory (address space) limit (overrides VirtualMemoryLimitInKB value from .ini)
[2016.06.01-20.55.49:679][ 0]LogInit: - Physical RAM available (not considering process quota): 8 GB (7875 MB, 8064924 KB, 8258482176 bytes)
[2016.06.01-20.55.49:688][ 0]LogTextLocalizationManager: No translations for ('') exist, falling back to 'en' for localization and internationalization data.
[2016.06.01-20.55.49:688][ 0]CrashReportClientLog: CrashReportReceiverIP: http://crashreporter.epicgames.com:57005
[2016.06.01-20.55.49:688][ 0]CrashReportClientLog: DataRouterUrl: https://datarouter-public-service-prod06.ol.epicgames.com/datarouter/api/v1/public/data
[2016.06.01-20.55.49:694][ 0]CrashReportClientLog: Initial state = Unknown UploadState value
[2016.06.01-20.55.49:730][ 0]LogInit: Using libcurl 7.46.0
[2016.06.01-20.55.49:730][ 0]LogInit: - built for x86_64-pc-linux-gnu
[2016.06.01-20.55.49:730][ 0]LogInit: - supports SSL with OpenSSL/1.0.2d
[2016.06.01-20.55.49:730][ 0]LogInit: - supports HTTP deflate (compression) using libz 1.2.5
[2016.06.01-20.55.49:730][ 0]LogInit: - other features:
[2016.06.01-20.55.49:730][ 0]LogInit: CURL_VERSION_SSL
[2016.06.01-20.55.49:730][ 0]LogInit: CURL_VERSION_LIBZ
[2016.06.01-20.55.49:730][ 0]LogInit: CURL_VERSION_IPV6
[2016.06.01-20.55.49:730][ 0]LogInit: CURL_VERSION_ASYNCHDNS
[2016.06.01-20.55.49:730][ 0]LogInit: CURL_VERSION_LARGEFILE
[2016.06.01-20.55.49:730][ 0]LogInit: CURL_VERSION_TLSAUTH_SRP
[2016.06.01-20.55.49:730][ 0]LogInit: Libcurl: checking if '/etc/pki/tls/certs/ca-bundle.crt' exists
[2016.06.01-20.55.49:731][ 0]LogInit: Libcurl: checking if '/etc/ssl/certs/ca-certificates.crt' exists
[2016.06.01-20.55.49:746][ 0]LogInit: Libcurl: checking if '/etc/ssl/ca-bundle.pem' exists
[2016.06.01-20.55.49:747][ 0]LogInit: CurlRequestOptions (configurable via config and command line):
[2016.06.01-20.55.49:747][ 0]LogInit: - bVerifyPeer = true - Libcurl will verify peer certificate
[2016.06.01-20.55.49:747][ 0]LogInit: - bUseHttpProxy = false - Libcurl will NOT use HTTP proxy
[2016.06.01-20.55.49:747][ 0]LogInit: - bDontReuseConnections = false - Libcurl will reuse connections
[2016.06.01-20.55.49:747][ 0]LogInit: - CertBundlePath = /etc/ssl/ca-bundle.pem - Libcurl will set CURLOPT_CAINFO to it
[2016.06.01-20.55.49:747][ 0]CrashReportClientLog: Sending HTTP request: http://crashreporter.epicgames.com:57005/CrashReporter/Ping
[2016.06.01-20.55.49:747][ 0]CrashReportClientLog: Initial state = Unknown UploadState value
[2016.06.01-20.55.49:747][ 0]LogCrashDebugHelper: DepotName: UE4
[2016.06.01-20.55.49:747][ 0]LogCrashDebugHelper: BuiltFromCL: 0
[2016.06.01-20.55.49:747][ 0]LogCrashDebugHelper: EngineVersion: 4.11.2-0+UE4
[2016.06.01-20.55.49:747][ 0]LogCrashDebugHelper:Warning: CrashDebugHelperConfig invalid
[2016.06.01-20.55.49:747][ 0]LogCrashDebugHelper:Warning: PDB Cache disabled
[2016.06.01-20.55.49:975][ 0]CrashReportClientLog: OnProcessRequestComplete(), State=PingingServer bSucceeded=1
[2016.06.01-20.55.49:975][ 0]CrashReportClientLog: State change from PingingServer to Ready
[2016.06.01-20.55.50:800][ 0]CrashReportClientLog: Got 4 pending files to upload from 'crashinfo--pid-11232-0004C7C930060F0100370381A3AF3E0D'
[2016.06.01-20.55.50:800][ 0]CrashReportClientLog: State change from Ready to CheckingReport
[2016.06.01-20.55.50:800][ 0]CrashReportClientLog: Sending HTTP request: http://crashreporter.epicgames.com:57005/CrashReporter/CheckReport
[2016.06.01-20.55.50:800][ 0]CrashReportClientLog: PostData Num: 53
[2016.06.01-20.55.50:867][ 0]CrashReportClientLog: OnProcessRequestComplete(), State=CheckingReport bSucceeded=1
[2016.06.01-20.55.50:867][ 0]CrashReportClientLog: Response->GetContentAsString(): '<CrashReporterResult bSuccess="true" ID="0" Message="" />'
[2016.06.01-20.55.50:867][ 0]CrashReportClientLog: ResultNode->GetAttribute(TEXT("bSuccess")) = true
[2016.06.01-20.55.50:867][ 0]CrashReportClientLog: State change from CheckingReport to CheckingReportDetail
[2016.06.01-20.55.50:867][ 0]CrashReportClientLog: Sending HTTP request: http://crashreporter.epicgames.com:57005/CrashReporter/CheckReportDetail
[2016.06.01-20.55.50:867][ 0]CrashReportClientLog: PostData Num: 1505
[2016.06.01-20.55.50:967][ 0]CrashReportClientLog: OnProcessRequestComplete(), State=CheckingReportDetail bSucceeded=1
[2016.06.01-20.55.50:967][ 0]CrashReportClientLog: Response->GetContentAsString(): '<CrashReporterResult bSuccess="true" ID="0" Message="" />'
[2016.06.01-20.55.50:967][ 0]CrashReportClientLog: ResultNode->GetAttribute(TEXT("bSuccess")) = true
[2016.06.01-20.55.50:967][ 0]CrashReportClientLog: State change from CheckingReportDetail to SendingFiles
[2016.06.01-20.55.50:967][ 0]CrashReportClientLog: CompressAndSendData have 4 pending files
[2016.06.01-20.55.50:967][ 0]CrashReportClientLog: CompressAndSendData compressing 1804 bytes ('/home/******/UnrealEngine/Engine/Binaries/Linux/crashinfo--pid-11232-0004C7C930060F0100370381A3AF3E0D/diagnostics.txt')
[2016.06.01-20.55.50:969][ 0]CrashReportClientLog: CompressAndSendData compressing 1505 bytes ('/home/******/UnrealEngine/Engine/Binaries/Linux/crashinfo--pid-11232-0004C7C930060F0100370381A3AF3E0D/wermeta.xml')
[2016.06.01-20.55.50:969][ 0]CrashReportClientLog: CompressAndSendData compressing 4 bytes ('/home/******/UnrealEngine/Engine/Binaries/Linux/crashinfo--pid-11232-0004C7C930060F0100370381A3AF3E0D/minidump.dmp')
[2016.06.01-20.55.50:969][ 0]CrashReportClientLog: CompressAndSendData compressing 2576 bytes ('/home/******/UnrealEngine/Engine/Binaries/Linux/crashinfo--pid-11232-0004C7C930060F0100370381A3AF3E0D/UE4.log')
[2016.06.01-20.55.50:970][ 0]CrashReportClientLog: Sending HTTP request: http://crashreporter.epicgames.com:57005/CrashReporter/UploadReportFile
LogGenericPlatformMisc: FPlatformMisc::RequestExit(1)
******@******:~/UnrealEngine/Engine/Binaries/Linux>
******@******:~/UnrealEngine/Engine/Binaries/Linux> [2016.06.01-20.58.50:970][ 0]LogHttp:Warning: Timeout processing Http request. 0x7f18258b5600
[2016.06.01-20.58.50:970][ 0]CrashReportClientLog: OnProcessRequestComplete(), State=SendingFiles bSucceeded=0
[2016.06.01-20.58.50:970][ 0]CrashReportClientLog:Warning: File upload failed to receiver
[2016.06.01-20.58.50:970][ 0]CrashReportClientLog: State change from SendingFiles to Cancelled
[2016.06.01-20.58.51:371][ 0]CrashReportClientLog: Got 4 pending files to upload from 'crashinfo--pid-11232-0004C7C930060F0100370381A3AF3E0D'
[2016.06.01-20.58.51:371][ 0]CrashReportClientLog: State change from Ready to SendingFiles
[2016.06.01-20.58.51:371][ 0]CrashReportClientLog: CompressAndSendData have 4 pending files
[2016.06.01-20.58.51:372][ 0]CrashReportClientLog: CompressAndSendData compressing 1804 bytes ('/home/******/UnrealEngine/Engine/Binaries/Linux/crashinfo--pid-11232-0004C7C930060F0100370381A3AF3E0D/diagnostics.txt')
[2016.06.01-20.58.51:372][ 0]CrashReportClientLog: CompressAndSendData compressing 1505 bytes ('/home/******/UnrealEngine/Engine/Binaries/Linux/crashinfo--pid-11232-0004C7C930060F0100370381A3AF3E0D/wermeta.xml')
[2016.06.01-20.58.51:372][ 0]CrashReportClientLog: CompressAndSendData compressing 4 bytes ('/home/******/UnrealEngine/Engine/Binaries/Linux/crashinfo--pid-11232-0004C7C930060F0100370381A3AF3E0D/minidump.dmp')
[2016.06.01-20.58.51:372][ 0]CrashReportClientLog: CompressAndSendData compressing 2576 bytes ('/home/******/UnrealEngine/Engine/Binaries/Linux/crashinfo--pid-11232-0004C7C930060F0100370381A3AF3E0D/UE4.log')
[2016.06.01-20.58.51:372][ 0]CrashReportClientLog: Sending HTTP request: https://datarouter-public-service-prod06.ol.epicgames.com/datarouter/api/v1/public/data?AppID=CrashReporter&AppVersion=4.11.2-0%2BUE4&AppEnvironment=Release&UploadType=crashreports&UserID=0003aa1633050a040035037d12783147%7C%7C89c660865c00403a9bacef32b6828556
[2016.06.01-20.58.51:739][ 0]CrashReportClientLog: OnProcessRequestComplete(), State=SendingFiles bSucceeded=1
[2016.06.01-20.58.51:739][ 0]CrashReportClientLog: State change from SendingFiles to SendingFiles
[2016.06.01-20.58.51:739][ 0]CrashReportClientLog: All uploads done
[2016.06.01-20.58.51:739][ 0]CrashReportClientLog: State change from SendingFiles to Finished
[2016.06.01-20.58.52:375][ 0]LogGenericPlatformMisc: FPlatformMisc::RequestExit(0)
[2016.06.01-20.58.52:408][ 0]CrashReportClientLog: Final state (Receiver) = Finished
[2016.06.01-20.58.52:408][ 0]CrashReportClientLog: Final state (Receiver) = Cancelled
[2016.06.01-20.58.52:408][ 0]LogExit: Preparing to exit.
[2016.06.01-20.58.52:408][ 0]LogObj: Freed 0b from 0 cluster array pools.
[2016.06.01-20.58.52:409][ 0]LogExit: Object subsystem successfully closed.
[2016.06.01-20.58.52:411][ 0]LogExit: Exiting.