(gdb) bt #0 0x00007fd721dc1f07 in ioctl () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fd5272c6238 in drmIoctl () from /usr/lib/x86_64-linux-gnu/libdrm.so.2 #2 0x00007fd5261a2169 in amdgpu_cs_query_fence_status () from /usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1 #3 0x00007fd526cc6b97 in amdgpu_fence_wait (fence=0xf558e0, timeout=18446744073709551615, absolute=true) at amdgpu_cs.c:117 #4 0x00007fd526cc4a0b in amdgpu_bo_wait (_buf=, timeout=, usage=) at amdgpu_bo.c:124 #5 0x00007fd526cc58ed in amdgpu_bo_map (buf=0xf50340, rcs=0x0, usage=258) at amdgpu_bo.c:291 #6 0x00007fd526cf8153 in r600_texture_transfer_map (ctx=, texture=, level=, usage=, box=, ptransfer=) at r600_texture.c:1822 #7 0x00007fd526a36c5a in pipe_transfer_map_3d (context=0x7, resource=0xc0206449, level=4294966784, access=3689984816, z=0, d=, transfer=0x7fffdbf0b560, x=, y=, w=, h=) at ../../src/gallium/auxiliary/util/u_inlines.h:471 #8 st_texture_image_map (st=, stImage=0xba6040, usage=3689984816, x=, y=, z=0, w=1, h=582, d=1, transfer=0x7fffdbf0b560) at state_tracker/st_texture.c:277 #9 0x00007fd526a04b23 in st_MapTextureImage (ctx=, texImage=0xba6040, slice=0, x=0, y=0, w=4294966784, h=, mode=, mapOut=, rowStrideOut=) at state_tracker/st_cb_texture.c:256 #10 0x00007fd5269a3236 in store_texsubimage (ctx=, texImage=, xoffset=, yoffset=0, zoffset=, width=, height=1, depth=, format=, type=, pixels=, packing=, caller=) at main/texstore.c:1066 #11 0x00007fd5269a3370 in _mesa_store_texsubimage (ctx=0x7, dims=, texImage=0xc0206449, xoffset=-604982640, yoffset=568073991, zoffset=0, width=1, height=1, depth=1, format=6402, type=5125, pixels=0x0, packing=0xd4df38) at main/texstore.c:1139 #12 0x00007fd526a0097a in st_TexSubImage (ctx=, dims=, texImage=, xoffset=, yoffset=0, zoffset=, width=, height=1, depth=, format=, type=, pixels=, unpack=) at state_tracker/st_cb_texture.c:1611 #13 0x00007fd526996d3b in texture_sub_image (ctx=, dims=, texObj=, texImage=, target=, level=, xoffset=, yoffset=, zoffset=, width=, height=, depth=, format=, type=, pixels=, dsa=) at main/teximage.c:3286 #14 0x00007fd526990e45 in texsubimage_err (ctx=0xd32000, dims=2, target=34069, level=0, xoffset=, yoffset=, zoffset=, width=, height=, depth=, format=, type=, pixels=, callerName=0x7fd526d5c9bd "glTexSubImage2D") at main/teximage.c:3344 #15 0x00007fd526990f6b in _mesa_TexSubImage2D (target=3689984656, level=568073991, xoffset=0, yoffset=0, width=, height=, format=6402, type=5125, pixels=0x0) at main/teximage.c:3529 #16 0x00007fd539bc7da0 in TOpenGLTexture::Unlock (this=0x7fd53dad6600, MipIndex=0, ArrayIndex=0) at /opt/Valve/UnrealEngine/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLTexture.cpp:1090 #17 0x00007fd539ba8b46 in FOpenGLDynamicRHI::RHIUnlockTextureCubeFace (this=0x7fd5db7e0000, TextureCubeRHI=0x7fd53dad6600, FaceIndex=0, ArrayIndex=0, MipIndex=0, bLockWithinMiptail=false) at /opt/Valve/UnrealEngine/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLTexture.cpp:2279 #18 0x00007fd72f3d3b00 in FRHICommandListImmediate::UnlockTextureCubeFace (this=0x6b7040 , Texture=0x7fd53dad6600, FaceIndex=0, ArrayIndex=0, MipIndex=0, bLockWithinMiptail=false) at /opt/Valve/UnrealEngine/Engine/Source/Runtime/RHI/Public/RHICommandList.h:3062 #19 0x00007fd72f3d3284 in RHIUnlockTextureCubeFace (Texture=0x7fd53dad6600, FaceIndex=0, ArrayIndex=0, MipIndex=0, bLockWithinMiptail=false) at /opt/Valve/UnrealEngine/Engine/Source/Runtime/RHI/Public/RHICommandList.h:3793 #20 0x00007fd72b569e15 in FSolidColorTextureCube::InitRHI (this=0x7fd53aef1a50) at /opt/Valve/UnrealEngine/Engine/Source/Runtime/RenderCore/Private/RenderUtils.cpp:449 #21 0x00007fd539b5a16f in FOpenGLDynamicRHI::Init (this=0x7fd5db7e0000) at /opt/Valve/UnrealEngine/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLDevice.cpp:1439 (gdb) thread 35 [Switching to thread 35 (Thread 0x7fd51f1dc700 (LWP 4213))] #0 __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:37 37 ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: No such file or directory. (gdb) bt #0 __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:37 #1 0x00007fd526c8a8b6 in util_memcpy_cpu_to_le32 (dest=, src=, n=) at ../../../../src/gallium/auxiliary/util/u_math.h:601 #2 si_upload_const_buffer (sctx=0x7fd510002900, ptr=0x7fd51f1daff0 '\377' , rbuffer=, size=, const_offset=) at si_descriptors.c:1188 #3 si_set_constant_buffer (sctx=, buffers=, descriptors_idx=, slot=, input=) at si_descriptors.c:1214 #4 0x00007fd526c8d321 in si_set_rw_buffer (sctx=0x7fd51c81d000, slot=10, input=0x0) at si_descriptors.c:1262 #5 si_set_polygon_stipple (ctx=, state=) at si_descriptors.c:1615 #6 0x00007fd526bf4220 in tc_batch_execute (thread_index=0, job=) at util/u_threaded_context.c:94 #7 _tc_sync (tc=, info=, func=) at util/u_threaded_context.c:185 #8 tc_flush (_pipe=, fence=, flags=) at util/u_threaded_context.c:1797 #9 0x00007fd526a2d203 in st_context_flush (stctxi=0x7fd51007a670, flags=3, fence=0x7fd51f1db110) at state_tracker/st_manager.c:636 #10 0x00007fd526b6191b in dri_flush (cPriv=, dPriv=, flags=, reason=) at dri_drawable.c:550 #11 0x00007fd528b9311e in loader_dri3_swap_buffers_msc (draw=0x7fd510000b58, target_msc=0, divisor=0, remainder=0, flush_flags=522039280, force_copy=) at loader_dri3_helper.c:641 #12 0x00007fd528b66eb5 in glXSwapBuffers (dpy=0xb1b4e0, drawable=50331656) at glxcmds.c:843 [Jul30 11:10] INFO: task PoolThread 12:4203 blocked for more than 120 seconds. [ +0.000005] Not tainted 4.12.4-041204-generic #201707271932 [ +0.000002] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ +0.000002] PoolThread 12 D 0 4203 3630 0x00000002 [ +0.000003] Call Trace: [ +0.000009] __schedule+0x3c9/0x850 [ +0.000003] schedule+0x36/0x80 [ +0.000052] amd_sched_entity_push_job+0xc4/0x110 [amdgpu] [ +0.000004] ? wake_atomic_t_function+0x60/0x60 [ +0.000040] amdgpu_job_submit+0x72/0x90 [amdgpu] [ +0.000033] amdgpu_vm_bo_update_mapping+0x2b8/0x350 [amdgpu] [ +0.000030] ? amdgpu_vm_validate_level.isra.10+0x90/0x90 [amdgpu] [ +0.000028] amdgpu_vm_clear_freed+0x90/0x160 [amdgpu] [ +0.000029] amdgpu_gem_object_close+0x16d/0x1e0 [amdgpu] [ +0.000017] drm_gem_object_release_handle+0x4b/0x90 [drm] [ +0.000011] ? drm_gem_object_release_handle+0x4b/0x90 [drm] [ +0.000011] ? drm_gem_object_init+0x40/0x40 [drm] [ +0.000003] idr_for_each+0x48/0xe0 [ +0.000012] drm_gem_release+0x20/0x30 [drm] [ +0.000011] drm_release+0x304/0x360 [drm] [ +0.000003] __fput+0xe7/0x220 [ +0.000002] ____fput+0xe/0x10 [ +0.000003] task_work_run+0x80/0xa0 [ +0.000003] do_exit+0x2d8/0xaf0 [ +0.000003] do_group_exit+0x43/0xb0 [ +0.000002] get_signal+0x28a/0x5e0 [ +0.000005] do_signal+0x37/0x730 [ +0.000003] ? do_futex+0x2b2/0x520 [ +0.000004] exit_to_usermode_loop+0x80/0xd0 [ +0.000003] syscall_return_slowpath+0x59/0x60 [ +0.000003] entry_SYSCALL_64_fastpath+0xa7/0xa9 [ +0.000001] RIP: 0033:0x7fd73b5aa709 [ +0.000002] RSP: 002b:00007fd529b4b8f0 EFLAGS: 00000202 ORIG_RAX: 00000000000000ca [ +0.000002] RAX: fffffffffffffdfc RBX: 0000000000000000 RCX: 00007fd73b5aa709 [ +0.000001] RDX: 000000000003399b RSI: 0000000000000189 RDI: 00007fd53b9d504c [ +0.000001] RBP: 00007fd529b4ba20 R08: 00007fd53b9d5020 R09: 00000000ffffffff [ +0.000001] R10: 00007fd529b4b9b8 R11: 0000000000000202 R12: 000000000003399b [ +0.000001] R13: 00007fd529b4b9b8 R14: ffffffffffffff92 R15: 0000000000000000