Bill,<br><br>this is the one I posted previously. I hope it is helpful? I was checking the dashboard for failed tests, but I am simply lost in all these results...<br><br>Thanks for your interest!<br><br>Jerome<br><br><div class="gmail_quote">
2009/12/9 Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What traceback do you get with David&#39;s example?<br>
<div><div></div><div class="h5"><br>
On Wed, Dec 9, 2009 at 4:29 PM, Jérôme &lt;<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>&gt; wrote:<br>
&gt; Continuing my investigation. It seems I am alone with that problem.<br>
&gt; David Doria kindly put an example of a use-case of vtkTextActor on the wiki:<br>
&gt; <a href="http://www.cmake.org/Wiki/Display_text" target="_blank">http://www.cmake.org/Wiki/Display_text</a><br>
&gt;<br>
&gt; I confirm my segfault with that code, only when linking to VTK built in<br>
&gt; release. It does not make difference if my code is complied Debug or<br>
&gt; Release.<br>
&gt;<br>
&gt; Here is the gdb backtrace:<br>
&gt; (gdb) bt<br>
&gt; #0  0x005f7a72 in vtk_freetype_FTC_CMapCache_Lookup ()<br>
&gt;    from /home/dje/Softwares/ParaView-3.7/Release/bin/libvtkfreetype.so.pv3.7<br>
&gt; #1  0x009830bc in vtkFreeTypeUtilities::GetGlyphIndex(unsigned long, char,<br>
&gt; unsigned int*) ()<br>
&gt;    from<br>
&gt; /home/dje/Softwares/ParaView-3.7/Release/bin/libvtkRendering.so.pv3.7<br>
&gt; #2  0x00987b50 in vtkFreeTypeUtilities::GetBoundingBox(vtkTextProperty*,<br>
&gt; char const*, int*) ()<br>
&gt;    from<br>
&gt; /home/dje/Softwares/ParaView-3.7/Release/bin/libvtkRendering.so.pv3.7<br>
&gt; #3  0x009883dd in vtkFreeTypeUtilities::PrepareImageData(vtkImageData*,<br>
&gt; vtkTextProperty*, char const*, int*, int*) ()<br>
&gt;    from<br>
&gt; /home/dje/Softwares/ParaView-3.7/Release/bin/libvtkRendering.so.pv3.7<br>
&gt; #4  0x009888fe in vtkFreeTypeUtilities::RenderString(vtkTextProperty*, char<br>
&gt; const*, vtkImageData*) ()<br>
&gt;    from<br>
&gt; /home/dje/Softwares/ParaView-3.7/Release/bin/libvtkRendering.so.pv3.7<br>
&gt; #5  0x00946e3e in vtkTextActor::RenderOpaqueGeometry(vtkViewport*) ()<br>
&gt;    from<br>
&gt; /home/dje/Softwares/ParaView-3.7/Release/bin/libvtkRendering.so.pv3.7<br>
&gt; #6  0x008f87a6 in vtkRenderer::UpdateGeometry() ()<br>
&gt;    from<br>
&gt; /home/dje/Softwares/ParaView-3.7/Release/bin/libvtkRendering.so.pv3.7<br>
&gt; #7  0x009cf547 in vtkOpenGLRenderer::DeviceRender() ()<br>
&gt;    from<br>
&gt; /home/dje/Softwares/ParaView-3.7/Release/bin/libvtkRendering.so.pv3.7<br>
&gt; #8  0x008f91fb in vtkRenderer::Render() ()<br>
&gt;    from<br>
&gt; /home/dje/Softwares/ParaView-3.7/Release/bin/libvtkRendering.so.pv3.7<br>
&gt; #9  0x008f4b7b in vtkRendererCollection::Render() ()<br>
&gt; ---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---<br>
&gt;    from<br>
&gt; /home/dje/Softwares/ParaView-3.7/Release/bin/libvtkRendering.so.pv3.7<br>
&gt; #10 0x0090789f in vtkRenderWindow::DoStereoRender() ()<br>
&gt;    from<br>
&gt; /home/dje/Softwares/ParaView-3.7/Release/bin/libvtkRendering.so.pv3.7<br>
&gt; #11 0x00907c80 in vtkRenderWindow::DoFDRender() ()<br>
&gt;    from<br>
&gt; /home/dje/Softwares/ParaView-3.7/Release/bin/libvtkRendering.so.pv3.7<br>
&gt; #12 0x009090ab in vtkRenderWindow::DoAARender() ()<br>
&gt;    from<br>
&gt; /home/dje/Softwares/ParaView-3.7/Release/bin/libvtkRendering.so.pv3.7<br>
&gt; #13 0x00907dc5 in vtkRenderWindow::Render() ()<br>
&gt;    from<br>
&gt; /home/dje/Softwares/ParaView-3.7/Release/bin/libvtkRendering.so.pv3.7<br>
&gt; #14 0x00a0d184 in vtkXOpenGLRenderWindow::Render() ()<br>
&gt;    from<br>
&gt; /home/dje/Softwares/ParaView-3.7/Release/bin/libvtkRendering.so.pv3.7<br>
&gt; #15 0x08049c1b in main () at /home/dje/Codes/TestFilter/DrawText.cxx:50<br>
&gt;<br>
&gt;<br>
&gt; For now, I am working with ParaView/VTK in Debug built. But I hope someone<br>
&gt; will explain me what is the trouble with my release builds.<br>
&gt;<br>
&gt; Jerome<br>
&gt;<br>
&gt; 2009/12/9 Jérôme &lt;<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; I just compiled ParaView/VTK in Debug mode, the problem disappears... So I<br>
&gt;&gt; can be more precise about the reproducibility check:<br>
&gt;&gt;  Could you tell me if you have a segfault with really simple script in a<br>
&gt;&gt; linux (F12) release built?<br>
&gt;&gt;<br>
&gt;&gt; Thanks again,<br>
&gt;&gt; Jerome<br>
&gt;&gt;<br>
&gt;&gt; 2009/12/8 Jérôme &lt;<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Dear all,<br>
&gt;&gt;&gt; It seems that I misused the vtkTextActor for a while: a recent CVS<br>
&gt;&gt;&gt; checkout makes a simple vtkTextActor rendering crashing by seg fault. I<br>
&gt;&gt;&gt; noted this error inside a ParaView cxx plugin, but now I have isolated the<br>
&gt;&gt;&gt; cause: A vtkTextActor added to the renderer yields the crash.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Please, find attach a python script that reproduces the bug (by me, at<br>
&gt;&gt;&gt; least... my settings may be guilty). Could you tell me if you have such an<br>
&gt;&gt;&gt; error, and if my way of using text actor is wrong?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks a lot!<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Jerome<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br>