[Bug 68224] New: [radeonsi] Serious Sam3 is segfaulting (LLVM assert)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Aug 17 08:35:11 PDT 2013


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

          Priority: medium
            Bug ID: 68224
          Assignee: dri-devel at lists.freedesktop.org
           Summary: [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
          Severity: blocker
    Classification: Unclassified
                OS: Linux (All)
          Reporter: lordheavym at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Drivers/Gallium/radeonsi
           Product: Mesa

Created attachment 84175
  --> https://bugs.freedesktop.org/attachment.cgi?id=84175&action=edit
shader dump from Serious Sam 3  with RADEON_DUMP_SHADERS=1

* mesa:
  OpenGL renderer string: Gallium 0.4 on AMD PITCAIRN
  OpenGL version string: 2.1 Mesa 9.3.0-devel (git-703a2f4)
* llvm-3.4svn r188604

The game "segfault" just before the logo shows up:

Starting program: /home/lordh/.local/share/Steam/SteamApps/common/Serious Sam
3/Bin/Sam3.orig 
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
cat: /etc/debian_version: Aucun fichier ou dossier de ce type
Setting breakpad minidump AppID = 41070
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197992653503 [API loaded no]
[New Thread 0xf5914b40 (LWP 6689)]
[New Thread 0xf14acb40 (LWP 6693)]
AL lib: pulseaudio.c:612: Context did not connect: Access denied
[New Thread 0xeff0ab40 (LWP 6698)]
[Thread 0xeff0ab40 (LWP 6698) exited]
AL lib: pulseaudio.c:612: Context did not connect: Access denied
[New Thread 0xeff0ab40 (LWP 6699)]
[Thread 0xeff0ab40 (LWP 6699) exited]
AL lib: pulseaudio.c:612: Context did not connect: Access denied
[New Thread 0xeff0ab40 (LWP 6700)]
[New Thread 0xef0e9b40 (LWP 6701)]
[New Thread 0xee832b40 (LWP 6702)]
[Thread 0xee832b40 (LWP 6702) exited]
Installing breakpad exception handler for
appid(gameoverlayui)/version(20130816170723_client)
Installing breakpad exception handler for
appid(gameoverlayui)/version(1.0_client)
Installing breakpad exception handler for
appid(gameoverlayui)/version(1.0_client)
Installing breakpad exception handler for
appid(gameoverlayui)/version(1.0_client)
[0817/170723:WARNING:proxy_service.cc(958)] PAC support disabled because there
is no system implementation
Sam3.orig: AMDGPUInstrInfo.cpp:109: virtual void
llvm::AMDGPUInstrInfo::storeRegToStackSlot(llvm::MachineBasicBlock&,
llvm::MachineBasicBlock::iterator, unsigned int, bool, int, const
llvm::TargetRegisterClass*, const llvm::TargetRegisterInfo*) const: Assertion
`!"Not Implemented"' failed.

* gdb backstrace:

#0  0xf7fdb425 in __kernel_vsyscall ()
#1  0xf7d6f7e6 in raise () from /usr/lib32/libc.so.6
#2  0xf7d70f73 in abort () from /usr/lib32/libc.so.6
#3  0xf7d687d7 in __assert_fail_base () from /usr/lib32/libc.so.6
#4  0xf7d68887 in __assert_fail () from /usr/lib32/libc.so.6
#5  0xf17a86a9 in
llvm::AMDGPUInstrInfo::storeRegToStackSlot(llvm::MachineBasicBlock&,
llvm::MachineBasicBlock::bundle_iterator<llvm::MachineInstr,
llvm::ilist_iterator<llvm::MachineInstr> >, unsigned int, bool, int,
llvm::TargetRegisterClass const*, llvm::TargetRegisterInfo const*) const ()
from /usr/lib32/libLLVM-3.4svn.so
#6  0xf1d50389 in ?? () from /usr/lib32/libLLVM-3.4svn.so
#7  0xf1d52773 in ?? () from /usr/lib32/libLLVM-3.4svn.so
#8  0xf1e6aafe in ?? () from /usr/lib32/libLLVM-3.4svn.so
#9  0xf1e595ad in llvm::RegAllocBase::allocatePhysRegs() () from
/usr/lib32/libLLVM-3.4svn.so
#10 0xf1e6e099 in ?? () from /usr/lib32/libLLVM-3.4svn.so
#11 0xf1dd2d52 in llvm::MachineFunctionPass::runOnFunction(llvm::Function&) ()
from /usr/lib32/libLLVM-3.4svn.so
#12 0xf1a0973f in llvm::FPPassManager::runOnFunction(llvm::Function&) () from
/usr/lib32/libLLVM-3.4svn.so
#13 0xf1a09b68 in llvm::FPPassManager::runOnModule(llvm::Module&) () from
/usr/lib32/libLLVM-3.4svn.so
#14 0xf1a09e1c in llvm::MPPassManager::runOnModule(llvm::Module&) () from
/usr/lib32/libLLVM-3.4svn.so
#15 0xf1a0a05b in llvm::PassManagerImpl::run(llvm::Module&) () from
/usr/lib32/libLLVM-3.4svn.so
#16 0xf1a0a166 in llvm::PassManager::run(llvm::Module&) () from
/usr/lib32/libLLVM-3.4svn.so
#17 0xf1f42937 in ?? () from /usr/lib32/libLLVM-3.4svn.so
#18 0xf1f42cc0 in LLVMTargetMachineEmitToMemoryBuffer () from
/usr/lib32/libLLVM-3.4svn.so
#19 0xf36c9b47 in radeon_llvm_compile (M=M at entry=0x14da15b8,
binary=binary at entry=0xffff5ed4, gpu_family=0xf38653d2 "pitcairn",
dump=dump at entry=0) at radeon_llvm_emit.c:124
#20 0xf36bbd82 in si_compile_llvm (rctx=rctx at entry=0x9845218,
shader=shader at entry=0x14da88f8, mod=0x14da15b8) at radeonsi_shader.c:1478
#21 0xf36bc5cd in si_pipe_shader_create (ctx=ctx at entry=0x9845218,
shader=shader at entry=0x14da88f8) at radeonsi_shader.c:1620
#22 0xf36c5576 in si_shader_select (ctx=ctx at entry=0x9845218,
sel=sel at entry=0x14e27610, dirty=dirty at entry=0x0) at si_state.c:2393
#23 0xf36c58bb in si_create_shader_state (ctx=0x9845218, state=<optimized out>,
pipe_shader_type=1) at si_state.c:2435
#24 0xf34f9313 in st_translate_fragment_program (st=st at entry=0x98c45a8,
stfp=stfp at entry=0x14ed0c58, key=key at entry=0xffffb148) at
../../src/mesa/state_tracker/st_program.c:768
#25 0xf34fa6f6 in st_get_fp_variant (st=st at entry=0x98c45a8,
stfp=stfp at entry=0x14ed0c58, key=key at entry=0xffffb148) at
../../src/mesa/state_tracker/st_program.c:805
#26 0xf34c1f33 in update_fp (st=0x98c45a8) at
../../src/mesa/state_tracker/st_atom_shader.c:92
#27 0xf34be81e in st_validate_state (st=st at entry=0x98c45a8) at
../../src/mesa/state_tracker/st_atom.c:221
#28 0xf34d5eac in st_draw_vbo (ctx=0x98e7760, prims=0xffffb298, nr_prims=1,
ib=0xffffb288, index_bounds_valid=1 '\001', min_index=0, max_index=3,
tfb_vertcount=0x0) at ../../src/mesa/state_tracker/st_draw.c:210
#29 0xf34a92f9 in vbo_handle_primitive_restart (ctx=ctx at entry=0x98e7760,
prim=prim at entry=0xffffb298, nr_prims=nr_prims at entry=1, ib=ib at entry=0xffffb288,
index_bounds_valid=index_bounds_valid at entry=1 '\001',
min_index=min_index at entry=0, 
    max_index=max_index at entry=3) at ../../src/mesa/vbo/vbo_exec_array.c:585
#30 0xf34aa4a9 in vbo_validated_drawrangeelements (ctx=ctx at entry=0x98e7760,
mode=mode at entry=4, index_bounds_valid=index_bounds_valid at entry=1 '\001',
start=start at entry=0, end=end at entry=3, count=count at entry=6,
type=type at entry=5123, 
    indices=indices at entry=0x0, basevertex=basevertex at entry=0,
numInstances=numInstances at entry=1, baseInstance=baseInstance at entry=0) at
../../src/mesa/vbo/vbo_exec_array.c:1004
#31 0xf34aa8a4 in vbo_exec_DrawRangeElementsBaseVertex (mode=mode at entry=4,
start=start at entry=0, end=end at entry=3, count=count at entry=6,
type=type at entry=5123, indices=indices at entry=0x0, basevertex=basevertex at entry=0)
    at ../../src/mesa/vbo/vbo_exec_array.c:1112
#32 0xf34aa99f in vbo_exec_DrawRangeElements (mode=4, start=0, end=3, count=6,
type=5123, indices=0x0) at ../../src/mesa/vbo/vbo_exec_array.c:1132

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130817/912a49b9/attachment.html>


More information about the dri-devel mailing list