<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1505" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Microsoft Sans Serif">
<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>
<DIV> </DIV>
<DIV>Brian Dotson</DIV>
<DIV>National Energy Technology Laboratory</DIV>
<DIV>Department of Energy</DIV></BODY></HTML>