[vtk-developers] vtkMathTextUtilities and otherPrint test
David Lonie
david.lonie at kitware.com
Tue Jul 10 14:57:36 EDT 2012
On Tue, Jul 10, 2012 at 2:37 PM, Brad King <brad.king at kitware.com> wrote:
> On 07/10/2012 01:22 PM, David Lonie wrote:
>> Thanks David,
>>
>> I've a patch on the way, just checking that it builds ok now...
>
> However, the test still fails with leaks:
>
> calling vtkMathTextUtilities::Print
> vtkDebugLeaks has detected LEAKS!
> Class "vtkMathTextUtilities" has 1 instance still around.
> Class "vtkCommand or subclass" has 1 instance still around.
Hrmmmm...I've rebuilt with TCL wrapping, and can definitely reproduce.
vtkMathTextUtilities copied a singleton pattern from
vtkFreeTypeUtilities, and it looks like vtkFreeTypeUtilities is
excluded from wrapping, possibly for the same reason (singleton fails
to cleanup)?
vtkMathTextUtilities shouldn't need to be wrapped for any reason I can
see, any objections to WRAP_EXCLUDE'ing it to "fix" this bug? I've
tested and the singleton cleans up properly in static and shared cxx
builds.
Dave
More information about the vtk-developers
mailing list