How are you associating the data with the vtk dataset? Do you read an array and hand it to a vtk array? Also, can you run in a debugger and get a track trace? If you are running on Linux, valgrind would be even better.<br>
<br>-Berk<br><br><div><span class="gmail_quote">On 11/10/05, <b class="gmail_sendername">Brian Dotson</b> <<a href="mailto:Brian.Dotson@netl.doe.gov">Brian.Dotson@netl.doe.gov</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi all,</div>
<div> </div>
<div>I wrote a custom reader that brings our simulation results into ParaView. </div>
<div> </div>
<div>The data is an unstructured grid with multiple timesteps. The cells are either hexahedron or wedges. The data I attach to the mesh is mostly scalar with a few vectors.</div>
<div> </div>
<div>With most of the simulation results we look at the reader looks fine, but some of the data sets cause the following error.</div>
<div> </div>
<div>free(): invalid pointer 0xc2f7f70!</div>
<div> </div>
<div>This error happens after my code executes and I have returned the unstructured grid over to ParaView.</div>
<div> </div>
<div>I have done the following to debug the problem:</div>
<div> </div>
<div>1. I checked the number of arrays that I am attaching to the mesh and the NumberOfCellFields variable, these match.</div>
<div> </div>
<div>2. I checked the MaxId of all the arrays. These match the cell count.</div>
<div> </div>
<div>3. When I turn all the cell arrays off, I don't get the errors, and the mesh loads.</div>
<div> </div>
<div>Does anyone have any ideas on what the problem could be?</div>
<div> </div>
<div>Thanks,</div><span class="sg">
<div> </div>
<div>Brian Dotson</div>
<div>National Energy Technology Laboratory</div>
<div>Department of Energy</div>
</span><br>_______________________________________________<br>ParaView mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">
http://www.paraview.org/mailman/listinfo/paraview</a><br><br><br></blockquote></div><br>