glVertex3f memory leak


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

Can you give more details about this leak?

A valgrind log might help shed some light…

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

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.