[Intel-gfx] Bus error in _mesa_texstore_argb8888

tomw tomw at ubilix.com
Fri Feb 24 11:39:02 CET 2012


Hi,

after loading quite some objects from a ClutterListModel into a
ClutterListView I'm running into a Bus error as soon as I try to render
the Listview. As far as I read the gdb output it happens either in
_mesa_texstore_argb8888. Pls. see the gdb trace below. Is there a way to
fix it by configuration or is it rather a bug in the code. I'm using the
latest Q4 stack on an i3-2100T. The Bus error only happens if the number
of objects exceeds a certain level (> ~70 objects with images and text).

thanks, tomw

Program received signal SIGBUS, Bus error.
0x00007fffedab9eb2 in _mesa_texstore_argb8888 (ctx=<optimized out>, dims=2, baseInternalFormat=<optimized out>, dstFormat=<optimized out>, dstAddr=0x7fffa5bf1000, dstXoffset=<optimized out>, 
    dstYoffset=7438, dstZoffset=0, dstRowStride=32768, dstImageOffsets=0x64d07e0, srcWidth=160, srcHeight=160, srcDepth=1, srcFormat=6408, srcType=5121, srcAddr=0x64f2400, srcPacking=0xc6a150)
    at main/texstore.c:1510
1510	               d4[col] = PACK_COLOR_8888(srcRow[col * 4 + ACOMP],
(gdb) bt
#0  0x00007fffedab9eb2 in _mesa_texstore_argb8888 (ctx=<optimized out>, dims=2, baseInternalFormat=<optimized out>, dstFormat=<optimized out>, dstAddr=0x7fffa5bf1000, 
    dstXoffset=<optimized out>, dstYoffset=7438, dstZoffset=0, dstRowStride=32768, dstImageOffsets=0x64d07e0, srcWidth=160, srcHeight=160, srcDepth=1, srcFormat=6408, srcType=5121, 
    srcAddr=0x64f2400, srcPacking=0xc6a150) at main/texstore.c:1510
#1  0x00007fffed9dbcc9 in intelTexSubimage (ctx=0xc5aac0, dims=2, target=3553, level=0, xoffset=<optimized out>, yoffset=<optimized out>, zoffset=0, width=160, height=160, depth=1, imageSize=0, 
    format=6408, type=5121, pixels=0x64f2400, packing=0xc6a150, texImage=0x64d8ae0, compressed=0 '\000', texObj=<optimized out>) at intel_tex_subimage.c:157
#2  0x00007fffed9dc15e in intelTexSubImage2D (ctx=<optimized out>, target=<optimized out>, level=<optimized out>, xoffset=<optimized out>, yoffset=<optimized out>, width=<optimized out>, 
    height=160, format=6408, type=5121, pixels=0x64f2400, packing=0xc6a150, texObj=0x64d8400, texImage=0x64d8ae0) at intel_tex_subimage.c:232
#3  0x00007fffedaa9795 in texsubimage (ctx=0xc5aac0, dims=2, target=3553, level=0, xoffset=2288, yoffset=7438, zoffset=0, width=160, height=160, depth=1, format=6408, type=5121, 
    pixels=0x64f2400) at main/teximage.c:2710
#4  0x00007fffedaac3ab in texsubimage (pixels=0x64f2400, type=5121, format=6408, depth=1, height=<optimized out>, width=<optimized out>, zoffset=0, yoffset=<optimized out>, 
    xoffset=<optimized out>, level=<optimized out>, target=3553, dims=2, ctx=<optimized out>) at main/teximage.c:2652
#5  _mesa_TexSubImage2D (target=3553, level=<optimized out>, xoffset=<optimized out>, yoffset=<optimized out>, width=<optimized out>, height=<optimized out>, format=6408, type=5121, 
    pixels=0x64f2400) at main/teximage.c:2757
#6  0x00007ffff1ee6f3c in _cogl_texture_driver_upload_subregion_to_gl (gl_target=3553, gl_handle=21, is_foreign=0, src_x=0, src_y=0, dst_x=2288, dst_y=7438, width=160, height=160, 
    source_bmp=0x5bd9b00, source_gl_format=6408, source_gl_type=5121) at ./driver/gl/cogl-texture-driver-gl.c:176
#7  0x00007ffff1f16388 in _cogl_texture_2d_set_region (tex=0x64d5310, src_x=0, src_y=0, dst_x=2288, dst_y=7438, dst_width=160, dst_height=160, bmp=0x5bd9b00) at ./cogl-texture-2d.c:843
#8  0x00007ffff1f1b9f5 in _cogl_atlas_texture_set_region_with_border (atlas_tex=<optimized out>, src_x=0, src_y=0, dst_x=0, dst_y=0, dst_width=160, dst_height=160, bmp=0x5bd9b00)
    at ./cogl-atlas-texture.c:440
#9  0x00007ffff1f1c579 in _cogl_atlas_texture_new_from_bitmap (bmp=<optimized out>, flags=COGL_TEXTURE_NONE, internal_format=<optimized out>) at ./cogl-atlas-texture.c:763
#10 0x00007ffff1f14730 in cogl_texture_new_from_bitmap (bmp_handle=0x7fffd807b570, flags=COGL_TEXTURE_NONE, internal_format=COGL_PIXEL_FORMAT_RGBA_8888_PRE) at ./cogl-texture.c:462
#11 0x00007ffff1f148af in cogl_texture_new_from_file (filename=<optimized out>, flags=COGL_TEXTURE_NONE, internal_format=<optimized out>, error=<optimized out>) at ./cogl-texture.c:506
#12 0x00007ffff2d221b9 in clutter_texture_set_from_file (texture=0x63f9bf0, filename=0x64d2800 "/home/test/images/video2.png", error=0x0)
    at ./clutter-texture.c:2052
-- 
tomw <tomw at ubilix.com>




More information about the Intel-gfx mailing list