From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 92953] Segfault loading UT4 map/server
Date: Sat, 14 Nov 2015 20:15:37 +0000
Message-ID:
Bug ID
92953
Summary
Segfault loading UT4 map/server
Product
Mesa
Version
git
Hardware
x86-64 (AMD64)
OS
Linux (All)
Status
NEW
Severity
major
Priority
medium
Component
Drivers/Gallium/radeonsi
Assignee
dri-devel@lists.freedesktop.org
Reporter
bellamorte42@gmail.com
QA Contact
dri-devel@lists.freedesktop.org
After choosing a game to join a segmentation fault occurs on the loading screen
locking up my entire computer. Apitrace shows nothing except "Segmentation
fault (core dumped)"
I'm also getting the error message radeon: Ring 0 stalled xxxxxms radeon: Ring 3 stalled xxxxxms
Last bits of LD_DEBUG=all [2015.11.14-20.21.43:927][ 7]LogLoad: LoadMap: 54.176.182.226//Game/RestrictedAssets/Maps/UT-Entry?Hat=?Character=?Eyewear=?HatVar=0?EyewearVar=0?Team=1?Name=Player?VersionCheck=1?Taunt=/Game/RestrictedAssets/Blueprints/Taunts/Taunt_PelvicThrust.Taunt_PelvicThrust_C?Taunt2=/Game/RestrictedAssets/Blueprints/Taunts/Taunt_NoNo.Taunt_NoNo_C?SpectatorOnly=0?LeaderHat=?Rank=1478?game=/Script/UnrealTournament.UTLobbyGameMode [2015.11.14-20.21.43:927][ 7]UT: Background: UT.LoadingScreen [2015.11.14-20.21.43:950][ 7]UT: Call to HideMenu() when without a menu being opened. [2015.11.14-20.21.44:071][ 7]LogAIModule: Creating AISystem for world UT-Entry [2015.11.14-20.21.44:076][ 7]LogWorld: Bringing World /Game/RestrictedAssets/Maps/UT-Entry.UT-Entry up for play (max tick rate 120) at 2015.11.14-13.21.44 [2015.11.14-20.21.44:077][ 7]LogWorld: Bringing up level for play took: 0.001542 1001[33m[2015.11.14-20.21.44:725][ 45]LogLinker:Warning: Can't find file '/Game/RestrictedAssets/Audio/UI/A_UI_Pause01_Cue' [0m[33m[2015.11.14-20.21.44:725][ 45]LogUObjectGlobals:Warning: Failed to load '/Game/RestrictedAssets/Audio/UI/A_UI_Pause01_Cue': Can't find file '/Game/RestrictedAssets/Audio/UI/A_UI_Pause01_Cue' [0m1001[33m[2015.11.14-20.21.44:726][ 45]LogLinker:Warning: Can't find file '/Game/RestrictedAssets/Audio/UI/A_UI_Pause01_Cue' [0m[33m[2015.11.14-20.21.44:726][ 45]LogUObjectGlobals:Warning: Failed to load '/Game/RestrictedAssets/Audio/UI/A_UI_Pause01_Cue': Can't find file '/Game/RestrictedAssets/Audio/UI/A_UI_Pause01_Cue' [0m1001[33m[2015.11.14-20.21.44:726][ 45]LogLinker:Warning: Can't find file '/Game/RestrictedAssets/Audio/UI/A_UI_Pause01_Cue' [0m[33m[2015.11.14-20.21.44:726][ 45]LogUObjectGlobals:Warning: Failed to load '/Game/RestrictedAssets/Audio/UI/A_UI_Pause01_Cue': Can't find file '/Game/RestrictedAssets/Audio/UI/A_UI_Pause01_Cue' [0m[33m[2015.11.14-20.21.44:726][ 45]LogUObjectGlobals:Warning: Failed to find object 'Object /Game/RestrictedAssets/Audio/UI/A_UI_Pause01_Cue.A_UI_Pause01_Cue' [0m[33m[2015.11.14-20.21.44:877][ 45]LogSlateStyle:Warning: Unable to find Slate Widget Style 'MOTD.Normal'. Using FTextBlockStyle defaults instead. [0m[33m[2015.11.14-20.21.44:916][ 45]LogSlateStyle:Warning: Unable to find Slate Widget Style 'UT.Icon.Lock.Small'. Using FInlineTextImageStyle defaults instead. [0m[33m[2015.11.14-20.21.46:008][ 82]LogSlateStyle:Warning: Unable to find Slate Widget Style 'UT.Icon.Lock.Small'. Using FInlineTextImageStyle defaults instead. [0m[33m[2015.11.14-20.21.47:470][257]LogOnline:Warning: MCP: Can't cancel a search that isn't in progress [0m[2015.11.14-20.21.47:470][257]UT: OnCancelGUIDFindSessionComplete 1 [2015.11.14-20.21.47:471][257]UT: Attempting a join #0 [33m[2015.11.14-20.21.47:471][257]LogOnline:Warning: MCP: Can't cancel a search that isn't in progress [0m[2015.11.14-20.21.47:576][271]UT: OnFindSesssionComplete 1 [2015.11.14-20.21.47:576][271]UT: ########################## [2015.11.14-20.21.47:576][271]UT: Joining a New Session [2015.11.14-20.21.47:576][271]UT: ########################## [2015.11.14-20.21.47:576][271]UT: --- Already in a Session -- Deferring while I clean it up [33m[2015.11.14-20.21.47:576][271]LogOnline:Warning: MCP: Can't end session (Game) in state Pending [0m[2015.11.14-20.21.47:587][271]UT: ----------- [OnDestroySessionComplete 1 [2015.11.14-20.21.48:155][340]UT: ----------- [OnJoinSessionComplete 1 [2015.11.14-20.21.48:162][340]LogInit: BSD: Socket queue 65536 / 65536 [2015.11.14-20.21.48:271][353]LogLoad: LoadMap: 54.176.182.226:8000//Game/RestrictedAssets/Maps/WIP/DM-ASDF?Hat=?Character=?Eyewear=?HatVar=0?EyewearVar=0?Team=0?Name=Player?VersionCheck=1?Taunt=/Game/RestrictedAssets/Blueprints/Taunts/Taunt_PelvicThrust.Taunt_PelvicThrust_C?Taunt2=/Game/RestrictedAssets/Blueprints/Taunts/Taunt_NoNo.Taunt_NoNo_C?SpectatorOnly=0?LeaderHat=?Rank=1478?game=/Script/UnrealTournament.UTDMGameMode [2015.11.14-20.21.48:271][353]UT: Background: UT.LoadingScreen [2015.11.14-20.21.48:272][353]LogExit: GameNetDriver IpNetDriver_138 shut down [33m[2015.11.14-20.21.48:345][353]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint [0m[2015.11.14-20.21.49:640][353]LogMaterial: Can't compile M_LinkGun_hologram_02 with cooked content, will use default material instead [33m[2015.11.14-20.21.49:640][353]LogMaterial:Warning: Failed to compile Material /Game/RestrictedAssets/Weapons/Weapon_Base_Effects/Materials/M_LinkGun_hologram_02.M_LinkGun_hologram_02 for platform GLSL_150, Default Material will be used in game. [0m[2015.11.14-20.21.49:672][353]LogAIModule: Creating AISystem for world DM-ASDF [2015.11.14-20.21.49:755][353]LogWorld: Bringing World /Game/RestrictedAssets/Maps/WIP/DM-ASDF.DM-ASDF up for play (max tick rate 120) at 2015.11.14-13.21.49 [2015.11.14-20.21.49:868][353]LogWorld: Bringing up level for play took: 0.184578 EngineCrashHandler: Signal=7 [2015.11.14-20.22.06:761][353]LogLinux: === Critical error: === Unhandled Exception: SIGBUS: invalid attempt to access memory at address 0x36c72000 [2015.11.14-20.22.06:761][353]LogLinux: Fatal error! [Callstack] 02 0x00007fc96f9975bb ReportCrash(FLinuxCrashContext const&) [Callstack] 03 0x0000000000419beb EngineCrashHandler(FGenericCrashContext const&) [D:\BuildFarm\buildmachine_++depot+UE4-UT-Releases\Engine\Source\Runtime\Launch\Private\Linux/LaunchLinux.cpp, line 31] [Callstack] 04 0x00007fc96f99a898 PlatformCrashHandler(int, siginfo*, void*) [Callstack] 05 0x00007fc97014fd60 /usr/lib/libpthread.so.0(+0x10d60) [0x7fc97014fd60] [Callstack] 06 0x00007fc968e2fe99 /usr/lib/libc.so.6(+0x90e99) [0x7fc968e2fe99] [Callstack] 07 0x00007fc95b22b5c8 /usr/lib/xorg/modules/dri/radeonsi_dri.so(+0x55c5c8) [0x7fc95b22b5c8] [Callstack] 08 0x00007fc95afdf12a /usr/lib/xorg/modules/dri/radeonsi_dri.so(+0x31012a) [0x7fc95afdf12a] [Callstack] 09 0x00007fc94b8aadcf FOpenGLDynamicRHI::RHICreateUniformBuffer(void const*, FRHIUniformBufferLayout const&, EUniformBufferUsage) [Callstack] 10 0x00007fc96b8e31a0 RHICreateUniformBuffer(void const*, FRHCtrlCHandler: Signal=15 CtrlCHandler: Signal=1 [2015.11.14-20.22.37:430][353]LogGenericPlatformMisc: FPlatformMisc::RequestExit(1)
Probably relevant, the War Thunder launcher no longer loads.
Looks like a GPU hang. Please attach the corresponding Xorg.0.= log file and output of dmesg and glxinfo.
Created attachment 119925 [details]
dmesg
Can't open the server list to try to join a game anymore.
Can you try running the game with the environment variable R60= 0_DEBUG=3Dcheck_vm and reproducing the problem? It should generate some debugging output on stderr, if so please attach that here.
It segfaults when I try to run it with R600_DEBUG=check_vm. [2015.11.19-14.45.03:949][ 0]LogInit:Display: Running engine for game: UnrealTournament [2015.11.19-14.45.03:949][ 0]LogInit:Display: Project file not found: /home/gabriel/games/LinuxNoEditor/UnrealTournament/UnrealTournament.uproject [2015.11.19-14.45.03:949][ 0]LogInit:Display: Attempting to find via project info helper. [2015.11.19-14.45.03:949][ 0]LogUProjectInfo: Found projects: [2015.11.19-14.45.03:949][ 0]LogInit:Display: RandInit(1798183980) SRandInit(1798183987). [2015.11.19-14.45.03:950][ 0]LogTaskGraph: Started task graph with 3 named threads and 7 total threads. [2015.11.19-14.45.03:950][ 0]LogInit: Version: 4.8.0-2739211+++depot+UE4-UT-Releases [2015.11.19-14.45.03:950][ 0]LogInit: API Version: 2739211 [2015.11.19-14.45.03:950][ 0]LogInit: Compiled (64-bit): Oct 22 2015 20:46:55 [2015.11.19-14.45.03:950][ 0]LogInit: Compiled with Clang: 3.5.0 (tags/RELEASE_350/final) [2015.11.19-14.45.03:950][ 0]LogInit: Build Configuration: Test [2015.11.19-14.45.03:950][ 0]LogInit: Branch Name: ++depot+UE4-UT-Releases [2015.11.19-14.45.03:950][ 0]LogInit: Command line: [2015.11.19-14.45.03:950][ 0]LogInit: Base directory: /home/gabriel/games/LinuxNoEditor/Engine/Binaries/Linux/ [2015.11.19-14.45.03:950][ 0]LogInit: Rocket: 0 [2015.11.19-14.45.04:165][ 0]LogInit: Using libcurl 7.38.0 [2015.11.19-14.45.04:165][ 0]LogInit: - built for x86_64-unknown-linux-gnu [2015.11.19-14.45.04:165][ 0]LogInit: - supports SSL with OpenSSL/1.0.1i [2015.11.19-14.45.04:165][ 0]LogInit: - supports HTTP deflate (compression) using libz 1.2.5 [2015.11.19-14.45.04:165][ 0]LogInit: - other features: [2015.11.19-14.45.04:165][ 0]LogInit: CURL_VERSION_SSL [2015.11.19-14.45.04:165][ 0]LogInit: CURL_VERSION_LIBZ [2015.11.19-14.45.04:165][ 0]LogInit: CURL_VERSION_IPV6 [2015.11.19-14.45.04:165][ 0]LogInit: CURL_VERSION_ASYNCHDNS [2015.11.19-14.45.04:165][ 0]LogInit: CURL_VERSION_LARGEFILE [2015.11.19-14.45.04:165][ 0]LogInit: CURL_VERSION_TLSAUTH_SRP [2015.11.19-14.45.04:165][ 0]LogInit: Libcurl: checking if '/etc/pki/tls/certs/ca-bundle.crt' exists [2015.11.19-14.45.04:165][ 0]LogInit: Libcurl: checking if '/etc/ssl/certs/ca-certificates.crt' exists [2015.11.19-14.45.04:165][ 0]LogInit: CurlRequestOptions (configurable via config and command line): [2015.11.19-14.45.04:165][ 0]LogInit: - bVerifyPeer = true - Libcurl will verify peer certificate [2015.11.19-14.45.04:165][ 0]LogInit: - bUseHttpProxy = false - Libcurl will NOT use HTTP proxy [2015.11.19-14.45.04:165][ 0]LogInit: - bDontReuseConnections = false - Libcurl will reuse connections [2015.11.19-14.45.04:165][ 0]LogInit: - CertBundlePath = /etc/ssl/certs/ca-certificates.crt - Libcurl will set CURLOPT_CAINFO to it [2015.11.19-14.45.04:850][ 0]LogVoice:Warning: Failed to initialize voice interface [2015.11.19-14.45.05:267][ 0]LogInit: Presizing for 0 objects not considered by GC, pre-allocating 0 bytes. [2015.11.19-14.45.05:272][ 0]LogInit: Object subsystem initialized [2015.11.19-14.45.05:281][ 0]LogInit: Selected Device Profile: [LinuxNoEditor] [2015.11.19-14.45.05:281][ 0]LogInit: Applying CVar settings loaded from the selected device profile: [LinuxNoEditor] [2015.11.19-14.45.05:289][ 0]LogInit: Linux hardware info: [2015.11.19-14.45.05:289][ 0]LogInit: - this process' id (pid) is 23220, parent process' id (ppid) is 23219 [2015.11.19-14.45.05:289][ 0]LogInit: - we are not running under debugger [2015.11.19-14.45.05:289][ 0]LogInit: - machine network name is 'localhost' [2015.11.19-14.45.05:289][ 0]LogInit: - we're logged in locally [2015.11.19-14.45.05:289][ 0]LogInit: - Number of physical cores available for the process: 8 [2015.11.19-14.45.05:289][ 0]LogInit: - Number of logical cores available for the process: 8 [2015.11.19-14.45.05:289][ 0]LogInit: - Memory allocator used: binned [2015.11.19-14.45.05:289][ 0]LogInit: Linux-specific commandline switches: [2015.11.19-14.45.05:289][ 0]LogInit: -nodwarf (currently OFF): suppress parsing of DWARF debug info (callstacks will be generated faster, but won't have line numbers) [2015.11.19-14.45.05:289][ 0]LogInit: -ansimalloc - use malloc()/free() from libc (useful for tools like valgrind and electric fence) [2015.11.19-14.45.05:289][ 0]LogInit: -jemalloc - use jemalloc for all memory allocation [2015.11.19-14.45.05:289][ 0]LogInit: -binnedmalloc - use binned malloc for all memory allocation [2015.11.19-14.45.05:289][ 0]LogInit: -httpproxy=ADDRESS:PORT - redirects HTTP requests to a proxy (only supported if compiled with libcurl) [2015.11.19-14.45.05:289][ 0]LogInit: -reuseconn - allow libcurl to reuse HTTP connections (only matters if compiled with libcurl) [2015.11.19-14.45.05:289][ 0]LogInit: -virtmemkb=NUMBER - sets process virtual memory (address space) limit (overrides VirtualMemoryLimitInKB value from .ini) [2015.11.19-14.45.05:289][ 0]LogInit: Setting LC_NUMERIC to en_US [2015.11.19-14.45.05:289][ 0]LogInit: Initializing SDL. Signal 11 caught. EngineCrashHandler: Signal=11 Unreal.sh: line 3: 23220 Segmentation fault (core dumped)
Backtrace of segfault, as requested. Using R600_DEBUG=check_vm gdb --args ./UE4-Linux-Test UnrealTournament Program received signal SIGSEGV, Segmentation fault. 0x0000441f0fe0ff18 in ?? () (gdb) bt #0 0x0000441f0fe0ff18 in ?? () #1 0x00007fffe30ffba8 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so #2 0x00007fffe3126640 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so #3 0x00007fffe3046e03 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so #4 0x00007fffe304a3c8 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so #5 0x00007fffe3126539 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so #6 0x00007fffe3127ced in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so #7 0x00007fffe312ca40 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so #8 0x00007fffe312d155 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so #9 0x00007fffe2d8de20 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so #10 0x00007fffe2d89a91 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so #11 0x00007fffe2c6e69e in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so #12 0x00007fffe2c6fa12 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so #13 0x00007fffe2d8956f in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so #14 0x00007fffe2d88124 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so #15 0x00007fffe5c4ff2a in ?? () from /usr/lib/libGL.so.1 #16 0x00007fffe5c1f74a in glXMakeCurrent () from /usr/lib/libGL.so.1 #17 0x00007ffff763b1e5 in X11_GL_MakeCurrent (_this=<optimized out>, window=<optimized out>, context=<optimized out>) at /home/rcl/build/2015-05-01/SDL-gui-backend/src/video/x11/SDL_x11opengl.c:684 #18 0x00007ffff763b9fe in X11_GL_CreateContext (_this=0xcc8010, window=0xf91de0) ---Type <return> to continue, or q <return> to quit--- /SDL_x11opengl.c:664 #19 0x00007ffff75e5b40 in SDL_GL_CreateContext_REAL (window=0xf91de0) at /home/rcl/build/2015-05-01/SDL-gui-backend/src/video/SDL_video.c:3105 #20 0x00007ffff75e8be3 in ShouldUseTextureFramebuffer () at /home/rcl/build/2015-05-01/SDL-gui-backend/src/video/SDL_video.c:208 #21 SDL_VideoInit_REAL (driver_name=<optimized out>) at /home/rcl/build/2015-05-01/SDL-gui-backend/src/video/SDL_video.c:525 #22 0x00007ffff75fd697 in SDL_InitSubSystem_REAL (flags=1077809) at /home/rcl/build/2015-05-01/SDL-gui-backend/src/SDL.c:173 #23 0x00007ffff741411f in FLinuxPlatformMisc::PlatformInitMultimedia () at D:\BuildFarm\buildmachine_++depot+UE4-UT-Releases\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformMisc.cpp:174 #24 0x00007ffff7425e31 in FLinuxPlatformMisc::PlatformInit () at D:\BuildFarm\buildmachine_++depot+UE4-UT-Releases\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformMisc.cpp:157 #25 0x000000000040f6ac in FEngineLoop::PreInit (this=<optimized out>, CmdLine=<optimized out>) at D:\BuildFarm\buildmachine_++depot+UE4-UT-Releases\Engine\Source\Runtime\Launch\Private/LaunchEngineLoop.cpp:1139 #26 0x000000000041363d in EnginePreInit (CmdLine=0x7fffe2de3640 L"\x187f8b48\x74ff8548\x478b4807\x1060ff10\x801f0fc3") at D:\BuildFarm\buildmachine_++depot+UE4-UT-Releases\Engine\Source\Runtime\Launch\Private/Launch.cpp:31 #27 GuardedMain (CmdLine=0x7fffffffbdb0 L"\x1335010") at D:\BuildFarm\buildmachine_++depot+UE4-UT-Releases\Engine\Source\Runtime\Launch\Private/Launch.cpp:110 #28 0x000000000041a4ef in main (argc=<optimized out>, argv=<optimized out>) at D:\BuildFarm\buildmachine_++depot+UE4-UT-Releases\Engine\Source\Runtime\Launch\Private\Linux/LaunchLinux.cpp:260
Please make sure there are debugging symbols for /usr/lib/xorg/modules/dri/radeonsi_dri.so and get a backtrace again (and pl= ease attach it instead of pasting it as a comment).
What | Removed | Added |
---|---|---|
Attachment #119999 is obsolete | 1 |
Created attachment 120002 [details]
backtrace
Figured out how to keep my debugging symbols. New backtrace.
Your dmesg log has a non-standard timestamp format (the [....]= prefix in each line), which causes the debug handling in radeonsi to get tripped up. The fastest way to make forward progress is for you to revert your dmesg timest= amp format to the default and repeat.
Well, I guess the definition of non-standard is relative. I didn't change anything, how ever it is, is the way it came. So I'm not sure what to 'revert'.
The non-standard behaviour must be due to a (distro?) patch to= the kernel or due to a non-standard kernel build .config setting.
I was using a non-standard kernel (ck patch set, BFS, BFQ) but I get the same thing when I switch to the stock (Arch) kernel. The leading spaces to align the timestamps certainly makes the output more legible, so I would call it an improvement.
What | Removed | Added |
---|---|---|
Status | NEW | RESOLVED |
Resolution | --- | FIXED |