[Mesa-dev] [Bug 45578] New: main/image.c:1659: _mesa_convert_colors: Assertion `dstType == 0x1403' failed.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 2 23:32:53 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=45578

             Bug #: 45578
           Summary: main/image.c:1659: _mesa_convert_colors: Assertion
                    `dstType == 0x1403' failed.
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: vlee at freedesktop.org


mesa: 84a1273e7fe1216a4724ab13cd061a12b48893c2 (master)

Run piglit fbo-mipmap-copypix on swrast.

$ ./bin/fbo-mipmap-copypix -auto
Mesa: Initializing x86-64 optimizations
fbo-mipmap-copypix: main/image.c:1659: _mesa_convert_colors: Assertion `dstType
== 0x1403' failed.
Aborted (core dumped)

(gdb) bt
#0  0x00007fd272be73b5 in __GI_raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007fd272beab1b in __GI_abort () at abort.c:92
#2  0x00007fd272bdfd2d in __GI___assert_fail (assertion=0x7fd270a0bf8c "dstType
== 0x1403", 
    file=<optimized out>, line=1659, function=<optimized out>) at assert.c:81
#3  0x00007fd2708a500b in _mesa_convert_colors (srcType=5126,
src=0x7fd26f4f2010, dstType=33640, 
    dst=0x7fd26f4f2010, count=512, mask=<optimized out>) at main/image.c:1659
#4  0x00007fd270997f78 in convert_color_type (newType=33640, span=<optimized
out>, output=<optimized out>)
    at swrast/s_span.c:959
#5  _swrast_write_rgba_span (ctx=<optimized out>, span=<optimized out>) at
swrast/s_span.c:1331
#6  0x00007fd270989e25 in copy_rgba_pixels (ctx=0x23fbb30, srcx=0,
srcy=<optimized out>, width=512, 
    height=512, destx=0, desty=0) at swrast/s_copypix.c:192
#7  0x00007fd27098ad06 in _swrast_CopyPixels (ctx=0x23fbb30, srcx=0, srcy=0,
width=512, height=512, destx=0, 
    desty=0, type=6144) at swrast/s_copypix.c:636
#8  0x00007fd27087d2cd in _mesa_CopyPixels (srcx=0, srcy=0, width=512,
height=512, type=6144)
    at main/drawpix.c:232
#9  0x000000000042a131 in test_mipmap_copypixels (srcIntFormat=32856,
dstIntFormat=32857, 
    doPixelTransfer=0 '\000', useReadDrawPix=0 '\000') at
piglit/tests/fbo/fbo-mipmap-copypix.c:172
#10 0x000000000042a41c in piglit_display () at
piglit/tests/fbo/fbo-mipmap-copypix.c:257
#11 0x000000000042aba1 in display () at piglit/tests/util/piglit-framework.c:56
#12 0x00007fd2732a7220 in fghRedrawWindow (window=0x23d9a70) at
freeglut_main.c:210
#13 fghcbDisplayWindow (window=0x23d9a70, enumerator=0x7fffed297eb0) at
freeglut_main.c:227
#14 0x00007fd2732aa939 in fgEnumWindows (enumCallback=0x7fd2732a7120
<fghcbDisplayWindow>, 
    enumerator=0x7fffed297eb0) at freeglut_structure.c:394
#15 0x00007fd2732a765a in fghDisplayAll () at freeglut_main.c:249
#16 glutMainLoopEvent () at freeglut_main.c:1450
#17 0x00007fd2732a7f0e in glutMainLoop () at freeglut_main.c:1498
#18 0x000000000042b310 in main (argc=1, argv=0x7fffed298208)
    at piglit/tests/util/piglit-framework.c:304
(gdb) frame 3
#3  0x00007fd2708a500b in _mesa_convert_colors (srcType=5126,
src=0x7fd26f4f2010, dstType=33640, 
    dst=0x7fd26f4f2010, count=512, mask=<optimized out>) at main/image.c:1659
1659             ASSERT(dstType == GL_UNSIGNED_SHORT);
(gdb) print /x dstType
$1 = 0x8368

piglit/tests/util/glew.h:1218:#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
piglit/tests/util/glew.h:6080:#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list