Bug 55117 - [llvmpipe] piglit tex3d-maxsize regression
Summary: [llvmpipe] piglit tex3d-maxsize regression
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-19 18:55 UTC by Vinson Lee
Modified: 2012-09-20 15:48 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2012-09-19 18:55:47 UTC
mesa: 5abb1f8bdee611b365fcd35f5a7adc9af9dc179f

$ ./bin/tex3d-maxsize -auto
Segmentation fault (core dumped)

(gdb) bt
#0  __memcpy_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1631
#1  0x00007f222614985b in memcpy_texture (ctx=0x6f6630, dimensions=3, dstFormat=MESA_FORMAT_RGBA8888_REV, dstRowStride=4096, dstSlices=0x7fffaa614258, srcWidth=1024, 
    srcHeight=1024, srcDepth=1, srcFormat=6408, srcType=5121, srcAddr=0x7f2220a37010, srcPacking=0x6fcec8) at src/mesa/main/texstore.c:950
#2  0x00007f222614a4f8 in _mesa_texstore_rgba8888 (ctx=0x6f6630, dims=3, baseInternalFormat=6408, dstFormat=MESA_FORMAT_RGBA8888_REV, dstRowStride=4096, dstSlices=0x7fffaa614258, 
    srcWidth=1024, srcHeight=1024, srcDepth=1, srcFormat=6408, srcType=5121, srcAddr=0x7f2220a37010, srcPacking=0x6fcec8) at src/mesa/main/texstore.c:1249
#3  0x00007f2226152ea7 in _mesa_texstore (ctx=0x6f6630, dims=3, baseInternalFormat=6408, dstFormat=MESA_FORMAT_RGBA8888_REV, dstRowStride=4096, dstSlices=0x7fffaa614258, 
    srcWidth=1024, srcHeight=1024, srcDepth=1, srcFormat=6408, srcType=5121, srcAddr=0x7f2220a37010, srcPacking=0x6fcec8) at src/mesa/main/texstore.c:4216
#4  0x00007f2226153360 in store_texsubimage (ctx=0x6f6630, texImage=0x7d4680, xoffset=0, yoffset=0, zoffset=0, width=1024, height=1024, depth=1, format=6408, type=5121, 
    pixels=0x7f2220a37010, packing=0x6fcec8, caller=0x7f2226b6ba15 "glTexSubImage") at src/mesa/main/texstore.c:4347
#5  0x00007f2226153596 in _mesa_store_texsubimage (ctx=0x6f6630, dims=3, texImage=0x7d4680, xoffset=0, yoffset=0, zoffset=0, width=1024, height=1024, depth=1, format=6408, 
    type=5121, pixels=0x7f2220a37010, packing=0x6fcec8) at src/mesa/main/texstore.c:4411
#6  0x00007f222613f06f in texsubimage (ctx=0x6f6630, dims=3, target=32879, level=0, xoffset=0, yoffset=0, zoffset=0, width=1024, height=1024, depth=1, format=6408, type=5121, 
    pixels=0x7f2220a37010) at src/mesa/main/teximage.c:3192
#7  0x00007f222613f2a5 in _mesa_TexSubImage3D (target=32879, level=0, xoffset=0, yoffset=0, zoffset=0, width=1024, height=1024, depth=1, format=6408, type=5121, 
    pixels=0x7f2220a37010) at src/mesa/main/teximage.c:3244
#8  0x00007f222884f777 in stub_glTexSubImage3D (target=32879, level=0, xoffset=0, yoffset=0, zoffset=0, width=1024, height=1024, depth=1, format=6408, type=5121, 
    pixels=0x7f2220a37010) at piglit/tests/util/generated_dispatch.c:25907
#9  0x0000000000401568 in piglit_display () at piglit/tests/texturing/tex3d-maxsize.c:152
#10 0x00007f22288173b9 in display () at piglit/tests/util/piglit-framework-glut.c:53
#11 0x00007f22281c4137 in fghRedrawWindow (window=0x690500) at freeglut_main.c:210
#12 fghcbDisplayWindow (window=0x690500, enumerator=0x7fffaa6145c0) at freeglut_main.c:227
#13 0x00007f22281c7889 in fgEnumWindows (enumCallback=0x7f22281c40d0 <fghcbDisplayWindow>, enumerator=0x7fffaa6145c0) at freeglut_structure.c:394
#14 0x00007f22281c45fa in fghDisplayAll () at freeglut_main.c:249
#15 glutMainLoopEvent () at freeglut_main.c:1450
#16 0x00007f22281c4f05 in glutMainLoop () at freeglut_main.c:1498
#17 0x00007f22288175bd in piglit_framework_glut_run (info=0x7fffaa614850) at piglit/tests/util/piglit-framework-glut.c:147
#18 0x00007f2228816f45 in piglit_gl_test_run (argc=1, argv=0x7fffaa614958, info=0x7fffaa614850) at piglit/tests/util/piglit-framework.c:138
#19 0x0000000000401079 in main (argc=2, argv=0x7fffaa614958) at piglit/tests/texturing/tex3d-maxsize.c:31


b9e88c55927b9d62c48ed034baae1d3ac09713b0 is the first bad commit
commit b9e88c55927b9d62c48ed034baae1d3ac09713b0
Author: Brian Paul <brianp@vmware.com>
Date:   Sun Sep 16 19:43:50 2012 -0600

    llvmpipe: implement the new can_create_resource() function
    
    Reviewed-by: Jose Fonseca <jfonseca@vmware.com>

:040000 040000 5b0d798f97db963c058aa5674b6f076c0a4d4e96 38d269025b0f1100d189ed906f034cdf28be7bdd M	src
bisect run success
Comment 1 Brian Paul 2012-09-20 15:48:28 UTC
Fixed w/ commit 0bcad0295543425f5ec4b44bfe6e600794e9c166


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.