View Full Version : glVertex3f memory leak

11-07-2008, 09:27 AM

In a very simple test application, I observed a memory leak when using glVertex3f function under Ubuntu Hardy on a motherboard with an intel 965 chipset.

I tried the same test on other hardware (intel DG33, nvidia) but without any leak. The test application also works well on intel 965 but only with an older Ubuntu distribution (edgy).

And I need to use this fonction on a system based on intel 965 with Hardy.

So, I am trying to find out the differences related to glVertex3f function between these versions of mesa packages but without success.

Thanks in advance for your help.

- version of Mesa on Ubuntu edgy: 6.5.1~20060817
- version of Mesa on Ubuntu hardy: 7.0.3~rc2

11-08-2008, 04:38 PM
Can you give more details about this leak?

11-09-2008, 09:09 AM
A valgrind log might help shed some light...

11-10-2008, 10:28 AM
in fact, i observed that each call of glVertex3f increases the memory used by the test application --- about +25MB --- (I observed this with a tool like "top")
i also tried valgrind but found no entry concerning glVertex3f