Program received signal SIGBUS, Bus error.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mesa |
Fix Released
|
Unknown
|
|||
mesa (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
i'm using ubuntu 12.10 (i386) with latest updates installed (see end of dscription).
i'm trying to use clutter and textures and get a "Bus Error". The attached python program can reproduce the error. Here is a backtrace (produced with another C program):
Program received signal SIGBUS, Bus error.
0xb6d292a5 in _mesa_texstore_
srcWidth=3648, srcHeight=2736, srcDepth=1, srcFormat=6407, srcType=5121, srcAddr=0xa4fde008, srcPacking=
1417 main/texstore.c: No such file or directory.
(gdb) bt
#0 0xb6d292a5 in _mesa_texstore_
srcWidth=3648, srcHeight=2736, srcDepth=1, srcFormat=6407, srcType=5121, srcAddr=0xa4fde008, srcPacking=
#1 0xb6d29f01 in _mesa_texstore (ctx=ctx@
dstSlices=
srcType=
#2 0xb6d2a173 in store_texsubimage (ctx=ctx@
zoffset=
pixels=
#3 0xb6d2a795 in _mesa_store_
width=
at main/texstore.
#4 0xb6eeaf9a in intelTexSubImage2D (ctx=0x807a218, texImage=0x82a4e40, xoffset=1, yoffset=2739, width=3648, height=2736, format=6407, type=5121, pixels=0xa4fde008,
packing=
#5 0xb6d1535c in texsubimage (ctx=0x807a218, dims=dims@entry=2, target=
zoffset=
pixels=
#6 0xb6d18712 in texsubimage (pixels=0xa4fde008, type=5121, format=6407, depth=1, height=2736, width=3648, zoffset=0, yoffset=2739, xoffset=1, level=0, target=3553,
dims=2, ctx=<optimized out>) at main/teximage.
#7 _mesa_TexSubImage2D (target=3553, level=0, xoffset=1, yoffset=2739, width=3648, height=2736, format=6407, type=5121, pixels=0xa4fde008) at main/teximage.
#8 0xb7a854c6 in _cogl_texture_
height=2736, source_
#9 0xb7ac014a in _cogl_texture_
at ./cogl-
#10 0xb7abf004 in cogl_texture_
dst_
#11 0xb7ac60d2 in _cogl_atlas_
dst_
#12 0xb7ac6f9f in _cogl_atlas_
internal_
#13 0xb7abe1fa in cogl_texture_
#14 0xb7abe3a4 in cogl_texture_
error=
#15 0xb7f128e5 in clutter_
#16 0x08049731 in constructor (type=134571872, n_construct_
#17 0xb7e22689 in g_object_newv (object_
at /build/
#18 0xb7e22c28 in g_object_new (object_
#19 0x08049844 in picview_manager_get () at picview-
#20 0x08049076 in main (argc=1, argv=0xbffff0c4) at main.c:172
dpkg -l|grep mesa
ii libgl1-mesa-dev 8.0.3-0ubuntu1 free implementation of the OpenGL API -- GLX development files
ii libgl1-
ii libgl1-
ii libgl1-
ii libgl1-
ii libglapi-mesa:i386 8.0.3-0ubuntu1 free implementation of the GL API -- shared library
ii libglu1-mesa:i386 8.0.3-0ubuntu1 Mesa OpenGL utility library (GLU)
ii libglu1-mesa-dev 8.0.3-0ubuntu1 Mesa OpenGL utility library -- development files
ii mesa-common-dev 8.0.3-0ubuntu1 Developer documentation for Mesa
ii mesa-utils 8.0.1+git201101
uname -a
Linux banane 3.5.0-1-generic #1-Ubuntu SMP Tue Jun 19 14:25:38 UTC 2012 i686 i686 i686 GNU/Linux
Changed in mesa: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in mesa: | |
status: | Confirmed → Incomplete |
Changed in mesa: | |
status: | Incomplete → Unknown |
Changed in mesa: | |
status: | Unknown → Fix Released |
Created attachment 63414
clutter test prigram to reproduce the bug
i'm trying to use clutter and textures and get a "Bus Error". The attached python program can reproduce the error. Here is a backtrace (produced with another C program):
Program received signal SIGBUS, Bus error. argb8888 (ctx=0x807a218, dims=2, baseInternalFor mat=6408, dstFormat= MESA_FORMAT_ ARGB8888, dstRowStride=32768, dstSlices= 0xbfffea98, 0x8088cac) at main/texstore. c:1417 argb8888 (ctx=0x807a218, dims=2, baseInternalFor mat=6408, dstFormat= MESA_FORMAT_ ARGB8888, dstRowStride=32768, dstSlices= 0xbfffea98, 0x8088cac) at main/texstore. c:1417 entry=0x807a218 , dims=dims@entry=2, baseInternalFor mat=6408, dstFormat= MESA_FORMAT_ ARGB8888, dstRowStride=32768, dstSlices@ entry=0xbfffea9 8, srcWidth= srcWidth@ entry=3648, srcHeight= srcHeight@ entry=2736, srcDepth= srcDepth@ entry=1, srcFormat= srcFormat@ entry=6407, srcType@ entry=5121, srcAddr= srcAddr@ entry=0xa4fde00 8, srcPacking= srcPacking@ entry=0x8088cac ) at main/texstore. c:4386 entry=0x807a218 , texImage= texImage@ entry=0x82a4e40 , xoffset= xoffset@ entry=1, yoffset= yoffset@ entry=2739, zoffset@ entry=0, width=width@ entry=3648, height= height@ entry=2736, depth=depth@ entry=1, format= format@ entry=6407, type=type@ entry=5121, pixels@ entry=0xa4fde00 8, packing= packing@ entry=0x8088cac , caller= caller@ entry=0xb6e4efe 5 "glTexSubImage2D") at main/texstore. c:4517 texsubimage2d (ctx=ctx@ entry=0x807a218 , texImage= texImage@ entry=0x82a4e40 , xoffset= xoffset@ entry=1, yoffset= yoffset@ entry=2739, width@entry= 3648, height= height@ entry=2736, format= format@ entry=6407, type=type@ entry=5121, pixels= pixels@ entry=0xa4fde00 8, packing= packing@ entry=0x8088cac ) c:4653 0x8088cac) at intel_tex_ subimage. c:164 target@ entry=3553, level=level@ entry=0, xoffset= xoffset@ entry=1, yoffset= yoffset@ entry=2739, zoffset@ entry=0, width=width@ entry=3648, height= height@ entry=2736, depth=depth@ entry=1, format= format@ entry=6407, type=type@ entry=5121, pixels@ entry=0xa4fde00 8) at main/teximage. c:2808 c:2751 c:2853 driver_ ...
0xb6d292a5 in _mesa_texstore_
srcWidth=3648, srcHeight=2736, srcDepth=1, srcFormat=6407, srcType=5121, srcAddr=0xa4fde008, srcPacking=
1417 main/texstore.c: No such file or directory.
(gdb) bt
#0 0xb6d292a5 in _mesa_texstore_
srcWidth=3648, srcHeight=2736, srcDepth=1, srcFormat=6407, srcType=5121, srcAddr=0xa4fde008, srcPacking=
#1 0xb6d29f01 in _mesa_texstore (ctx=ctx@
dstSlices=
srcType=
#2 0xb6d2a173 in store_texsubimage (ctx=ctx@
zoffset=
pixels=
#3 0xb6d2a795 in _mesa_store_
width=
at main/texstore.
#4 0xb6eeaf9a in intelTexSubImage2D (ctx=0x807a218, texImage=0x82a4e40, xoffset=1, yoffset=2739, width=3648, height=2736, format=6407, type=5121, pixels=0xa4fde008,
packing=
#5 0xb6d1535c in texsubimage (ctx=0x807a218, dims=dims@entry=2, target=
zoffset=
pixels=
#6 0xb6d18712 in texsubimage (pixels=0xa4fde008, type=5121, format=6407, depth=1, height=2736, width=3648, zoffset=0, yoffset=2739, xoffset=1, level=0, target=3553,
dims=2, ctx=<optimized out>) at main/teximage.
#7 _mesa_TexSubImage2D (target=3553, level=0, xoffset=1, yoffset=2739, width=3648, height=2736, format=6407, type=5121, pixels=0xa4fde008) at main/teximage.
#8 0xb7a854c6 in _cogl_texture_