From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 73781] [r600g] SIGFPE at ../../../../../src/gallium/drivers/r600/r600_state.c:3109
Date: Sat, 01 Mar 2014 14:03:15 +0000 [thread overview]
Message-ID: <bug-73781-502-pHuxvsjx4F@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-73781-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 4798 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=73781
--- Comment #7 from Török Edwin <edwin+mesa@etorok.net> ---
This also affects FlightGear 3.0. If you set View->Rendering Options->Quality
to 5 then it crashes with a SIGFPE.
I tested the patch from https://bugs.freedesktop.org/attachment.cgi?id=92645 on
top of Mesa 10.1 git branch and it worked, no more SIGFPE.
Stacktrace of SIGFPE without the patch:
0x00007ffff22ddeb5 in r600_dma_copy_tile (rctx=0x12ca8f0, dst=0xc8f67f0,
dst_level=0, dst_x=0, dst_y=0, dst_z=0,
src=0xc8f7660, src_level=0, src_x=0, src_y=0, src_z=0, copy_height=1024,
pitch=32768, bpp=16) at r600_state.c:3285
3285 ncopy = (copy_height / cheight) + !!(copy_height % cheight);
(gdb) bt
#0 0x00007ffff22ddeb5 in r600_dma_copy_tile (rctx=0x12ca8f0, dst=0xc8f67f0,
dst_level=0, dst_x=0, dst_y=0, dst_z=0,
src=0xc8f7660, src_level=0, src_x=0, src_y=0, src_z=0, copy_height=1024,
pitch=32768, bpp=16) at r600_state.c:3285
#1 0x00007ffff22de573 in r600_dma_blit (ctx=0x12ca8f0, dst=0xc8f67f0,
dst_level=0, dst_x=0, dst_y=0, dst_z=0, src=0xc8f7660,
src_level=0, src_box=0x7fffffffc630) at r600_state.c:3386
#2 0x00007ffff2363181 in r600_copy_from_staging_texture (ctx=0x12ca8f0,
rtransfer=0xc5a09a0) at r600_texture.c:108
#3 0x00007ffff2365a83 in r600_texture_transfer_unmap (ctx=0x12ca8f0,
transfer=0xc5a09a0) at r600_texture.c:1062
#4 0x00007ffff21f577c in u_transfer_unmap_vtbl (pipe=0x12ca8f0,
transfer=0xc5a09a0) at util/u_transfer.c:138
#5 0x00007ffff2044a85 in pipe_transfer_unmap (context=0x12ca8f0,
transfer=0xc5a09a0)
at ../../src/gallium/auxiliary/util/u_inlines.h:481
#6 0x00007ffff20451b1 in st_texture_image_unmap (st=0x13515b0,
stImage=0xc8f2c60) at state_tracker/st_texture.c:273
#7 0x00007ffff2019d36 in st_UnmapTextureImage (ctx=0x7ffff0e9d010,
texImage=0xc8f2c60, slice=0)
at state_tracker/st_cb_texture.c:224
#8 0x00007ffff1f94523 in store_texsubimage (ctx=0x7ffff0e9d010,
texImage=0xc8f2c60, xoffset=0, yoffset=0, zoffset=0,
width=8192, height=4096, depth=1, format=6408, type=5121,
pixels=0x7fffb2ffe010, packing=0x7ffff0eb9180,
caller=0x7ffff2bf12b5 "glTexSubImage") at main/texstore.c:4108
#9 0x00007ffff1f94722 in _mesa_store_texsubimage (ctx=0x7ffff0e9d010, dims=2,
texImage=0xc8f2c60, xoffset=0, yoffset=0,
zoffset=0, width=8192, height=4096, depth=1, format=6408, type=5121,
pixels=0x7fffb2ffe010, packing=0x7ffff0eb9180)
at main/texstore.c:4165
#10 0x00007ffff201ae92 in st_TexSubImage (ctx=0x7ffff0e9d010, dims=2,
texImage=0xc8f2c60, xoffset=0, yoffset=0, zoffset=0,
width=8192, height=4096, depth=1, format=6408, type=5121,
pixels=0x7fffb2ffe010, unpack=0x7ffff0eb9180)
at state_tracker/st_cb_texture.c:787
#11 0x00007ffff201afda in st_TexImage (ctx=0x7ffff0e9d010, dims=2,
texImage=0xc8f2c60, format=6408, type=5121,
pixels=0x7fffb2ffe010, unpack=0x7ffff0eb9180) at
state_tracker/st_cb_texture.c:811
#12 0x00007ffff1f7b271 in teximage (ctx=0x7ffff0e9d010, compressed=0 '\000',
dims=2, target=3553, level=0,
internalFormat=34030, width=8192, height=4096, depth=1, border=0,
format=6408, type=5121, imageSize=0,
pixels=0x7fffb2ffe010) at main/teximage.c:3243
#13 0x00007ffff1f7b407 in _mesa_TexImage2D (target=3553, level=0,
internalFormat=34030, width=8192, height=4096, border=0,
format=6408, type=5121, pixels=0x7fffb2ffe010) at main/teximage.c:3282
#14 0x00007ffff5c74bb1 in osg::Texture::applyTexImage2D_load(osg::State&,
unsigned int, osg::Image const*, int, int, int) const
() from /usr/lib/libosg.so.99
#15 0x00007ffff5c68f22 in osg::Texture2D::apply(osg::State&) const () from
/usr/lib/libosg.so.99
#16 0x00007ffff5c461f2 in osg::State::applyAttributeOnTexUnit(unsigned int,
osg::StateAttribute const*, osg::State::AttributeStack&) () from
/usr/lib/libosg.so.99
#17 0x00007ffff5c4945e in osg::State::applyAttributeListOnTexUnit(unsigned int,
std::map<std::pair<osg::StateAttribute::Type, unsigned int>,
osg::State::AttributeStack, std::less<std::pair<osg::StateAttribute::Type,
unsigned int> >, std::allocator<std::pair<std::pair<osg::StateAttribute::Type,
unsigned int> const, osg::State::AttributeStack> > >&,
std::map<std::pair<osg::StateAttribute::Type, unsigned int>,
std::pair<osg::ref_ptr<osg::StateAttribute>, unsigned int>,
std::less<std::pair<osg::StateAttribute::Type, unsigned int> >,
std::allocator<std::pair<std::pair<osg::StateAttribute::Type, unsigned int>
const, std::pair<osg::ref_ptr<osg::StateAttribute>, unsigned int> > > > const&)
() from /usr/lib/libosg.so.99
#18 0x00007ffff5c43d17 in osg::State::apply(osg::StateSet const*) () from
/usr/lib/libosg.so.99
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 5857 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 prev parent reply other threads:[~2014-03-01 14:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-19 2:07 [Bug 73781] New: [r600g] SIGFPE at at ../../../../../src/gallium/drivers/r600/r600_state.c:3109 bugzilla-daemon
2014-01-19 2:11 ` [Bug 73781] [r600g] SIGFPE " bugzilla-daemon
2014-01-19 20:03 ` bugzilla-daemon
2014-01-23 6:25 ` bugzilla-daemon
2014-01-23 7:50 ` bugzilla-daemon
2014-01-23 8:22 ` bugzilla-daemon
2014-01-23 8:23 ` bugzilla-daemon
2014-02-17 14:08 ` bugzilla-daemon
2014-02-17 15:28 ` bugzilla-daemon
2014-03-01 14:03 ` bugzilla-daemon [this message]
2014-04-28 11:49 ` bugzilla-daemon
2014-05-02 3:43 ` bugzilla-daemon
2014-05-05 20:44 ` bugzilla-daemon
2014-05-05 21:51 ` bugzilla-daemon
2014-05-06 14:30 ` bugzilla-daemon
2019-09-18 19:13 ` 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-73781-502-pHuxvsjx4F@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