<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Mar 11, 2015 at 8:26 AM, Butterfly <span dir="ltr"><<a href="mailto:ninarock@list.ru" target="_blank">ninarock@list.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">After start both render windows show normally, I see the data update in both<br>
windows several times (about 10 times or more..) and then the application<br>
crashes with "corruption of the heap" error "HEAP: Free Heap block 12e58b20<br>
modified at 12e58b78 after it was freed". The call stack is not the same at<br>
each start, but the error is always inside the vtkFreeType.dll (please see 2<br>
examples of the call stack below).<br>
<br>
As I understand the error appears while drawing text in the chart (drawing<br>
axis labels and chart legend). I tried to read about FreeType project, and I<br>
found the following:<br>
*    For multi-threading applications each thread should have its own<br>
FT_Library object.*<br>
<a href="http://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html" target="_blank">http://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html</a><br>
<<a href="http://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html" target="_blank">http://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html</a>><br>
<br>
But if I understand right, VTK creates only one instance of vtkFreeTypeTools<br>
(in the code is said that it is a singleton), and consequently we have only<br>
one FT_Library object.<br></blockquote><div><br></div><div>This is indeed the problem -- thanks for the report. As of right now, we don't have a workaround, but I've created an bug report to keep track of the issue:</div><div><br></div><div> <a href="http://vtk.org/Bug/view.php?id=15376">http://vtk.org/Bug/view.php?id=15376</a></div><div><br></div><div>Dave</div></div></div></div>