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

commit dc771ff1eed2ee95284cbc7d06bac1564603035e
Author: Utkarsh Ayachit <[email protected]>
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 <[email protected]> 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 [[email protected]]
>> Sent: Monday, May 10, 2010 5:38 PM
>> To: Favre  Jean
>> Cc: Zhanping Liu; [email protected]
>> 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
>
>

Attachment: patch
Description: Binary data

_______________________________________________
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

Reply via email to