[Mesa-dev] OSMesa glapi linlking

Kevin H. Hobbs hobbsk at ohio.edu
Mon Jan 30 10:27:02 PST 2012


On 01/30/2012 12:15 PM, Brian Paul wrote:
> On 01/30/2012 08:56 AM, Kevin H. Hobbs wrote:
>> 
>> I tried with just the lines added manually and almost every VTK test
>> gives me:
>>
>> osmesa.c:892: OSMesaMakeCurrent: Assertion `osmesa->srb->Base.RefCount
>> == 2' failed.
> 
> What happens if you remove that assertion?

The tests go really slowly, fail, and I get a bunch of these:

Start 155: TestGenericContourFilter
*** glibc detected ***
/home/kevin/kitware/VTK_OSMesa_Build/bin/GenericFilteringCxxTests:
double free or corruption (fasttop): 0x00000000011da870 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3654076d63]
/home/kevin/mesa_osmesa/lib/libOSMesa.so.8(+0xa3cc0)[0x7f0dfd395cc0]
/home/kevin/mesa_osmesa/lib/libOSMesa.so.8(OSMesaMakeCurrent+0x112)[0x7f0dfd33be22]
/home/kevin/kitware/VTK_OSMesa_Build/bin/libvtkRendering.so.5.9(_ZN23vtkOSOpenGLRenderWindow11MakeCurrentEv+0x3b)[0x7f0e003392eb]

...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120130/b4b63c89/attachment-0001.pgp>


More information about the mesa-dev mailing list