From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@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 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1946163061==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 21087FAA2D for ; Sat, 1 Mar 2014 06:03:15 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1946163061== Content-Type: multipart/alternative; boundary="1393682595.EeFf2.30874"; charset="us-ascii" --1393682595.EeFf2.30874 Date: Sat, 1 Mar 2014 14:03:15 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D73781 --- Comment #7 from T=C3=B6r=C3=B6k Edwin --- This also affects FlightGear 3.0. If you set View->Rendering Options->Quali= ty to 5 then it crashes with a SIGFPE. I tested the patch from https://bugs.freedesktop.org/attachment.cgi?id=3D92= 645 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=3D0x12ca8f0, dst=3D0xc8f67f0, dst_level=3D0, dst_x=3D0, dst_y=3D0, dst_z=3D0,=20 src=3D0xc8f7660, src_level=3D0, src_x=3D0, src_y=3D0, src_z=3D0, copy_h= eight=3D1024, pitch=3D32768, bpp=3D16) at r600_state.c:3285 3285 ncopy =3D (copy_height / cheight) + !!(copy_height % cheigh= t); (gdb) bt #0 0x00007ffff22ddeb5 in r600_dma_copy_tile (rctx=3D0x12ca8f0, dst=3D0xc8f= 67f0, dst_level=3D0, dst_x=3D0, dst_y=3D0, dst_z=3D0,=20 src=3D0xc8f7660, src_level=3D0, src_x=3D0, src_y=3D0, src_z=3D0, copy_h= eight=3D1024, pitch=3D32768, bpp=3D16) at r600_state.c:3285 #1 0x00007ffff22de573 in r600_dma_blit (ctx=3D0x12ca8f0, dst=3D0xc8f67f0, dst_level=3D0, dst_x=3D0, dst_y=3D0, dst_z=3D0, src=3D0xc8f7660,=20 src_level=3D0, src_box=3D0x7fffffffc630) at r600_state.c:3386 #2 0x00007ffff2363181 in r600_copy_from_staging_texture (ctx=3D0x12ca8f0, rtransfer=3D0xc5a09a0) at r600_texture.c:108 #3 0x00007ffff2365a83 in r600_texture_transfer_unmap (ctx=3D0x12ca8f0, transfer=3D0xc5a09a0) at r600_texture.c:1062 #4 0x00007ffff21f577c in u_transfer_unmap_vtbl (pipe=3D0x12ca8f0, transfer=3D0xc5a09a0) at util/u_transfer.c:138 #5 0x00007ffff2044a85 in pipe_transfer_unmap (context=3D0x12ca8f0, transfer=3D0xc5a09a0) at ../../src/gallium/auxiliary/util/u_inlines.h:481 #6 0x00007ffff20451b1 in st_texture_image_unmap (st=3D0x13515b0, stImage=3D0xc8f2c60) at state_tracker/st_texture.c:273 #7 0x00007ffff2019d36 in st_UnmapTextureImage (ctx=3D0x7ffff0e9d010, texImage=3D0xc8f2c60, slice=3D0) at state_tracker/st_cb_texture.c:224 #8 0x00007ffff1f94523 in store_texsubimage (ctx=3D0x7ffff0e9d010, texImage=3D0xc8f2c60, xoffset=3D0, yoffset=3D0, zoffset=3D0,=20 width=3D8192, height=3D4096, depth=3D1, format=3D6408, type=3D5121, pixels=3D0x7fffb2ffe010, packing=3D0x7ffff0eb9180,=20 caller=3D0x7ffff2bf12b5 "glTexSubImage") at main/texstore.c:4108 #9 0x00007ffff1f94722 in _mesa_store_texsubimage (ctx=3D0x7ffff0e9d010, di= ms=3D2, texImage=3D0xc8f2c60, xoffset=3D0, yoffset=3D0,=20 zoffset=3D0, width=3D8192, height=3D4096, depth=3D1, format=3D6408, typ= e=3D5121, pixels=3D0x7fffb2ffe010, packing=3D0x7ffff0eb9180) at main/texstore.c:4165 #10 0x00007ffff201ae92 in st_TexSubImage (ctx=3D0x7ffff0e9d010, dims=3D2, texImage=3D0xc8f2c60, xoffset=3D0, yoffset=3D0, zoffset=3D0,=20 width=3D8192, height=3D4096, depth=3D1, format=3D6408, type=3D5121, pixels=3D0x7fffb2ffe010, unpack=3D0x7ffff0eb9180) at state_tracker/st_cb_texture.c:787 #11 0x00007ffff201afda in st_TexImage (ctx=3D0x7ffff0e9d010, dims=3D2, texImage=3D0xc8f2c60, format=3D6408, type=3D5121,=20 pixels=3D0x7fffb2ffe010, unpack=3D0x7ffff0eb9180) at state_tracker/st_cb_texture.c:811 #12 0x00007ffff1f7b271 in teximage (ctx=3D0x7ffff0e9d010, compressed=3D0 '\= 000', dims=3D2, target=3D3553, level=3D0,=20 internalFormat=3D34030, width=3D8192, height=3D4096, depth=3D1, border= =3D0, format=3D6408, type=3D5121, imageSize=3D0,=20 pixels=3D0x7fffb2ffe010) at main/teximage.c:3243 #13 0x00007ffff1f7b407 in _mesa_TexImage2D (target=3D3553, level=3D0, internalFormat=3D34030, width=3D8192, height=3D4096, border=3D0,=20 format=3D6408, type=3D5121, pixels=3D0x7fffb2ffe010) 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, osg::State::AttributeStack, std::less >, std::allocator const, osg::State::AttributeStack> > >&, std::map, std::pair, unsigned int>, std::less >, std::allocator const, std::pair, unsigned int> > > > con= st&) () from /usr/lib/libosg.so.99 #18 0x00007ffff5c43d17 in osg::State::apply(osg::StateSet const*) () from /usr/lib/libosg.so.99 --=20 You are receiving this mail because: You are the assignee for the bug. --1393682595.EeFf2.30874 Date: Sat, 1 Mar 2014 14:03:15 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 7 on bug 73781<= /a> from T=C3=B6r=C3=B6k Edwin
This also affects FlightGear 3.0. If you set View->Renderin=
g Options->Quality
to 5 then it crashes with a SIGFPE.

I tested the patch from https://bugs.freedesktop.org/attachment.cgi?id=3D92645 =
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=3D0x12ca8f0, dst=3D0xc8f67f0,
dst_level=3D0, dst_x=3D0, dst_y=3D0, dst_z=3D0,=20
    src=3D0xc8f7660, src_level=3D0, src_x=3D0, src_y=3D0, src_z=3D0, copy_h=
eight=3D1024,
pitch=3D32768, bpp=3D16) at r600_state.c:3285
3285            ncopy =3D (copy_height / cheight) + !!(copy_height % cheigh=
t);
(gdb) bt
#0  0x00007ffff22ddeb5 in r600_dma_copy_tile (rctx=3D0x12ca8f0, dst=3D0xc8f=
67f0,
dst_level=3D0, dst_x=3D0, dst_y=3D0, dst_z=3D0,=20
    src=3D0xc8f7660, src_level=3D0, src_x=3D0, src_y=3D0, src_z=3D0, copy_h=
eight=3D1024,
pitch=3D32768, bpp=3D16) at r600_state.c:3285
#1  0x00007ffff22de573 in r600_dma_blit (ctx=3D0x12ca8f0, dst=3D0xc8f67f0,
dst_level=3D0, dst_x=3D0, dst_y=3D0, dst_z=3D0, src=3D0xc8f7660,=20
    src_level=3D0, src_box=3D0x7fffffffc630) at r600_state.c:3386
#2  0x00007ffff2363181 in r600_copy_from_staging_texture (ctx=3D0x12ca8f0,
rtransfer=3D0xc5a09a0) at r600_texture.c:108
#3  0x00007ffff2365a83 in r600_texture_transfer_unmap (ctx=3D0x12ca8f0,
transfer=3D0xc5a09a0) at r600_texture.c:1062
#4  0x00007ffff21f577c in u_transfer_unmap_vtbl (pipe=3D0x12ca8f0,
transfer=3D0xc5a09a0) at util/u_transfer.c:138
#5  0x00007ffff2044a85 in pipe_transfer_unmap (context=3D0x12ca8f0,
transfer=3D0xc5a09a0)
    at ../../src/gallium/auxiliary/util/u_inlines.h:481
#6  0x00007ffff20451b1 in st_texture_image_unmap (st=3D0x13515b0,
stImage=3D0xc8f2c60) at state_tracker/st_texture.c:273
#7  0x00007ffff2019d36 in st_UnmapTextureImage (ctx=3D0x7ffff0e9d010,
texImage=3D0xc8f2c60, slice=3D0)
    at state_tracker/st_cb_texture.c:224
#8  0x00007ffff1f94523 in store_texsubimage (ctx=3D0x7ffff0e9d010,
texImage=3D0xc8f2c60, xoffset=3D0, yoffset=3D0, zoffset=3D0,=20
    width=3D8192, height=3D4096, depth=3D1, format=3D6408, type=3D5121,
pixels=3D0x7fffb2ffe010, packing=3D0x7ffff0eb9180,=20
    caller=3D0x7ffff2bf12b5 "glTexSubImage") at main/texstore.c:4=
108
#9  0x00007ffff1f94722 in _mesa_store_texsubimage (ctx=3D0x7ffff0e9d010, di=
ms=3D2,
texImage=3D0xc8f2c60, xoffset=3D0, yoffset=3D0,=20
    zoffset=3D0, width=3D8192, height=3D4096, depth=3D1, format=3D6408, typ=
e=3D5121,
pixels=3D0x7fffb2ffe010, packing=3D0x7ffff0eb9180)
    at main/texstore.c:4165
#10 0x00007ffff201ae92 in st_TexSubImage (ctx=3D0x7ffff0e9d010, dims=3D2,
texImage=3D0xc8f2c60, xoffset=3D0, yoffset=3D0, zoffset=3D0,=20
    width=3D8192, height=3D4096, depth=3D1, format=3D6408, type=3D5121,
pixels=3D0x7fffb2ffe010, unpack=3D0x7ffff0eb9180)
    at state_tracker/st_cb_texture.c:787
#11 0x00007ffff201afda in st_TexImage (ctx=3D0x7ffff0e9d010, dims=3D2,
texImage=3D0xc8f2c60, format=3D6408, type=3D5121,=20
    pixels=3D0x7fffb2ffe010, unpack=3D0x7ffff0eb9180) at
state_tracker/st_cb_texture.c:811
#12 0x00007ffff1f7b271 in teximage (ctx=3D0x7ffff0e9d010, compressed=3D0 '\=
000',
dims=3D2, target=3D3553, level=3D0,=20
    internalFormat=3D34030, width=3D8192, height=3D4096, depth=3D1, border=
=3D0,
format=3D6408, type=3D5121, imageSize=3D0,=20
    pixels=3D0x7fffb2ffe010) at main/teximage.c:3243
#13 0x00007ffff1f7b407 in _mesa_TexImage2D (target=3D3553, level=3D0,
internalFormat=3D34030, width=3D8192, height=3D4096, border=3D0,=20
    format=3D6408, type=3D5121, pixels=3D0x7fffb2ffe010) 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 () f=
rom
/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::Sta=
teAttribute::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, unsi=
gned int>
const, std::pair<osg::ref_ptr<osg::StateAttribute>, unsigned int&g=
t; > > > 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: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1393682595.EeFf2.30874-- --===============1946163061== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1946163061==--