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