Comment # 7
on bug 73781
from Török Edwin
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="" 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="" 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="" 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.
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel