Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=9103
------- Additional Comments From [EMAIL PROTECTED] 2006-11-22 05:15 -------
(In reply to comment #9)
> Roland,
>
> It'd be great if you could take a closer look. The problem with the
> bogus-looking pointer is that it seems you're compiled with something higher
> than -O0, which sometimes makes things look broken when they are fine. See
> also
> the indices pointer in _tnl_DrawElements further down your stacktrace. In
> other
> words, it's worth recompiling with -O0 before digging deeper.
Ah well, I've used -O, which more often than not works quite ok. Some bugs
sneaked in due to that though... Here's a better trace, and some more
information. I'm a bit puzzled though, the boolean mapped_vbos is 112, nr_vbos
is 23 (no way doom3 is going to use that many attribs!), and those vbo objects
don't look good.
#0 0x41910dc8 in _mesa_buffer_map (ctx=0xa9bfd60, target=34962, access=35048,
bufObj=0x0) at main/bufferobj.c:364
#1 0x4190c7dc in _ae_map_vbos (ctx=0xa9bfd60) at main/api_arrayelt.c:1218
#2 0x4190c98e in _ae_loopback_array_elt (elt=32) at main/api_arrayelt.c:1271
#3 0x41ac11c7 in fallback_drawelements (ctx=0xa9bfd60, mode=4, count=12,
indices=0x4bfee340) at tnl/t_array_api.c:75
#4 0x41ac1a80 in _tnl_DrawElements (mode=4, count=12, type=5125,
indices=0x4bfee340) at tnl/t_array_api.c:393
#5 0x0815657f in ?? ()
p (AEcontext)ctx->aelt_context
$4 = {arrays = {{array = 0xb2a30b8, offset = 0}, {array = 0x419,
offset = 178088824}, {array = 0xa9a7778, offset = 178087792}, {
array = 0x14, offset = 1701012289}, {array = 0x44207373,
offset = 1701408357}, {array = 0x64, offset = 0}, {array = 0xa,
offset = 178087824}, {array = 0x14, offset = 1920234275}, {
...
NewState = 14393, vbo = {0xe,
0xa9d69f0, 0x14, 0x4e4e4f43, 0x49544345, 0x2e2e474e, 0x2e2e, 0x0, 0xa,
0xa9d6a10, 0x14, 0x72747323, 0x3030305f, 0x72003133, 0x3730305f, 0x3939,
0x10, 0xa9d6a30, 0x14, 0x4e4e4f43, 0x49544345, 0x45204e4f, 0x524f5252,
0x0, 0xa, 0xa9d6a50, 0x14, 0x72747323, 0x3030305f, 0x72003233, 0x3830305f,
0x3030}, nr_vbos = 23, mapped_vbos = 112 'p'}
p *ctx->Array->ArrayObj
$8 = {Name = 0, Vertex = {Size = 4, Type = 5126, Stride = 16, StrideB = 16,
Ptr = 0x0, Enabled = 1, Normalized = 0 '\0', BufferObj = 0xb0c0450,
_MaxElement = 78, Flags = 1}, Normal = {Size = 0, Type = 5126, Stride = 0,
StrideB = 0, Ptr = 0x0, Enabled = 0, Normalized = 0 '\0',
BufferObj = 0xa857788, _MaxElement = 0, Flags = 1}, Color = {Size = 4,
Type = 5126, Stride = 0, StrideB = 0, Ptr = 0x0, Enabled = 0,
Normalized = 0 '\0', BufferObj = 0xa857788, _MaxElement = 0, Flags = 1},
SecondaryColor = {Size = 4, Type = 5126, Stride = 0, StrideB = 0, Ptr = 0x0,
Enabled = 0, Normalized = 0 '\0', BufferObj = 0xa857788, _MaxElement = 0,
Flags = 1}, FogCoord = {Size = 1, Type = 5126, Stride = 0, StrideB = 0,
Ptr = 0x0, Enabled = 0, Normalized = 0 '\0', BufferObj = 0xa857788,
_MaxElement = 0, Flags = 1}, Index = {Size = 0, Type = 5126, Stride = 0,
StrideB = 0, Ptr = 0x0, Enabled = 0, Normalized = 0 '\0',
BufferObj = 0xa857788, _MaxElement = 0, Flags = 1}, TexCoord = {{Size = 2,
Type = 5126, Stride = 60, StrideB = 60,
Ptr = 0xc <Address 0xc out of bounds>, Enabled = 0, Normalized = 0 '\0',
BufferObj = 0xb0c0f78, _MaxElement = 2731, Flags = 1}, {Size = 3,
Type = 5126, Stride = 12, StrideB = 12, Ptr = 0x0, Enabled = 0,
Normalized = 0 '\0', BufferObj = 0xb0c0418, _MaxElement = 2732,
Flags = 1}, {Size = 4, Type = 5126, Stride = 0, StrideB = 0, Ptr = 0x0,
Enabled = 0, Normalized = 0 '\0', BufferObj = 0xa857788,
_MaxElement = 0, Flags = 1}, {Size = 4, Type = 5126, Stride = 0,
StrideB = 0, Ptr = 0x0, Enabled = 0, Normalized = 0 '\0',
BufferObj = 0xa857788, _MaxElement = 0, Flags = 1}, {Size = 4,
Type = 5126, Stride = 0, StrideB = 0, Ptr = 0x0, Enabled = 0,
Normalized = 0 '\0', BufferObj = 0xa857788, _MaxElement = 0, Flags = 1},
{Size = 4, Type = 5126, Stride = 0, StrideB = 0, Ptr = 0x0, Enabled = 0,
Normalized = 0 '\0', BufferObj = 0xa857788, _MaxElement = 0, Flags = 1},
{Size = 4, Type = 5126, Stride = 0, StrideB = 0, Ptr = 0x0, Enabled = 0,
Normalized = 0 '\0', BufferObj = 0xa857788, _MaxElement = 0, Flags = 1},
{Size = 4, Type = 5126, Stride = 0, StrideB = 0, Ptr = 0x0, Enabled = 0,
Normalized = 0 '\0', BufferObj = 0xa857788, _MaxElement = 0,
Flags = 1}}, EdgeFlag = {Size = 0, Type = 0, Stride = 0, StrideB = 0,
Ptr = 0x0, Enabled = 0, Normalized = 0 '\0', BufferObj = 0xa857788,
_MaxElement = 0, Flags = 1}, VertexAttrib = {{Size = 4, Type = 5126,
Stride = 0, StrideB = 0, Ptr = 0x0, Enabled = 0, Normalized = 0 '\0',
BufferObj = 0xa857788, _MaxElement = 0, Flags = 1} <repeats 32 times>},
_Enabled = 1}
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel