[Paraview] multi block crash

John Doe ufnoise at gmail.com
Wed Jul 9 14:29:04 EDT 2008


I think I know the problem.  At home I used:
CMAKE_BUILD_TYPE:STRING=Release

But my laptop did not.

Using Release sets NDEBUG which removes assertions from the compiled
software.  Apparently for MultiBlock datasets, the assertion:
ParaView3/VTK/IO/vtkXMLDataReader.cxx:347:
>>> virtual void vtkXMLDataReader::SetupOutputData(): Assertion
>>> `this->NumberOfPointArrays ==
>>> this->PointDataArraySelection->GetNumberOfArraysEnabled()' failed.
>>> Abort

May not be valid.  Would it be possible to remove this assertion from the code?

Thanks,

Juan

On Wed, Jul 9, 2008 at 11:19 AM, John Doe <ufnoise at gmail.com> wrote:
> I was compiling on two different computers with cvs updates at two
> different times.  This is the first time trying to use paraview on
> this machine, but it worked on the other.  It looks like there is a
> lot of stuff going on in cvs this morning, so I am recompiling again.
>
> Just recompiled and it's still crashing.  Since the vtu files are
> loading properly on an individual basis, I think it must be the vtm
> file.
>
> Since it is undocumented, and apparently still changing, could someone
> please tell me what the proper format is from the examples I have
> below.
>
> Regards,
>
> Juan
>
> On Wed, Jul 9, 2008 at 11:06 AM, Kent Eschenberg <eschenbe at psc.edu> wrote:
>> Juan,
>>
>> The error concerns the point data arrays. Those are in your vtu files not
>> the vtm file; therefore, I would take another look at the vtu files. Did you
>> update from CVS since when you thought these files could be read?
>>
>> Kent
>> Pittsburgh Supercomputing Center
>>
>> John Doe wrote:
>>>
>>> Hello,
>>>
>>> Could someone verify the proper multiblock format for a vtm file:
>>>
>>> This one crashes:
>>> <?xml version="1.0"?>
>>> <VTKFile type="vtkMultiBlockDataSet" version="0.1"
>>> byte_order="LittleEndian" compressor="vtkZLibDataCompressor">
>>>  <vtkMultiBlockDataSet>
>>>    <DataSet group="0" dataset="0" file="mos_2d_0.vtu"/>
>>>    <DataSet group="1" dataset="1" file="mos_2d_1.vtu"/>
>>>    <DataSet group="2" dataset="2" file="mos_2d_2.vtu"/>
>>>    <DataSet group="3" dataset="3" file="mos_2d_3.vtu"/>
>>>  </vtkMultiBlockDataSet>
>>> </VTKFile>
>>>
>>> with:
>>>
>>> paraview: /home/jsanchez/ParaView3/VTK/IO/vtkXMLDataReader.cxx:347:
>>> virtual void vtkXMLDataReader::SetupOutputData(): Assertion
>>> `this->NumberOfPointArrays ==
>>> this->PointDataArraySelection->GetNumberOfArraysEnabled()' failed.
>>> Abort
>>>
>>> This one shows no data:
>>> <?xml version="1.0"?>
>>> <VTKFile type="vtkMultiBlockDataSet" version="0.1"
>>> byte_order="LittleEndian" compressor="vtkZLibDataCompressor">
>>>  <vtkMultiBlockDataSet>
>>>    <DataSet index="0" file="mos_2d_0.vtu"/>
>>>    <DataSet index="1" file="mos_2d_1.vtu"/>
>>>    <DataSet index="2" file="mos_2d_2.vtu"/>
>>>    <DataSet index="3" file="mos_2d_3.vtu"/>
>>>  </vtkMultiBlockDataSet>
>>> </VTKFile>
>>>
>>> Loading the individual files works fine.  I could have sworn the one
>>> that crashes worked fine yesterday.
>>>
>>> I am using the latest CVS.
>>>
>>> Thanks,
>>>
>>> Juan
>>
>


More information about the ParaView mailing list