From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97887] llvm segfault in janusvr -render vive Date: Wed, 21 Sep 2016 11:24:38 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0282327104==" 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 A56D46E7FE for ; Wed, 21 Sep 2016 11:24:38 +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 --===============0282327104== Content-Type: multipart/alternative; boundary="14744570780.B2AB16.7382"; charset="UTF-8" --14744570780.B2AB16.7382 Date: Wed, 21 Sep 2016 11:24:38 +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=3D97887 Bug ID: 97887 Summary: llvm segfault in janusvr -render vive 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: haagch@frickel.club QA Contact: dri-devel@lists.freedesktop.org Created attachment 126700 --> https://bugs.freedesktop.org/attachment.cgi?id=3D126700&action=3Dedit stderr output with R600_DEBUG=3Dvs,tcs,tes,gs,ps,cs 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 480] (rev c7) mesa git, linux drm-next-4.9-wip, llvm 4.0.0svn_r282018 So I'm trying to start janusvr -render vive with the steamvr-osvr steamvr plugin. Because osvr-rendermanager still doesn't do core profile, I start it with MESA_GL_VERSION_OVERRIDE=3D3.3COMPAT MESA_GLSL_VERSION_OVERRIDE=3D330 ./jan= usvr -render vive But llvm segfaults: Thread 12 "si_shader:1" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffc3568700 (LWP 28734)] 0x00007fffc59ee0c6 in llvm::SSAUpdaterImpl::BuildBlockList(llvm::BasicBlock*, llvm::SmallVectorImpl::BBInfo*>*) () from /usr/lib/libLLVM-4.0svn.so #0 0x00007fffc59ee0c6 in llvm::SSAUpdaterImpl::BuildBlockList(llvm::BasicBlock*, llvm::SmallVectorImpl::BBInfo*>*) ()= at /usr/lib/libLLVM-4.0svn.so #1 0x00007fffc59f2acf in llvm::SSAUpdater::GetValueAtEndOfBlockInternal(llvm::BasicBlock*) () at /usr/lib/libLLVM-4.0svn.so #2 0x00007fffc59f942a in llvm::SSAUpdater::RewriteUseAfterInsertions(llvm::Use&) () at /usr/lib/libLLVM-4.0svn.so #3 0x00007fffc5cb7551 in (anonymous namespace)::StructurizeCFG::runOnRegion(llvm::Region*, llvm::RGPassManager&= ) () at /usr/lib/libLLVM-4.0svn.so #4 0x00007fffc5f3571c in llvm::RGPassManager::runOnFunction(llvm::Function= &) () at /usr/lib/libLLVM-4.0svn.so #5 0x00007fffc53c03a2 in llvm::FPPassManager::runOnFunction(llvm::Function= &) () at /usr/lib/libLLVM-4.0svn.so #6 0x00007fffc53c0443 in llvm::FPPassManager::runOnModule(llvm::Module&) (= ) at /usr/lib/libLLVM-4.0svn.so #7 0x00007fffc53c0a54 in llvm::legacy::PassManagerImpl::run(llvm::Module&)= () at /usr/lib/libLLVM-4.0svn.so #8 0x00007fffc61a5d57 in LLVMTargetMachineEmit(LLVMOpaqueTargetMachine*, LLVMOpaqueModule*, llvm::raw_pwrite_stream&, LLVMCodeGenFileType, char**) (= ) at /usr/lib/libLLVM-4.0svn.so #9 0x00007fffc61a6139 in LLVMTargetMachineEmitToMemoryBuffer () at /usr/lib/libLLVM-4.0svn.so #10 0x00007fffc889e7c3 in () at /usr/lib/xorg/modules/dri/radeonsi_dri.so #11 0x00007fffc8814605 in () at /usr/lib/xorg/modules/dri/radeonsi_dri.so #12 0x00007fffc88161d2 in () at /usr/lib/xorg/modules/dri/radeonsi_dri.so #13 0x00007fffc8822f73 in () at /usr/lib/xorg/modules/dri/radeonsi_dri.so #14 0x00007fffc868ec34 in () at /usr/lib/xorg/modules/dri/radeonsi_dri.so #15 0x00007fffc868e9f6 in () at /usr/lib/xorg/modules/dri/radeonsi_dri.so #16 0x00007ffff2636454 in start_thread () at /usr/lib/libpthread.so.0 #17 0x00007ffff1ad67df in clone () at /usr/lib/libc.so.6 --=20 You are receiving this mail because: You are the assignee for the bug.= --14744570780.B2AB16.7382 Date: Wed, 21 Sep 2016 11:24:38 +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 97887
Summary llvm segfault in janusvr -render vive
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 haagch@frickel.club
QA Contact dri-devel@lists.freedesktop.org

Created attachment 126700 [details]
stderr output with R600_DEBUG=3Dvs,tcs,tes,gs,ps,cs

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Ellesmere [Radeon RX 480] (rev c7)
mesa git, linux drm-next-4.9-wip, llvm 4.0.0svn_r282018

So I'm trying to start janusvr -render vive with the steamvr-osvr steamvr
plugin. Because osvr-rendermanager still doesn't do core profile, I start it
with

MESA_GL_VERSION_OVERRIDE=3D3.3COMPAT MESA_GLSL_VERSION_OVERRIDE=3D330 ./jan=
usvr
-render vive

But llvm segfaults:

Thread 12 "si_shader:1" received signal SIGSEGV, Segmentation fau=
lt.
[Switching to Thread 0x7fffc3568700 (LWP 28734)]
0x00007fffc59ee0c6 in
llvm::SSAUpdaterImpl<llvm::SSAUpdater>::BuildBlockList(llvm::BasicBlo=
ck*,
llvm::SmallVectorImpl<llvm::SSAUpdaterImpl<llvm::SSAUpdater>::BBIn=
fo*>*) ()
from /usr/lib/libLLVM-4.0svn.so
#0  0x00007fffc59ee0c6 in
llvm::SSAUpdaterImpl<llvm::SSAUpdater>::BuildBlockList(llvm::BasicBlo=
ck*,
llvm::SmallVectorImpl<llvm::SSAUpdaterImpl<llvm::SSAUpdater>::BBIn=
fo*>*) () at
/usr/lib/libLLVM-4.0svn.so
#1  0x00007fffc59f2acf in
llvm::SSAUpdater::GetValueAtEndOfBlockInternal(llvm::BasicBlock*) () at
/usr/lib/libLLVM-4.0svn.so
#2  0x00007fffc59f942a in
llvm::SSAUpdater::RewriteUseAfterInsertions(llvm::Use&) () at
/usr/lib/libLLVM-4.0svn.so
#3  0x00007fffc5cb7551 in (anonymous
namespace)::StructurizeCFG::runOnRegion(llvm::Region*, llvm::RGPassManager&=
amp;) ()
at /usr/lib/libLLVM-4.0svn.so
#4  0x00007fffc5f3571c in llvm::RGPassManager::runOnFunction(llvm::Function=
&)
() at /usr/lib/libLLVM-4.0svn.so
#5  0x00007fffc53c03a2 in llvm::FPPassManager::runOnFunction(llvm::Function=
&)
() at /usr/lib/libLLVM-4.0svn.so
#6  0x00007fffc53c0443 in llvm::FPPassManager::runOnModule(llvm::Module&=
;) () at
/usr/lib/libLLVM-4.0svn.so
#7  0x00007fffc53c0a54 in llvm::legacy::PassManagerImpl::run(llvm::Module&a=
mp;) ()
at /usr/lib/libLLVM-4.0svn.so
#8  0x00007fffc61a5d57 in LLVMTargetMachineEmit(LLVMOpaqueTargetMachine*,
LLVMOpaqueModule*, llvm::raw_pwrite_stream&, LLVMCodeGenFileType, char*=
*) () at
/usr/lib/libLLVM-4.0svn.so
#9  0x00007fffc61a6139 in LLVMTargetMachineEmitToMemoryBuffer () at
/usr/lib/libLLVM-4.0svn.so
#10 0x00007fffc889e7c3 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#11 0x00007fffc8814605 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#12 0x00007fffc88161d2 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#13 0x00007fffc8822f73 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#14 0x00007fffc868ec34 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#15 0x00007fffc868e9f6 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#16 0x00007ffff2636454 in start_thread () at /usr/lib/libpthread.so.0
#17 0x00007ffff1ad67df in clone () at /usr/lib/libc.so.6


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