[Paraview] Crash when extracting surface in a big mesh
Paul Edwards
paul.m.edwards at gmail.com
Mon Oct 27 12:28:01 EDT 2008
Has anyone else experienced this problem? Is it just because I have
so many cells in one block? To reproduce: compile structured grid
generator that is attached, create grid with dimensions 1000 x 1000 x
80, use clean to grid to make unstructured, and then try viewing the
surface.
Note: this uses quite a bit of memory....
Regards,
Paul
2008/10/17 Edwards, Paul <Paul.Edwards3 at rolls-royce.com>:
> I think this int needs to be unsigned (or more bits)…..
>
>
>
> (gdb) frame 3
>
> #3 0x00002aaab2c053ea in vtkDataSetSurfaceFilter::NewFastGeomQuad
> (this=0x14fe670, numPts=4)
>
> at
> /tmp/padramgui-1.1/tmp/src/paraview/VTK/Graphics/vtkDataSetSurfaceFilter.cxx:1730
>
> 1730 this->FastGeomQuadArrays[this->NextArrayIndex]
>
> (gdb) list
>
> 1720 }
>
> 1721 }
>
> 1722 delete [] this->FastGeomQuadArrays;
>
> 1723 this->FastGeomQuadArrays = newArrays;
>
> 1724 this->NumberOfFastGeomQuadArrays = num;
>
> 1725 }
>
> 1726
>
> 1727 // Next: allocate a new array if necessary.
>
> 1728 if (this->FastGeomQuadArrays[this->NextArrayIndex] == NULL)
>
> 1729 {
>
> 1730 this->FastGeomQuadArrays[this->NextArrayIndex]
>
> 1731 = new unsigned char[this->FastGeomQuadArrayLength];
>
> 1732 }
>
> 1733
>
> 1734 vtkFastGeomQuad* q = reinterpret_cast<vtkFastGeomQuad*>
>
> 1735 (this->FastGeomQuadArrays[this->NextArrayIndex] +
> this->NextQuadIndex);
>
> 1736 q->numPts = numPts;
>
> 1737
>
> 1738 this->NextQuadIndex += polySize;
>
> 1739
>
> (gdb) print this->FastGeomQuadArrayLength
>
> $2 = -1721647736
>
> (gdb) whatis this->FastGeomQuadArrayLength
>
> type = int
>
> (gdb)
>
>
>
> More than just that variable needs to be updated though.
>
>
>
> I experienced this when viewing the surface of a mesh with 90M cells on a
> single machine. Cuts worked without any problems.
>
>
>
> Regards,
>
> Paul
>
> The data contained in, or attached to, this e-mail, may contain confidential
> information. If you have received it in error you should notify the sender
> immediately by reply e-mail, delete the message from your system and contact
> +44 (0) 1332 242424 (the Rolls-Royce IT Security Director) if you need
> assistance. Please do not copy it for any purpose, or disclose its contents
> to any other person.
>
> An e-mail response to this address may be subject to interception or
> monitoring for operational reasons or for lawful business practices.
>
> (c) 2008 Rolls-Royce plc
>
> Registered office: 65 Buckingham Gate, London SW1E 6AT Company number:
> 1003142. Registered in England.
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkStructuredGridGenerator.h
Type: text/x-chdr
Size: 1398 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081027/28d3888b/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkStructuredGridGenerator.cxx
Type: text/x-c++src
Size: 3304 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081027/28d3888b/attachment.cxx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkStructuredGridGenerator.xml
Type: text/xml
Size: 1416 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081027/28d3888b/attachment.bin>
More information about the ParaView
mailing list