[Mesa-dev] [Bug 51092] New: src/mesa/main/fbobject.c:1897: reuse_framebuffer_texture_attachment: Assertion `src_att->Renderbuffer != ((void *)0)' failed.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 14 12:59:19 PDT 2012


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

             Bug #: 51092
           Summary: src/mesa/main/fbobject.c:1897:
                    reuse_framebuffer_texture_attachment: Assertion
                    `src_att->Renderbuffer != ((void *)0)' 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: 4b7b4c46c5eeceb5ce5c0cb0aac50f32284d29d3 (master)

Run piglit 'drawpix-z -fbo' on swrast, softpipe, or llvmpipe.

$ ./bin/drawpix-z -fbo -auto
Mesa: User error: GL_INVALID_OPERATION in glTexImage2D(incompatible
internalFormat 0x84f9, format 0x1908)
drawpix-z: src/mesa/main/fbobject.c:1897: reuse_framebuffer_texture_attachment:
Assertion `src_att->Renderbuffer != ((void *)0)' failed.

(gdb) bt
#0  0x00007f9fba00f445 in __GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f9fba012bab in __GI_abort () at abort.c:91
#2  0x00007f9fba00810e in __assert_fail_base (fmt=<optimized out>,
assertion=0x7f9fb8747850 "src_att->Renderbuffer != ((void *)0)",
file=0x7f9fb87470cd "src/mesa/main/fbobject.c", 
    line=<optimized out>, function=<optimized out>) at assert.c:94
#3  0x00007f9fba0081b2 in __GI___assert_fail (assertion=0x7f9fb8747850
"src_att->Renderbuffer != ((void *)0)", file=0x7f9fb87470cd
"src/mesa/main/fbobject.c", line=1897, 
    function=0x7f9fb87482e0 "reuse_framebuffer_texture_attachment") at
assert.c:103
#4  0x00007f9fb7b32bcd in reuse_framebuffer_texture_attachment (fb=0x1b0dbe0,
dst=BUFFER_STENCIL, src=BUFFER_DEPTH) at src/mesa/main/fbobject.c:1897
#5  0x00007f9fb7b330d5 in framebuffer_texture (ctx=0x1a8ffb0,
caller=0x7f9fb8747a48 "2D", target=36160, attachment=36128, textarget=3553,
texture=2, level=0, zoffset=0)
    at src/mesa/main/fbobject.c:2037
#6  0x00007f9fb7b333ef in _mesa_FramebufferTexture2DEXT (target=36160,
attachment=36128, textarget=3553, texture=2, level=0) at
src/mesa/main/fbobject.c:2150
#7  0x00007f9fba406469 in piglit_framework_fbo_gl_init () at
piglit/tests/util/piglit-framework-fbo.c:277
#8  0x00007f9fba406536 in piglit_framework_fbo_init () at 
piglit/tests/util/piglit-framework-fbo.c:313
#9  0x00007f9fba4060dd in main (argc=1, argv=0x7fff33376078) at
piglit/tests/util/piglit-framework.c:187
#10 0x00007f9fb9ffa76d in __libc_start_main (main=0x400bf0 <main at plt>, argc=3,
ubp_av=0x7fff33376078, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, 
    stack_end=0x7fff33376068) at libc-start.c:226
#11 0x0000000000400c89 in _start ()
(gdb) frame 4
#4  0x00007f9fb7b32bcd in reuse_framebuffer_texture_attachment (fb=0x1b0dbe0,
dst=BUFFER_STENCIL, src=BUFFER_DEPTH) at src/mesa/main/fbobject.c:1897
1897       assert(src_att->Renderbuffer != NULL);
(gdb) print *src_att
$1 = {Type = 5890, Complete = 0 '\000', Renderbuffer = 0x0, Texture =
0x1b796a0, TextureLevel = 0, CubeMapFace = 0, Zoffset = 0}

-- 
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