[Bug 99994] Unreal Tournament 2016 segfaults with sisched

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 27 22:25:52 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99994

            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 at lists.freedesktop.org
          Reporter: ernstp at gmail.com
        QA Contact: dri-devel at lists.freedesktop.org

The free to play Unreal Tournament under development segfaults with
R600_DEBUG=sisched.
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&,
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=0x7fffbc013db0,
binary=0x7fffbc009460, tm=0x75e140, debug=0x0) at
../../../../../../src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c:224
#12 0x00007fffdee38528 in si_compile_llvm (sscreen=<optimized out>,
binary=0x7fffbc009460, conf=0x7fffbc0094c0, tm=0x75e140, mod=0x7fffbc013db0,
debug=0x0, processor=1, name=0x7fffdf001231 "TGSI shader")
    at ../../../../../../src/gallium/drivers/radeonsi/si_shader.c:6159
#13 0x00007fffdee39389 in si_compile_tgsi_shader (sscreen=0x757480,
tm=0x75e140, shader=0x7fffbc009330, is_monolithic=<optimized out>, debug=0x0)
at ../../../../../../src/gallium/drivers/radeonsi/si_shader.c:7366
#14 0x00007fffdee4d39c in si_init_shader_selector_async (job=0x7fffa8b84d10,
thread_index=1) at
../../../../../../src/gallium/drivers/radeonsi/si_state_shaders.c:1416
#15 0x00007fffdeb77754 in util_queue_thread_func (input=<optimized out>) at
../../../../../src/gallium/auxiliary/util/u_queue.c:175
#16 0x00007fffdeb773d8 in impl_thrd_routine (p=<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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170227/b3bf11c4/attachment.html>


More information about the dri-devel mailing list