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:
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