[Bug 73320] [radeonsi] LLVM runs out of registers during register allocation in Painkiller Hell & Damnation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 33 on bug 73320 from
Program received signal SIGSEGV, Segmentation fault.
0xf4ba33e1 in llvm::SIInstrInfo::copyPhysReg (this=0x43f6b140, MBB=..., MI=...,
DL=..., DestReg=0, SrcReg=106, KillSrc=true)
    at SIInstrInfo.cpp:160
160       while (unsigned SubIdx = *SubIndices++) {
(gdb) bt
#0  0xf4ba33e1 in llvm::SIInstrInfo::copyPhysReg (this=0x43f6b140, MBB=...,
MI=..., DL=..., DestReg=0, SrcReg=106, KillSrc=true)
    at SIInstrInfo.cpp:160
#1  0xf50766b8 in (anonymous namespace)::ExpandPostRA::LowerCopy
(this=0x44b60e00, MI=0x45013d20) at ExpandPostRAPseudos.cpp:165
#2  0xf50768b3 in (anonymous namespace)::ExpandPostRA::runOnMachineFunction
(this=0x44b60e00, MF=...) at ExpandPostRAPseudos.cpp:213
#3  0xf50f264f in llvm::MachineFunctionPass::runOnFunction (this=0x44b60e00,
F=...) at MachineFunctionPass.cpp:33
#4  0xf4dc053f in llvm::FPPassManager::runOnFunction (this=0x446590c0, F=...)
at LegacyPassManager.cpp:1540
#5  0xf4dc06e0 in llvm::FPPassManager::runOnModule (this=0x446590c0, M=...) at
LegacyPassManager.cpp:1560
#6  0xf4dc09e4 in (anonymous namespace)::MPPassManager::runOnModule
(this=0x431b3380, M=...) at LegacyPassManager.cpp:1618
#7  0xf4dc0f53 in llvm::legacy::PassManagerImpl::run (this=0x44803000, M=...)
at LegacyPassManager.cpp:1725
#8  0xf4dc1147 in llvm::legacy::PassManager::run (this=0xffff6b08, M=...) at
LegacyPassManager.cpp:1760
#9  0xf5291a59 in LLVMTargetMachineEmit (T=0x44d746c0, M=0x445881c0, OS=...,
codegen=LLVMObjectFile, ErrorMessage=0xffff6be8)
    at TargetMachineC.cpp:233
#10 0xf5291bed in LLVMTargetMachineEmitToMemoryBuffer (T=0x44d746c0,
M=0x445881c0, codegen=LLVMObjectFile, ErrorMessage=0xffff6be8, 
    OutMemBuf=0xffff6be0) at TargetMachineC.cpp:259
#11 0xf5bab1f8 in radeon_llvm_compile (M=0x445881c0, binary=0xffff6c70,
gpu_family=0xf5fb96f1 "verde", dump=0) at radeon_llvm_emit.c:148
#12 0xf5b8c7d5 in si_compile_llvm (sctx=0xc148100, shader=0x44db9800,
mod=0x445881c0) at si_shader.c:2306
#13 0xf5b8d448 in si_pipe_shader_create (ctx=0xc148100, shader=0x44db9800) at
si_shader.c:2583
#14 0xf5b92660 in si_shader_select (ctx=0xc148100, sel=0x448adc80) at
si_state.c:2114
#15 0xf5b9279f in si_create_shader_state (ctx=0xc148100, state=0x43f6b508,
pipe_shader_type=1) at si_state.c:2146
#16 0xf5b927e8 in si_create_fs_state (ctx=0xc148100, state=0x43f6b508) at
si_state.c:2158
#17 0xf5da395a in st_translate_fragment_program (st=0xbf90000, stfp=0x44c01680,
key=0xffffb970) at state_tracker/st_program.c:782
#18 0xf5da3a55 in st_get_fp_variant (st=0xbf90000, stfp=0x44c01680,
key=0xffffb970) at state_tracker/st_program.c:819
#19 0xf5d60b4b in update_fp (st=0xbf90000) at state_tracker/st_atom_shader.c:92
#20 0xf5d5b80d in st_validate_state (st=0xbf90000) at
state_tracker/st_atom.c:212
#21 0xf5d7b220 in st_draw_vbo (ctx=0xcf2f000, prims=0xffffbb1c, nr_prims=1,
ib=0xffffbb38, index_bounds_valid=1 '\001', min_index=0, 
    max_index=4, tfb_vertcount=0x0, indirect=0x0) at
state_tracker/st_draw.c:198
#22 0xf5d3aadf in vbo_handle_primitive_restart (ctx=0xcf2f000, prim=0xffffbb1c,
nr_prims=1, ib=0xffffbb38, index_bounds_valid=1 '\001', 
    min_index=0, max_index=4) at vbo/vbo_exec_array.c:591
#23 0xf5d3b6a5 in vbo_validated_drawrangeelements (ctx=0xcf2f000, mode=4,
index_bounds_valid=1 '\001', start=0, end=4, count=6, type=5123, 
    indices=0x949d904 <DrawDenormalizedQuad(float, float, float, float, float,
float, float, float, unsigned int, unsigned int, unsigned int, unsigned int,
float)::Indices>, basevertex=0, numInstances=1, baseInstance=0) at
vbo/vbo_exec_array.c:1014
#24 0xf5d3b90e in vbo_exec_DrawRangeElementsBaseVertex (mode=4, start=0, end=4,
count=6, type=5123, 
    indices=0x949d904 <DrawDenormalizedQuad(float, float, float, float, float,
float, float, float, unsigned int, unsigned int, unsigned int, unsigned int,
float)::Indices>, basevertex=0) at vbo/vbo_exec_array.c:1122
#25 0xf5d3b9cf in vbo_exec_DrawRangeElements (mode=4, start=0, end=4, count=6,
type=5123, 
---Type <return> to continue, or q <return> to quit---
    indices=0x949d904 <DrawDenormalizedQuad(float, float, float, float, float,
float, float, float, unsigned int, unsigned int, unsigned int, unsigned int,
float)::Indices>) at vbo/vbo_exec_array.c:1142
#26 0x08baac6b in RHIDrawIndexedPrimitiveUP (VertexDataStride=32,
VertexData=0xffffbc40, IndexDataStride=2, 
    IndexData=0x949d904 <DrawDenormalizedQuad(float, float, float, float,
float, float, float, float, unsigned int, unsigned int, unsigned int, unsigned
int, float)::Indices>, NumPrimitives=2, NumVertices=4, MinVertexIndex=0,
PrimitiveType=0)
    at ../../Development/Src/Engine/Inc/RHIMethods.h:1658
#27 DrawDenormalizedQuad (X=0, Y=0, SizeX=420, SizeY=247, U=0, V=0, SizeU=420,
SizeV=247, TargetSizeX=TargetSizeX@entry=422, 
    TargetSizeY=258, TextureSizeX=TextureSizeX@entry=422, TextureSizeY=258,
ClipSpaceQuadZ=ClipSpaceQuadZ@entry=0)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/SceneFilterRendering.cpp:199
#28 0x08b76416 in ApplyRadialBlur (SourceFilterBuffer=SRTI_FilterColor1,
DestFilterBuffer=SRTI_FilterColor0, BlurVectorScale=1, 
    LightSceneInfo=0x42a63c00, View=...)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/LightShaftRendering.cpp:872
#29 FSceneRenderer::RenderLightShafts (this=this@entry=0x44d3c900)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/LightShaftRendering.cpp:1113
#30 0x08bb6500 in FSceneRenderer::RenderDPGEnd (this=this@entry=0x44d3c900,
DPGIndex=DPGIndex@entry=1, 
    bDeferPrePostProcessResolve=bDeferPrePostProcessResolve@entry=1,
bSceneColorDirty=@0xffffbf80: 1, bIsOcclusionTesting=1)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/SceneRendering.cpp:2194
#31 0x08bc15ee in FSceneRenderer::Render (this=this@entry=0x44d3c900)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/SceneRendering.cpp:2670
#32 0x08bc16c4 in RenderViewFamily_RenderThread
(SceneRenderer=SceneRenderer@entry=0x44d3c900)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/SceneRendering.cpp:4166
#33 0x08bc1877 in Execute (this=<synthetic pointer>)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/SceneRendering.cpp:4381
#34 BeginRenderingViewFamily (Canvas=0xffffc6a4, ViewFamily=0xffffc4f0)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/SceneRendering.cpp:4381
#35 0x0882652e in UGameViewportClient::Draw (this=0xbf14700,
Viewport=0xa03bb44, Canvas=0xffffc6a4)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/UnPlayer.cpp:1081
#36 0x08564935 in FViewport::Draw (this=0xa03bb44,
bShouldPresent=bShouldPresent@entry=1)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/UnClient.cpp:823
#37 0x08643249 in UGameEngine::RedrawViewports (this=0xb20e800,
bShouldPresent=1)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/UnGame.cpp:76
#38 0x08649ae5 in UGameEngine::Tick (this=0xb20e800, DeltaSeconds=0.0317840576)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/UnGame.cpp:4249
#39 0x08e7b6a2 in FEngineLoop::Tick (this=this@entry=0x95c6900 <GEngineLoop>)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Launch/Src/LaunchEngineLoop.cpp:3970
---Type <return> to continue, or q <return> to quit---
#40 0x08e8328c in EngineTick ()
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Launch/Src/Launch.cpp:193
#41 GuardedMain (CmdLine=0x90cfaf0 L"", hInInstance=hInInstance@entry=0x0,
hPrevInstance=hPrevInstance@entry=0x0, 
    nCmdShow=nCmdShow@entry=0)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Launch/Src/Launch.cpp:290
#42 0x08e37f7d in main (argc=1, argv=0xffffcbd4)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Linux/Src/Linux.cpp:727


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux