[Mesa-dev] [Bug 47375] Blender crash on startup after upgrade to mesa 8.0.1

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 26 16:11:31 PDT 2012


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

--- Comment #24 from Barto <mister.freeman at laposte.net> 2012-07-26 16:11:31 PDT ---
I have finished the compilation of the debug mesa lib ( with CFLAG=-g )

now the result when gdb stops in breakpoint in meta.c, line 2258 :

(gdb) print ctx->_ImageTransferState
$4 = 1

(gdb) print ctx->Fog.Enabled
$5 = 0 '\000'

now ctx->_ImageTransferState is set to "1"

the conditionnal was :

 if (ctx->_ImageTransferState ||
        ctx->Fog.Enabled) {
       fallback = GL_TRUE;
    }

then I set another breakpoint:

break s_span.c:1326

the variable colorType is still set to "0" just before the crash :

(gdb) print colorType
$3 = 0

that's why this assertion fails in line 1326 :

GLchan rgbaSave[MAX_WIDTH][4];
struct swrast_renderbuffer *srb = swrast_renderbuffer(rb);
GLenum colorType = srb->ColorType;

assert(colorType == GL_UNSIGNED_BYTE || colorType == GL_FLOAT);

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