On Mon, Jan 17, 2011 at 9:33 AM, Brad King <brad.k...@kitware.com> wrote:
> On 01/17/2011 11:18 AM, Brian Paul wrote:
>> On Mon, Jan 17, 2011 at 8:58 AM, Brad King <brad.k...@kitware.com> wrote:
>>> I think a63486ac is the first commit that exhibits the behavior.
>>
>> Have you tried reversing that change?
>
> I started at ef3b8042 and ran "git revert a63486ac".  I resolved one
> conflict (machine v. &machine) and compiled.  The issue disappeared.
>
>> Perhaps prim[i].num_instances is zero.  Could you try debugging that?
>> Maybe add an assertion that prim[i].num_instances > 0 then check the
>> stack trace if it fails.
>
> I started at ef3b8042 and added the assertion as shown below [1].  I get:
>
> vtk: tnl/t_draw.c:474: _tnl_draw_prims: Assertion `prim[i].num_instances > 0' 
> failed.
>
> Using gdb I get the backtrace below [2].

Thanks.  Does the attached patch help?

-Brian

Attachment: inst.patch
Description: application/pgp-keys

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to