[vtkusers] crash when unloading vtk

Cory Quammen cory.quammen at kitware.com
Wed Oct 7 10:31:34 EDT 2015


Hi Christian,

This sounds like a memory management issue. I wonder if that key is being
deleted twice.

Is there any kind of memory checker you can run on Windows that might
pinpoint the error? Alternatively, could you compile on linux and use
valgrind to check for memory errors?

Thanks,
Cory

On Tue, Oct 6, 2015 at 12:07 PM, Christian Kohler <chr.kohler at gmail.com>
wrote:

> Hello!
> I currently encounter a problem using the vtk library in our open source
> project "itom" (https://bitbucket.org/itom/itom/wiki/Home). The problem
> occurs when unloading a qt-plugin relying on the vtk library. The actual
> crash occurs in the function
> vtkCommonInformationKeyManager::ClassFinalize() in the file
> vtkCommonInformationKeyManager.cxx (Line 76ff) when deleting the entries of
> the vtkCommonInformationKeyManagerkeys (Line 86) starting from the (in my
> case sixth) entry in the list named "LABEL" onwards (i.e. also skipping the
> deleting of this entry pulling to another one after that one).
> I am using Vtk Version 6.3 from the downloadable zip file, self compiled
> with MsVS 2013 Express, CMake 3.2.3, qt and pyhton options disabled, all
> 64bit version.
> Any help is appreciated.
> Best regards
> Christian
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151007/b5698380/attachment.html>


More information about the vtkusers mailing list