Re: [Mesa-dev] [PATCH] mesa: use array object constructor

2012-04-19 Thread Brian Paul
On Thu, Apr 19, 2012 at 7:32 AM, Marek Olšák wrote: > Hi, > > this patch causes a crash in piglit/vao-element-array-buffer. Thanks for catching that. I've posted a fix for review. -Brian ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://

Re: [Mesa-dev] [PATCH] mesa: use array object constructor

2012-04-19 Thread Marek Olšák
Hi, this patch causes a crash in piglit/vao-element-array-buffer. Valgrind log: ==28635== Invalid read of size 4 ==28635==at 0x4446D87: pthread_mutex_lock (pthread_mutex_lock.c:50) ==28635==by 0x4A0ACAC: _mesa_free_context_data (context.c:1121) ==28635==by 0x4A8EC22: st_destroy_conte

Re: [Mesa-dev] [PATCH] mesa: use array object constructor

2012-04-18 Thread Brian Paul
On 04/18/2012 11:28 AM, Mathias Fröhlich wrote: Hi, The attached change uses the array object factory for gl_array_objects. This prevents crashes when deriving from gl_array_object. The change should be orthogonal to Mareks posted changes. Please Review. From 2f8f27281f44142edd258a62eff6be

[Mesa-dev] [PATCH] mesa: use array object constructor

2012-04-18 Thread Mathias Fröhlich
Hi, The attached change uses the array object factory for gl_array_objects. This prevents crashes when deriving from gl_array_object. The change should be orthogonal to Mareks posted changes. Please Review. Thanks Mathias>From 2f8f27281f44142edd258a62eff6be1fe7f413d8 Mon Sep 17 00:00:00 2001