Hey guys, I cloned the latest source via github (4.7.2-release) and followed a tutorial to build it on linux (ubuntu 14.04, Nvidia 346.47 driver). That part worked out well.
Fired it up, it compiled shaders, and started going through tutorials. Somewhere along the way the editor locked up and I can’t launch it any longer. Could you help me figure out what is going on here?
I think I may have messed up a dependency somehow. I did recompile overnight, but that didn’t help. I am not sure what to do next.
Terminal output of where it goes bad:
Assertion failed: false [File:/home//UnrealEngine/Engine/Source/Runtime/OpenGLDrv/Private/Linux/OpenGLLinux.cpp] [Line: 800]
Unable to dynamically load libGL: ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������湯
.
[2015.03.05-01.51.23:235] 0]LogLinux:Error: appError called: Assertion failed: Assertion failed: false [File:/home//UnrealEngine/Engine/Source/Runtime/OpenGLDrv/Private/Linux/OpenGLLinux.cpp] [Line: 800]
Unable to dynamically load libGL: ???湯
.
Signal 11 caught.
EngineCrashHandler: Signal=11
[2015.03.05-01.51.23:339] 0]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to access memory at address 0x00000003
[2015.03.05-01.51.23:339] 0]LogLinux: Assertion failed: Assertion failed: false [File:/home//UnrealEngine/Engine/Source/Runtime/OpenGLDrv/Private/Linux/OpenGLLinux.cpp] [Line: 800]
Unable to dynamically load libGL: ???湯
.
fanatic
(fanatic)
March 5, 2015, 10:31am
2
Hi
I’ve got the same problem.
My temporary solution is to set an environment variable like this.
export LD_PRELOAD=/usr/lib/nvidia/libGL.so
(the path to libGL.so should be your own)
cheers
You are the man! Turns out I needed to have had libGL.so in that same location as your is. I copied it to that folder and BOOM… launches :).
Not quite that easy I guess. I have to use your workaround each time I launch til its fixed. Thanks again for the help!
This is what the error message should read:
It isn’t that libGL.so.1 doesn’t exist or can’t be found. The LD_PRELOAD works because the library is loaded first, and thus doesn’t need to be loaded again.
See http://stackoverflow.com/questions/14892101/cannot-load-any-more-object-with-static-tls#15027494 for the reason why the error happens.
I have threading / memory issues as well. Using Arch Linux.
[2016.01.02-15.11.02:983] 0]LogInit:Display: Running engine for game: Demo2
[2016.01.02-15.11.02:983] 0]LogPlatformFile: Not using cached read wrapper
[2016.01.02-15.11.02:983] 0]LogInit:Display: RandInit(1014451956) SRandInit(1014451966).
[2016.01.02-15.11.02:983] 0]LogTaskGraph: Started task graph with 4 named threads and 7 total threads.
[2016.01.02-15.11.02:983] 0]LogStats: Stats thread started at 0.035696
[2016.01.02-15.11.02:983] 0]LogInit: Version: 4.10.2-0+++depot+UE4-Releases+4.10
[2016.01.02-15.11.02:983] 0]LogInit: API Version: 0
[2016.01.02-15.11.02:983] 0]LogInit: Compiled (64-bit): Jan 2 2016 14:05:53
[2016.01.02-15.11.02:983] 0]LogInit: Compiled with Clang: 3.6.2 (tags/RELEASE_362/final)
[2016.01.02-15.11.02:983] 0]LogInit: Build Configuration: Development
[2016.01.02-15.11.02:983] 0]LogInit: Branch Name: ++depot+UE4-Releases+4.10
[2016.01.02-15.11.02:983] 0]LogInit: Command line:
[2016.01.02-15.11.02:983] 0]LogInit: Base directory: /mnt/data/UnrealEngine/Engine/Binaries/Linux/
[2016.01.02-15.11.02:983] 0]LogInit: Rocket: 0
[2016.01.02-15.11.02:993] 0]LogInit: Using libcurl 7.38.0
[2016.01.02-15.11.02:993] 0]LogInit: - built for x86_64-unknown-linux-gnu
[2016.01.02-15.11.02:993] 0]LogInit: - supports SSL with OpenSSL/1.0.1i
[2016.01.02-15.11.02:993] 0]LogInit: - supports HTTP deflate (compression) using libz 1.2.5
[2016.01.02-15.11.02:993] 0]LogInit: - other features:
[2016.01.02-15.11.02:993] 0]LogInit: CURL_VERSION_SSL
[2016.01.02-15.11.02:994] 0]LogInit: CURL_VERSION_LIBZ
[2016.01.02-15.11.02:994] 0]LogInit: CURL_VERSION_IPV6
[2016.01.02-15.11.02:994] 0]LogInit: CURL_VERSION_ASYNCHDNS
[2016.01.02-15.11.02:994] 0]LogInit: CURL_VERSION_LARGEFILE
[2016.01.02-15.11.02:994] 0]LogInit: CURL_VERSION_TLSAUTH_SRP
[2016.01.02-15.11.02:994] 0]LogInit: Libcurl: checking if ‘/etc/pki/tls/certs/ca-bundle.crt’ exists
[2016.01.02-15.11.02:994] 0]LogInit: Libcurl: checking if ‘/etc/ssl/certs/ca-certificates.crt’ exists
[2016.01.02-15.11.02:994] 0]LogInit: CurlRequestOptions (configurable via config and command line):
[2016.01.02-15.11.02:994] 0]LogInit: - bVerifyPeer = true - Libcurl will verify peer certificate
[2016.01.02-15.11.02:994] 0]LogInit: - bUseHttpProxy = false - Libcurl will NOT use HTTP proxy
[2016.01.02-15.11.02:994] 0]LogInit: - bDontReuseConnections = false - Libcurl will reuse connections
[2016.01.02-15.11.02:994] 0]LogInit: - CertBundlePath = /etc/ssl/certs/ca-certificates.crt - Libcurl will set CURLOPT_CAINFO to it
[2016.01.02-15.11.03:523] 0]LogInit: Presizing for 0 objects not considered by GC, pre-allocating 0 bytes.
[2016.01.02-15.11.03:536] 0]LogInit: Object subsystem initialized
[2016.01.02-15.11.03:537] 0]LogInit: Initializing SDL.
[2016.01.02-15.11.03:922] 0]LogInit: Initialized SDL 2.0.4 (compiled against 2.0.4)
[2016.01.02-15.11.03:923] 0]LogInit: Display metrics:
[2016.01.02-15.11.03:923] 0]LogInit: PrimaryDisplayWidth: 1920
[2016.01.02-15.11.03:923] 0]LogInit: PrimaryDisplayHeight: 1080
[2016.01.02-15.11.03:923] 0]LogInit: PrimaryDisplayWorkAreaRect:
[2016.01.02-15.11.03:923] 0]LogInit: Left=0, Top=0, Right=1920, Bottom=1055
[2016.01.02-15.11.03:923] 0]LogInit: VirtualDisplayRect:
[2016.01.02-15.11.03:923] 0]LogInit: Left=0, Top=0, Right=1920, Bottom=1055
[2016.01.02-15.11.03:923] 0]LogInit: TitleSafePaddingSize: X=0.000 Y=0.000
[2016.01.02-15.11.03:923] 0]LogInit: ActionSafePaddingSize: X=0.000 Y=0.000
[2016.01.02-15.11.03:923] 0]LogInit: Number of monitors: 1
[2016.01.02-15.11.03:923] 0]LogInit: Monitor 0
[2016.01.02-15.11.03:923] 0]LogInit: Name: SyncMaster 24"
[2016.01.02-15.11.03:923] 0]LogInit: ID: display0
[2016.01.02-15.11.03:923] 0]LogInit: NativeWidth: 1920
[2016.01.02-15.11.03:923] 0]LogInit: NativeHeight: 1080
[2016.01.02-15.11.03:923] 0]LogInit: bIsPrimary: true
[2016.01.02-15.11.03:923] 0]LogLinux: Selected Device Profile: [Linux]
[2016.01.02-15.11.03:923] 0]LogInit: Applying CVar settings loaded from the selected device profile: [Linux]
[2016.01.02-15.11.03:943] 0]LogInit: Linux hardware info:
[2016.01.02-15.11.03:943] 0]LogInit: - this process’ id (pid) is 7654, parent process’ id (ppid) is 782
[2016.01.02-15.11.03:943] 0]LogInit: - we are not running under debugger
[2016.01.02-15.11.03:943] 0]LogInit: - machine network name is ‘melroy-pc’
[2016.01.02-15.11.03:943] 0]LogInit: - we’re logged in locally
[2016.01.02-15.11.03:943] 0]LogInit: - Number of physical cores available for the process: 4
[2016.01.02-15.11.03:943] 0]LogInit: - Number of logical cores available for the process: 8
[2016.01.02-15.11.03:943] 0]LogInit: - Cache line size: 64
[2016.01.02-15.11.03:943] 0]LogInit: - Memory allocator used: binned
[2016.01.02-15.11.03:943] 0]LogInit: Linux-specific commandline switches:
[2016.01.02-15.11.03:943] 0]LogInit: -nodwarf (currently OFF): suppress parsing of DWARF debug info (callstacks will be generated faster, but won’t have line numbers)
[2016.01.02-15.11.03:943] 0]LogInit: -ansimalloc - use malloc()/free() from libc (useful for tools like valgrind and electric fence)
[2016.01.02-15.11.03:943] 0]LogInit: -jemalloc - use jemalloc for all memory allocation
[2016.01.02-15.11.03:943] 0]LogInit: -binnedmalloc - use binned malloc for all memory allocation
[2016.01.02-15.11.03:943] 0]LogInit: -httpproxy=ADDRESS:PORT - redirects HTTP requests to a proxy (only supported if compiled with libcurl)
[2016.01.02-15.11.03:943] 0]LogInit: -reuseconn - allow libcurl to reuse HTTP connections (only matters if compiled with libcurl)
[2016.01.02-15.11.03:943] 0]LogInit: -virtmemkb=NUMBER - sets process virtual memory (address space) limit (overrides VirtualMemoryLimitInKB value from .ini)
[2016.01.02-15.11.03:943] 0]LogInit: Setting LC_NUMERIC to en_US
[2016.01.02-15.11.03:943] 0]LogInit: - Physical RAM available (not considering process quota): 6 GB (5962 MB, 6105980 KB, 6252523520 bytes)
[2016.01.02-15.11.03:949] 0]LogTextLocalizationManager: No translations for (‘nl-NL’) exist, falling back to ‘en’ for localization and internationalization data.
Signal 11 caught.
EngineCrashHandler: Signal=11
[2016.01.02-15.11.04:830] 0]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to access memory at address 0x00000008
[2016.01.02-15.11.04:830] 0]LogLinux: Fatal error!
[Callstack] 03 0x00000000004359cb EngineCrashHandler(FGenericCrashContext const&) [/mnt/data/UnrealEngine/Engine/Source/Runtime/Launch/Private/Linux/LaunchLinux.cpp, line 31]
[Callstack] 04 0x00007f1ff127ff91 PlatformCrashHandler(int, siginfo_t*, void*)
[Callstack] 05 0x00007f1ff1daed60 /usr/lib/libpthread.so.0(+0x10d60) [0x7f1ff1daed60]
[Callstack] 06 0x00007f1ff1606910 /mnt/data/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Core.so(+0x593910) [0x7f1ff1606910]
[Callstack] 07 0x00007f1ff15c3cda /mnt/data/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Core.so(+0x550cda) [0x7f1ff15c3cda]
[Callstack] 08 0x00007f1ff15c4a18 /mnt/data/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Core.so(+0x551a18) [0x7f1ff15c4a18]
[Callstack] 09 0x00007f1ff1589997 /mnt/data/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Core.so(+0x516997) [0x7f1ff1589997]
[Callstack] 10 0x00007f1ff1589fed /mnt/data/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Core.so(+0x516fed) [0x7f1ff1589fed]
[Callstack] 11 0x00007f1ff12cfb78 /mnt/data/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Core.so(+0x25cb78) [0x7f1ff12cfb78]
[Callstack] 12 0x00007f1ff15ad88b /mnt/data/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Core.so(+0x53a88b) [0x7f1ff15ad88b]
[Callstack] 13 0x00007f1ff15c8b09 /mnt/data/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Core.so(+0x555b09) [0x7f1ff15c8b09]
[Callstack] 14 0x00007f1ff1da54a4 /usr/lib/libpthread.so.0(+0x74a4) [0x7f1ff1da54a4]
[Callstack] 15 0x00007f1fe5ba413d /usr/lib/libc.so.6(clone+0x6d) [0x7f1fe5ba413d]