[Paraview] Contours of streamlines crashing

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Jun 28 16:58:41 EDT 2010


Berk and I just looked at this issue. We've committed a fix. Attached
is the patch.

commit dc771ff1eed2ee95284cbc7d06bac1564603035e
Author: Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
Date:   Mon Jun 28 16:55:41 2010 -0400

    Resize cell scalars when inadequate.


Utkarsh


On Tue, May 11, 2010 at 3:47 PM, David Borland <borland at renci.org> wrote:
> I played around with this some more.  Looks like I *can* replicate it with
> RectGrid2.vtk
>
> I'm using the regular Stream Tracer with a Point Source (not the Custom
> Source version with a Mask Points input), and changing the number of points
> to 10.  Then applying a Contour filter on the Integration Time to generate
> particles.
>
> This works fine for the default settings of the Stream Tracer.  However,  if
> I change the Maximum Error to 1e-10, it crashes (again, only when attached
> to a Contour Filter).
>
> This is beginning to make some sense to me (I think).  Because Runge-Kutta
> 4-5 is an adaptive integrator, the step size is decreased to  match the
> error.
>
> Something similar must have been happening with my other data set, but
> because the scale of the data was different, a different Maximum Error was
> causing the crash.  I think the Contour Filter is having issues when
> individual points on the streamlines are too close together.
>
> I've attached a python trace that works.  However, changing the Maximum
> Error to 1e-10 causes a crash.
>
> Here is the location in the ContourFilter that is causing problems:
>
> #12 0x00007fffe7b66f93 in vtkContourFilter::RequestData (this=0x23f58e0,
> request=0x21ce010, inputVector=0x238cc90, outputVector=0x2387d60)
>    at
> /home/borland/dev/ParaView-3.8.0-RC2/VTK/Graphics/vtkContourFilter.cxx:549
> 549         cellScalars->Delete();
>
>
>
>
>
>
> Favre Jean wrote:
>>
>> ________________________________________
>> From: David Borland [borland at renci.org]
>> Sent: Monday, May 10, 2010 5:38 PM
>> To: Favre  Jean
>> Cc: Zhanping Liu; paraview at paraview.org
>> Subject: Re: [Paraview] Contours of streamlines crashing
>>
>> Yes, looks like I can't replicate it with RectGrid.vtk either.  However
>> I have been able to replicate it with bluntfin.vts...
>> ________________________________________
>>
>> bluntfin.vts works just fine for me. So I can't help unless you tell us
>> with a debugger, where you see a crash. Send your script using the
>> bluntfin.vts file.
>>
>> Jean
>> CSCS
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 900 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100628/f8e3ff3e/attachment.obj>


More information about the ParaView mailing list