[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
Tue Jul 24 16:01:22 PDT 2012


--- Comment #8 from Barto <mister.freeman at laposte.net> 2012-07-24 16:01:22 PDT ---
(In reply to comment #7)
> That looks about right.  How exactly did you configure/build Mesa?  You make
> need something like "CFLAGS=-g ./configure ..." to make sure you get -g and not
> -O2 when building Mesa.
> Otherwise, you could try putting a printf near s_span.c:1327 to get the value.

finally I succeed to get the value of "colorType",

I set a breakpoint like this in gdb :

break s_span.c:1326

after that gdb manages to reach the breakpoint :

Breakpoint 1, _swrast_write_rgba_span (ctx=ctx at entry=0xbc60648,
span=span at entry=0xbfffe750)
    at swrast/s_span.c:1326
1326                assert(colorType == GL_UNSIGNED_BYTE ||

then I can see the value of colorType:

(gdb) print colorType
$1 = 0

colorType is set to zero here

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