From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99994] Unreal Tournament 2016 segfaults with sisched Date: Mon, 27 Feb 2017 22:25:52 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0759130934==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 5F6486E287 for ; Mon, 27 Feb 2017 22:25:52 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0759130934== Content-Type: multipart/alternative; boundary="14882343520.BFF42BD.7431"; charset="UTF-8" --14882343520.BFF42BD.7431 Date: Mon, 27 Feb 2017 22:25:52 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99994 Bug ID: 99994 Summary: Unreal Tournament 2016 segfaults with sisched Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: ernstp@gmail.com QA Contact: dri-devel@lists.freedesktop.org The free to play Unreal Tournament under development segfaults with R600_DEBUG=3Dsisched. Fully playable, with rendering issues, without it. It segfaults very early, before the first graphics. FIJI Fury card. LLVM: 5.0~svn295460-0~y~padoka0 Mesa: 17.1~git170226151200.5b5ffb7~y~padoka0 (gdb) bt #0 llvm::SIInstrInfo::isLowLatencyInstruction(llvm::MachineInstr const&) c= onst () at /build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460= /include/llvm/CodeGen/MachineInstr.h:273 warning: (Internal error: pc 0x7fffdc4858cf in read in psymtab, but not in symtab.) warning: (Internal error: pc 0x7fffdc4858cf in read in psymtab, but not in symtab.) #1 0x00007fffdc4858d0 in llvm::SIScheduleDAGMI::moveLowLatencies() () at /build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460= /lib/Target/AMDGPU/SIMachineScheduler.cpp:1727 warning: (Internal error: pc 0x7fffdc48fc85 in read in psymtab, but not in symtab.) warning: (Internal error: pc 0x7fffdc48fc85 in read in psymtab, but not in symtab.) #2 0x00007fffdc48fc86 in llvm::SIScheduleDAGMI::schedule() () at /build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460= /lib/Target/AMDGPU/SIMachineScheduler.cpp:1871 #3 0x00007fffdb5f50ef in (anonymous namespace)::MachineSchedulerBase::scheduleRegions(llvm::ScheduleDAGInstrs&, bool) () at /build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460= /lib/CodeGen/MachineScheduler.cpp:480 #4 0x00007fffdb5fe789 in (anonymous namespace)::MachineScheduler::runOnMachineFunction(llvm::MachineFunction&) = () at /build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460= /lib/CodeGen/MachineScheduler.cpp:344 #5 0x00007fffdb5a86a1 in llvm::MachineFunctionPass::runOnFunction(llvm::Function&) () at /build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460= /lib/CodeGen/MachineFunctionPass.cpp:62 #6 0x00007fffdb430b22 in llvm::FPPassManager::runOnFunction(llvm::Function= &) () at /build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460= /lib/IR/LegacyPassManager.cpp:1513 #7 0x00007fffdb430bc3 in llvm::FPPassManager::runOnModule(llvm::Module&) (= ) at /build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460= /lib/IR/LegacyPassManager.cpp:1534 #8 0x00007fffdb431567 in llvm::legacy::PassManagerImpl::run(llvm::Module&)= () at /build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460= /lib/IR/LegacyPassManager.cpp:1590 #9 0x00007fffdc2b79c8 in LLVMTargetMachineEmit(LLVMOpaqueTargetMachine*, LLVMOpaqueModule*, llvm::raw_pwrite_stream&, LLVMCodeGenFileType, char**) (= ) at /build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460= /lib/Target/TargetMachineC.cpp:204 #10 0x00007fffdc2b7bc9 in LLVMTargetMachineEmitToMemoryBuffer () at /build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460= /lib/Target/TargetMachineC.cpp:228 #11 0x00007fffdee3d8d5 in si_llvm_compile (M=3D0x7fffbc013db0, binary=3D0x7fffbc009460, tm=3D0x75e140, debug=3D0x0) at ../../../../../../src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c:224 #12 0x00007fffdee38528 in si_compile_llvm (sscreen=3D, binary=3D0x7fffbc009460, conf=3D0x7fffbc0094c0, tm=3D0x75e140, mod=3D0x7fff= bc013db0, debug=3D0x0, processor=3D1, name=3D0x7fffdf001231 "TGSI shader") at ../../../../../../src/gallium/drivers/radeonsi/si_shader.c:6159 #13 0x00007fffdee39389 in si_compile_tgsi_shader (sscreen=3D0x757480, tm=3D0x75e140, shader=3D0x7fffbc009330, is_monolithic=3D, de= bug=3D0x0) at ../../../../../../src/gallium/drivers/radeonsi/si_shader.c:7366 #14 0x00007fffdee4d39c in si_init_shader_selector_async (job=3D0x7fffa8b84d= 10, thread_index=3D1) at ../../../../../../src/gallium/drivers/radeonsi/si_state_shaders.c:1416 #15 0x00007fffdeb77754 in util_queue_thread_func (input=3D) = at ../../../../../src/gallium/auxiliary/util/u_queue.c:175 #16 0x00007fffdeb773d8 in impl_thrd_routine (p=3D) at ../../../../../include/c11/threads_posix.h:87 #17 0x00007ffff7bc16ca in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #18 0x00007ffff0f240af in clone () from /lib/x86_64-linux-gnu/libc.so.6 --=20 You are receiving this mail because: You are the assignee for the bug.= --14882343520.BFF42BD.7431 Date: Mon, 27 Feb 2017 22:25:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 99994
Summary Unreal Tournament 2016 segfaults with sisched
Product Mesa
Version git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter ernstp@gmail.com
QA Contact dri-devel@lists.freedesktop.org

The free to play Unreal Tournament under development segfaults=
 with
R600_DEBUG=3Dsisched.
Fully playable, with rendering issues, without it.
It segfaults very early, before the first graphics.

FIJI Fury card.

LLVM: 5.0~svn295460-0~y~padoka0
Mesa: 17.1~git170226151200.5b5ffb7~y~padoka0

(gdb) bt
#0  llvm::SIInstrInfo::isLowLatencyInstruction(llvm::MachineInstr const&=
;) const
() at
/build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460=
/include/llvm/CodeGen/MachineInstr.h:273
warning: (Internal error: pc 0x7fffdc4858cf in read in psymtab, but not in
symtab.)

warning: (Internal error: pc 0x7fffdc4858cf in read in psymtab, but not in
symtab.)

#1  0x00007fffdc4858d0 in llvm::SIScheduleDAGMI::moveLowLatencies() () at
/build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460=
/lib/Target/AMDGPU/SIMachineScheduler.cpp:1727
warning: (Internal error: pc 0x7fffdc48fc85 in read in psymtab, but not in
symtab.)

warning: (Internal error: pc 0x7fffdc48fc85 in read in psymtab, but not in
symtab.)

#2  0x00007fffdc48fc86 in llvm::SIScheduleDAGMI::schedule() () at
/build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460=
/lib/Target/AMDGPU/SIMachineScheduler.cpp:1871
#3  0x00007fffdb5f50ef in (anonymous
namespace)::MachineSchedulerBase::scheduleRegions(llvm::ScheduleDAGInstrs&a=
mp;,
bool) () at
/build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460=
/lib/CodeGen/MachineScheduler.cpp:480
#4  0x00007fffdb5fe789 in (anonymous
namespace)::MachineScheduler::runOnMachineFunction(llvm::MachineFunction&am=
p;) ()
at
/build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460=
/lib/CodeGen/MachineScheduler.cpp:344
#5  0x00007fffdb5a86a1 in
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) () at
/build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460=
/lib/CodeGen/MachineFunctionPass.cpp:62
#6  0x00007fffdb430b22 in llvm::FPPassManager::runOnFunction(llvm::Function=
&)
() at
/build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460=
/lib/IR/LegacyPassManager.cpp:1513
#7  0x00007fffdb430bc3 in llvm::FPPassManager::runOnModule(llvm::Module&=
;) () at
/build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460=
/lib/IR/LegacyPassManager.cpp:1534
#8  0x00007fffdb431567 in llvm::legacy::PassManagerImpl::run(llvm::Module&a=
mp;) ()
at
/build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460=
/lib/IR/LegacyPassManager.cpp:1590
#9  0x00007fffdc2b79c8 in LLVMTargetMachineEmit(LLVMOpaqueTargetMachine*,
LLVMOpaqueModule*, llvm::raw_pwrite_stream&, LLVMCodeGenFileType, char*=
*) () at
/build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460=
/lib/Target/TargetMachineC.cpp:204
#10 0x00007fffdc2b7bc9 in LLVMTargetMachineEmitToMemoryBuffer () at
/build/llvm-toolchain-snapshot-jHu56_/llvm-toolchain-snapshot-5.0~svn295460=
/lib/Target/TargetMachineC.cpp:228
#11 0x00007fffdee3d8d5 in si_llvm_compile (M=3D0x7fffbc013db0,
binary=3D0x7fffbc009460, tm=3D0x75e140, debug=3D0x0) at
../../../../../../src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c:224
#12 0x00007fffdee38528 in si_compile_llvm (sscreen=3D<optimized out>,
binary=3D0x7fffbc009460, conf=3D0x7fffbc0094c0, tm=3D0x75e140, mod=3D0x7fff=
bc013db0,
debug=3D0x0, processor=3D1, name=3D0x7fffdf001231 "TGSI shader")
    at ../../../../../../src/gallium/drivers/radeonsi/si_shader.c:6159
#13 0x00007fffdee39389 in si_compile_tgsi_shader (sscreen=3D0x757480,
tm=3D0x75e140, shader=3D0x7fffbc009330, is_monolithic=3D<optimized out&g=
t;, debug=3D0x0)
at ../../../../../../src/gallium/drivers/radeonsi/si_shader.c:7366
#14 0x00007fffdee4d39c in si_init_shader_selector_async (job=3D0x7fffa8b84d=
10,
thread_index=3D1) at
../../../../../../src/gallium/drivers/radeonsi/si_state_shaders.c:1416
#15 0x00007fffdeb77754 in util_queue_thread_func (input=3D<optimized out=
>) at
../../../../../src/gallium/auxiliary/util/u_queue.c:175
#16 0x00007fffdeb773d8 in impl_thrd_routine (p=3D<optimized out>) at
../../../../../include/c11/threads_posix.h:87
#17 0x00007ffff7bc16ca in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#18 0x00007ffff0f240af in clone () from /lib/x86_64-linux-gnu/libc.so.6
        


You are receiving this mail because:
  • You are the assignee for the bug.
= --14882343520.BFF42BD.7431-- --===============0759130934== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0759130934==--