** Attachment added: "test program to reproduce the bug"
   
https://bugs.launchpad.net/bugs/1017243/+attachment/3202890/+files/clutter-test.py

** Description changed:

- 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):
+ 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_argb8888 (ctx=0x807a218, dims=2, 
baseInternalFormat=6408, dstFormat=MESA_FORMAT_ARGB8888, dstRowStride=32768, 
dstSlices=0xbfffea98, 
-     srcWidth=3648, srcHeight=2736, srcDepth=1, srcFormat=6407, srcType=5121, 
srcAddr=0xa4fde008, srcPacking=0x8088cac) at main/texstore.c:1417
+ 0xb6d292a5 in _mesa_texstore_argb8888 (ctx=0x807a218, dims=2, 
baseInternalFormat=6408, dstFormat=MESA_FORMAT_ARGB8888, dstRowStride=32768, 
dstSlices=0xbfffea98,
+     srcWidth=3648, srcHeight=2736, srcDepth=1, srcFormat=6407, srcType=5121, 
srcAddr=0xa4fde008, srcPacking=0x8088cac) at main/texstore.c:1417
  1417  main/texstore.c: No such file or directory.
  (gdb) bt
- #0  0xb6d292a5 in _mesa_texstore_argb8888 (ctx=0x807a218, dims=2, 
baseInternalFormat=6408, dstFormat=MESA_FORMAT_ARGB8888, dstRowStride=32768, 
dstSlices=0xbfffea98, 
-     srcWidth=3648, srcHeight=2736, srcDepth=1, srcFormat=6407, srcType=5121, 
srcAddr=0xa4fde008, srcPacking=0x8088cac) at main/texstore.c:1417
- #1  0xb6d29f01 in _mesa_texstore (ctx=ctx@entry=0x807a218, dims=dims@entry=2, 
baseInternalFormat=6408, dstFormat=MESA_FORMAT_ARGB8888, dstRowStride=32768, 
-     dstSlices=dstSlices@entry=0xbfffea98, srcWidth=srcWidth@entry=3648, 
srcHeight=srcHeight@entry=2736, srcDepth=srcDepth@entry=1, 
srcFormat=srcFormat@entry=6407, 
-     srcType=srcType@entry=5121, srcAddr=srcAddr@entry=0xa4fde008, 
srcPacking=srcPacking@entry=0x8088cac) at main/texstore.c:4386
- #2  0xb6d2a173 in store_texsubimage (ctx=ctx@entry=0x807a218, 
texImage=texImage@entry=0x82a4e40, xoffset=xoffset@entry=1, 
yoffset=yoffset@entry=2739, 
-     zoffset=zoffset@entry=0, width=width@entry=3648, 
height=height@entry=2736, depth=depth@entry=1, format=format@entry=6407, 
type=type@entry=5121, 
-     pixels=pixels@entry=0xa4fde008, packing=packing@entry=0x8088cac, 
caller=caller@entry=0xb6e4efe5 "glTexSubImage2D") at main/texstore.c:4517
- #3  0xb6d2a795 in _mesa_store_texsubimage2d (ctx=ctx@entry=0x807a218, 
texImage=texImage@entry=0x82a4e40, xoffset=xoffset@entry=1, 
yoffset=yoffset@entry=2739, 
-     width=width@entry=3648, height=height@entry=2736, 
format=format@entry=6407, type=type@entry=5121, pixels=pixels@entry=0xa4fde008, 
packing=packing@entry=0x8088cac)
-     at main/texstore.c:4653
- #4  0xb6eeaf9a in intelTexSubImage2D (ctx=0x807a218, texImage=0x82a4e40, 
xoffset=1, yoffset=2739, width=3648, height=2736, format=6407, type=5121, 
pixels=0xa4fde008, 
-     packing=0x8088cac) at intel_tex_subimage.c:164
- #5  0xb6d1535c in texsubimage (ctx=0x807a218, dims=dims@entry=2, 
target=target@entry=3553, level=level@entry=0, xoffset=xoffset@entry=1, 
yoffset=yoffset@entry=2739, 
-     zoffset=zoffset@entry=0, width=width@entry=3648, 
height=height@entry=2736, depth=depth@entry=1, format=format@entry=6407, 
type=type@entry=5121, 
-     pixels=pixels@entry=0xa4fde008) at main/teximage.c:2808
- #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.c:2751
+ #0  0xb6d292a5 in _mesa_texstore_argb8888 (ctx=0x807a218, dims=2, 
baseInternalFormat=6408, dstFormat=MESA_FORMAT_ARGB8888, dstRowStride=32768, 
dstSlices=0xbfffea98,
+     srcWidth=3648, srcHeight=2736, srcDepth=1, srcFormat=6407, srcType=5121, 
srcAddr=0xa4fde008, srcPacking=0x8088cac) at main/texstore.c:1417
+ #1  0xb6d29f01 in _mesa_texstore (ctx=ctx@entry=0x807a218, dims=dims@entry=2, 
baseInternalFormat=6408, dstFormat=MESA_FORMAT_ARGB8888, dstRowStride=32768,
+     dstSlices=dstSlices@entry=0xbfffea98, srcWidth=srcWidth@entry=3648, 
srcHeight=srcHeight@entry=2736, srcDepth=srcDepth@entry=1, 
srcFormat=srcFormat@entry=6407,
+     srcType=srcType@entry=5121, srcAddr=srcAddr@entry=0xa4fde008, 
srcPacking=srcPacking@entry=0x8088cac) at main/texstore.c:4386
+ #2  0xb6d2a173 in store_texsubimage (ctx=ctx@entry=0x807a218, 
texImage=texImage@entry=0x82a4e40, xoffset=xoffset@entry=1, 
yoffset=yoffset@entry=2739,
+     zoffset=zoffset@entry=0, width=width@entry=3648, 
height=height@entry=2736, depth=depth@entry=1, format=format@entry=6407, 
type=type@entry=5121,
+     pixels=pixels@entry=0xa4fde008, packing=packing@entry=0x8088cac, 
caller=caller@entry=0xb6e4efe5 "glTexSubImage2D") at main/texstore.c:4517
+ #3  0xb6d2a795 in _mesa_store_texsubimage2d (ctx=ctx@entry=0x807a218, 
texImage=texImage@entry=0x82a4e40, xoffset=xoffset@entry=1, 
yoffset=yoffset@entry=2739,
+     width=width@entry=3648, height=height@entry=2736, 
format=format@entry=6407, type=type@entry=5121, pixels=pixels@entry=0xa4fde008, 
packing=packing@entry=0x8088cac)
+     at main/texstore.c:4653
+ #4  0xb6eeaf9a in intelTexSubImage2D (ctx=0x807a218, texImage=0x82a4e40, 
xoffset=1, yoffset=2739, width=3648, height=2736, format=6407, type=5121, 
pixels=0xa4fde008,
+     packing=0x8088cac) at intel_tex_subimage.c:164
+ #5  0xb6d1535c in texsubimage (ctx=0x807a218, dims=dims@entry=2, 
target=target@entry=3553, level=level@entry=0, xoffset=xoffset@entry=1, 
yoffset=yoffset@entry=2739,
+     zoffset=zoffset@entry=0, width=width@entry=3648, 
height=height@entry=2736, depth=depth@entry=1, format=format@entry=6407, 
type=type@entry=5121,
+     pixels=pixels@entry=0xa4fde008) at main/teximage.c:2808
+ #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.c:2751
  #7  _mesa_TexSubImage2D (target=3553, level=0, xoffset=1, yoffset=2739, 
width=3648, height=2736, format=6407, type=5121, pixels=0xa4fde008) at 
main/teximage.c:2853
- #8  0xb7a854c6 in _cogl_texture_driver_upload_subregion_to_gl 
(gl_target=3553, gl_handle=6, is_foreign=0, src_x=0, src_y=0, dst_x=1, 
dst_y=2739, width=3648, 
-     height=2736, source_bmp=0x8071af0, source_gl_format=6407, 
source_gl_type=5121) at ./driver/gl/cogl-texture-driver-gl.c:176
+ #8  0xb7a854c6 in _cogl_texture_driver_upload_subregion_to_gl 
(gl_target=3553, gl_handle=6, is_foreign=0, src_x=0, src_y=0, dst_x=1, 
dst_y=2739, width=3648,
+     height=2736, source_bmp=0x8071af0, source_gl_format=6407, 
source_gl_type=5121) at ./driver/gl/cogl-texture-driver-gl.c:176
  #9  0xb7ac014a in _cogl_texture_2d_set_region (tex=0x82a7ad0, src_x=0, 
src_y=0, dst_x=1, dst_y=2739, dst_width=3648, dst_height=2736, bmp=0x8071af0)
-     at ./cogl-texture-2d.c:783
- #10 0xb7abf004 in cogl_texture_set_region_from_bitmap_EXP (texture=0x82a7ad0, 
src_x=src_x@entry=0, src_y=src_y@entry=0, dst_x=1, dst_y=2739, 
-     dst_width=dst_width@entry=3648, dst_height=dst_height@entry=2736, 
bmp=bmp@entry=0x8071af0) at ./cogl-texture.c:641
- #11 0xb7ac60d2 in _cogl_atlas_texture_set_region_with_border 
(atlas_tex=atlas_tex@entry=0x82a6770, src_x=src_x@entry=0, src_y=src_y@entry=0, 
dst_x=dst_x@entry=0, 
-     dst_y=dst_y@entry=0, dst_width=dst_width@entry=3648, 
dst_height=dst_height@entry=2736, bmp=bmp@entry=0x8071af0) at 
./cogl-atlas-texture.c:445
- #12 0xb7ac6f9f in _cogl_atlas_texture_new_from_bitmap 
(bmp=bmp@entry=0x8071aa0, flags=flags@entry=COGL_TEXTURE_NONE, 
internal_format=<optimized out>, 
-     internal_format@entry=COGL_PIXEL_FORMAT_RGB_888) at 
./cogl-atlas-texture.c:768
+     at ./cogl-texture-2d.c:783
+ #10 0xb7abf004 in cogl_texture_set_region_from_bitmap_EXP (texture=0x82a7ad0, 
src_x=src_x@entry=0, src_y=src_y@entry=0, dst_x=1, dst_y=2739,
+     dst_width=dst_width@entry=3648, dst_height=dst_height@entry=2736, 
bmp=bmp@entry=0x8071af0) at ./cogl-texture.c:641
+ #11 0xb7ac60d2 in _cogl_atlas_texture_set_region_with_border 
(atlas_tex=atlas_tex@entry=0x82a6770, src_x=src_x@entry=0, src_y=src_y@entry=0, 
dst_x=dst_x@entry=0,
+     dst_y=dst_y@entry=0, dst_width=dst_width@entry=3648, 
dst_height=dst_height@entry=2736, bmp=bmp@entry=0x8071af0) at 
./cogl-atlas-texture.c:445
+ #12 0xb7ac6f9f in _cogl_atlas_texture_new_from_bitmap 
(bmp=bmp@entry=0x8071aa0, flags=flags@entry=COGL_TEXTURE_NONE, 
internal_format=<optimized out>,
+     internal_format@entry=COGL_PIXEL_FORMAT_RGB_888) at 
./cogl-atlas-texture.c:768
  #13 0xb7abe1fa in cogl_texture_new_from_bitmap (bitmap=0x8071aa0, 
flags=COGL_TEXTURE_NONE, internal_format=COGL_PIXEL_FORMAT_RGB_888) at 
./cogl-texture.c:366
- #14 0xb7abe3a4 in cogl_texture_new_from_file (filename=0x8268690 
"bilder-test/IMG_3147.JPG", flags=COGL_TEXTURE_NONE, 
internal_format=COGL_PIXEL_FORMAT_RGB_888, 
-     error=0xbfffee94) at ./cogl-texture.c:411
+ #14 0xb7abe3a4 in cogl_texture_new_from_file (filename=0x8268690 
"bilder-test/IMG_3147.JPG", flags=COGL_TEXTURE_NONE, 
internal_format=COGL_PIXEL_FORMAT_RGB_888,
+     error=0xbfffee94) at ./cogl-texture.c:411
  #15 0xb7f128e5 in clutter_texture_set_from_file () from 
/usr/lib/i386-linux-gnu/libclutter-1.0.so.0
  #16 0x08049731 in constructor (type=134571872, n_construct_params=0, 
construct_params=0x0) at picview-manager.c:141
  #17 0xb7e22689 in g_object_newv (object_type=object_type@entry=134571872, 
n_parameters=n_parameters@entry=0, parameters=parameters@entry=0x0)
-     at /build/buildd/glib2.0-2.33.2/./gobject/gobject.c:1637
+     at /build/buildd/glib2.0-2.33.2/./gobject/gobject.c:1637
  #18 0xb7e22c28 in g_object_new (object_type=134571872, 
first_property_name=first_property_name@entry=0x0) at 
/build/buildd/glib2.0-2.33.2/./gobject/gobject.c:1547
  #19 0x08049844 in picview_manager_get () at picview-manager.c:204
  #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-mesa-dri:i386                                        
8.0.3-0ubuntu1                           free implementation of the OpenGL API 
-- DRI modules
+ ii  libgl1-mesa-dri-dbg:i386                                    
8.0.3-0ubuntu1                           Debugging symbols for the Mesa DRI 
modules
+ ii  libgl1-mesa-glx:i386                                        
8.0.3-0ubuntu1                           free implementation of the OpenGL API 
-- GLX runtime
+ ii  libgl1-mesa-glx-dbg:i386                                    
8.0.3-0ubuntu1                           Debugging symbols for the Mesa GLX 
runtime
+ 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+git20110129+d8f7d6b-0ubuntu2       Miscellaneous Mesa GL utilities
+ 
+ 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

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1017243

Title:
  Program received signal SIGBUS, Bus error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1017243/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to