From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 69805] New: flightgear crashes on r600 (rs880)
Date: Wed, 25 Sep 2013 10:52:00 +0000 [thread overview]
Message-ID: <bug-69805-502@http.bugs.freedesktop.org/> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 5007 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=69805
Priority: medium
Bug ID: 69805
Assignee: dri-devel@lists.freedesktop.org
Summary: flightgear crashes on r600 (rs880)
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: marvin24@gmx.de
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa
flightgear 2.12 crashes on git mesa. Works with R600_LLVM=0. I initially
thought it is due to missing trig functions, but after applying a workaround
(from some other bug), it still crashes, so this must be something different.
environment init
Missing separate debuginfo for /usr/lib64/osgPlugins-3.0.1/osgdb_freetype.so
Try: zypper install -C
"debuginfo(build-id)=462971b0ab27e0a7e0e887d5a49071eda4dd3258"
Missing separate debuginfo for /usr/lib64/libfreetype.so.6
Try: zypper install -C
"debuginfo(build-id)=0d930f71e40c49e05024dd84de90ec2bbd703a02"
KMA20 audio panel initialized
KI266 dme indicator #0 initialized
Missing separate debuginfo for /usr/lib64/libXcursor.so.1
Try: zypper install -C
"debuginfo(build-id)=36dc7be208365a4e9d2c4e6e67bf20c04907fe97"
[New Thread 0x7fffc673e700 (LWP 4495)]
[New Thread 0x7fffc5f3d700 (LWP 4496)]
[Thread 0x7fffe5eca700 (LWP 4489) exited]
Electrical system initialized
Program received signal SIGSEGV, Segmentation fault.
0x00007fffea71f024 in r600_sb::bc_decoder::decode_alu(unsigned int&,
r600_sb::bc_alu&) () from /usr/lib64/dri/r600_dri.so
(gdb) bt
#0 0x00007fffea71f024 in r600_sb::bc_decoder::decode_alu(unsigned int&,
r600_sb::bc_alu&) () from /usr/lib64/dri/r600_dri.so
#1 0x00007fffea725982 in
r600_sb::bc_parser::decode_alu_group(r600_sb::cf_node*, unsigned int&, unsigned
int&) ()
from /usr/lib64/dri/r600_dri.so
#2 0x00007fffea725bbb in
r600_sb::bc_parser::decode_alu_clause(r600_sb::cf_node*) () from
/usr/lib64/dri/r600_dri.so
#3 0x00007fffea725d2b in r600_sb::bc_parser::decode_cf(unsigned int&, bool&)
() from /usr/lib64/dri/r600_dri.so
#4 0x00007fffea725d94 in r600_sb::bc_parser::decode_shader() () from
/usr/lib64/dri/r600_dri.so
#5 0x00007fffea725e8b in r600_sb::bc_parser::decode() () from
/usr/lib64/dri/r600_dri.so
#6 0x00007fffea72993f in r600_sb_bytecode_process () from
/usr/lib64/dri/r600_dri.so
#7 0x00007fffea7006e2 in ?? () from /usr/lib64/dri/r600_dri.so
#8 0x00007fffea7153cd in ?? () from /usr/lib64/dri/r600_dri.so
#9 0x00007fffea71555a in ?? () from /usr/lib64/dri/r600_dri.so
#10 0x00007fffea456864 in ?? () from /usr/lib64/dri/r600_dri.so
#11 0x00007fffea457386 in ?? () from /usr/lib64/dri/r600_dri.so
#12 0x00007fffea416ad7 in ?? () from /usr/lib64/dri/r600_dri.so
#13 0x00007fffea412e9f in ?? () from /usr/lib64/dri/r600_dri.so
#14 0x00007fffea429712 in ?? () from /usr/lib64/dri/r600_dri.so
#15 0x00007fffea4125db in ?? () from /usr/lib64/dri/r600_dri.so
#16 0x00007fffea2862c2 in ?? () from /usr/lib64/dri/r600_dri.so
#17 0x00007fffea2a51f8 in ?? () from /usr/lib64/dri/r600_dri.so
#18 0x00007ffff6a44364 in osgUtil::RenderLeaf::render(osg::RenderInfo&,
osgUtil::RenderLeaf*) () from /usr/lib64/libosgUtil.so.80
#19 0x00007ffff6a3e7e5 in
osgUtil::RenderBin::drawImplementation(osg::RenderInfo&, osgUtil::RenderLeaf*&)
()
from /usr/lib64/libosgUtil.so.80
#20 0x00007ffff6a3e824 in
osgUtil::RenderBin::drawImplementation(osg::RenderInfo&, osgUtil::RenderLeaf*&)
()
from /usr/lib64/libosgUtil.so.80
#21 0x00007ffff6a457c3 in
osgUtil::RenderStage::drawImplementation(osg::RenderInfo&,
osgUtil::RenderLeaf*&) ()
from /usr/lib64/libosgUtil.so.80
#22 0x00007ffff6a48c96 in osgUtil::RenderStage::drawInner(osg::RenderInfo&,
osgUtil::RenderLeaf*&, bool&) ()
from /usr/lib64/libosgUtil.so.80
#23 0x00007ffff6a488ba in osgUtil::RenderStage::draw(osg::RenderInfo&,
osgUtil::RenderLeaf*&) () from /usr/lib64/libosgUtil.so.80
#24 0x00007ffff6a524a5 in osgUtil::SceneView::draw() () from
/usr/lib64/libosgUtil.so.80
#25 0x00007ffff66743f5 in osgViewer::Renderer::cull_draw() () from
/usr/lib64/libosgViewer.so.80
#26 0x00007ffff60075f9 in osg::GraphicsContext::runOperations() () from
/usr/lib64/libosg.so.80
#27 0x00007ffff66a9964 in osgViewer::ViewerBase::renderingTraversals() () from
/usr/lib64/libosgViewer.so.80
#28 0x0000000000b2d7a5 in fgOSMainLoop() ()
#29 0x000000000064317a in fgMainInit(int, char**) ()
#30 0x000000000060a474 in main ()
(gdb)
workaround patch:
--- a/lib/Target/R600/R600Instructions.td
+++ b/lib/Target/R600/R600Instructions.td
@@ -1165,6 +1165,8 @@ let Predicates = [isR600] in {
def UINT_TO_FLT_r600 : UINT_TO_FLT_Common<0x6d>;
def SIN_r600 : SIN_Common<0x6E>;
def COS_r600 : COS_Common<0x6F>;
+ def : Pat<(fcos f32:$src),(COS_r600 $src)>;
+ def : Pat<(fsin f32:$src),(SIN_r600 $src)>;
def ASHR_r600 : ASHR_Common<0x70>;
def LSHR_r600 : LSHR_Common<0x71>;
def LSHL_r600 : LSHL_Common<0x72>;
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 6471 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2013-09-25 10:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-25 10:52 bugzilla-daemon [this message]
2013-09-25 11:08 ` [Bug 69805] flightgear crashes on r600 (rs880) bugzilla-daemon
2013-09-25 12:08 ` bugzilla-daemon
2013-09-25 13:07 ` bugzilla-daemon
2013-09-25 13:08 ` bugzilla-daemon
2013-09-25 14:00 ` bugzilla-daemon
2013-09-25 14:23 ` bugzilla-daemon
2013-09-25 15:14 ` [Bug 69805] flightgear crashes on r600 (rs880) with llvm backend bugzilla-daemon
2013-09-26 15:12 ` bugzilla-daemon
2013-09-27 13:34 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-69805-502@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).