[Paraview] Enabling vtkSplineFilter in ParaView

Jérôme jerome.velut at gmail.com
Tue Jun 1 07:47:49 EDT 2010


Hi again !

I tried to replace the SplineFilter with a ProgrammableFilter
containing the following script :

input = self.GetInput()
splineFilter = vtk.vtkSplineFilter()
splineFilter.SetInput( input )
splineFilter.SetSubdivideToLength()
splineFilter.SetLength( 1 )
splineFilter.Update( )
self.GetOutput().DeepCopy(splineFilter.GetOutput())

This way, I am able to get a spline-based resampling. It means that my
XML description contains an error, but I cannot find it.

Jerome


2010/6/1 Jérôme <jerome.velut at gmail.com>:
> Hi,
>
> I was able to enable the vtkSplineFilter in ParaView-3.7 with the
> attached ServerManager XML. But with the current 3.9, I am having a
> segfault after the filter updates. Here is the WinXP32 call stack
> after the segfault :
>
>        ntdll.dll!7c91120e()
>        [Les frames ci-dessous sont peut-être incorrects et/ou manquants,
> aucun symbole chargé pour ntdll.dll]
>        msvcr90d.dll!102d528b()
>        msvcr90d.dll!102d5ef9()
>        msvcr90d.dll!102c103e()
>        msvcr90d.dll!1023d496()
>        msvcr90d.dll!102cff17()
>        msvcr90d.dll!102cff0e()
>        msvcr90d.dll!102cfb2f()
>        msvcr90d.dll!102cfadc()
>        msvcr90d.dll!102db25b()
>        QtCored4.dll!qMalloc(unsigned int size=48)  Ligne 55 + 0xa octets       C++
>        QtCored4.dll!QVectorData::allocate(int size=48, int alignment=4)
> Ligne 67 + 0x28 octets  C++
>        QtGuid4.dll!QVector<QScriptItem>::malloc(int aalloc=1696132182)
> Ligne 391 + 0x23 octets C++
>        00e084c8()
>        msvcr90d.dll!1023d496()
>        msvcr90d.dll!102d3261()
>        msvcr90d.dll!102d3258()
>        QtGuid4.dll!QSpanData::adjustSpanMethods()  Ligne 5143 + 0xf octets     C++
>        QtGuid4.dll!QSpanData::setup(const QBrush & brush={...}, int
> alpha=1697441976, QPainter::CompositionMode compositionMode=284019584)
>  Ligne 5095     C++
>        10edcb80()
>        QtGuid4.dll!blend_color_argb(int count=-1, const QT_FT_Span_ *
> spans=0x00e08ae8, void * userData=0x10edcb88)  Ligne 3082       C++
>        QtGuid4.dll!qt_span_fill_clipRect(int count=14715600, const
> QT_FT_Span_ * spans=0x00e10b34, void * userData=0x652d84e8)  Ligne
> 4714 + 0x14 octets      C++
>        00e08ac8()
>
> Note that I also get this segfault in Fedora 12.
>
> I certainly missed something in the XML that was not fatal with the
> previous PV version. Please, could someone take a look at my XML, try
> it and tell if this is reproducible?
>
> Thanks a lot!
> Jerome
>


More information about the ParaView mailing list