[Paraview] Paraview handles data different on MacOS

Michael Jackson mike.jackson at bluequartz.net
Thu May 3 10:37:26 EDT 2012


Doesn't make sense to me but, hey if it works. Great.
--
Mike Jackson <www.bluequartz.net>

On May 3, 2012, at 10:06 AM, Fabian Key wrote:

> Changing the type attributes of the data arrays from e.g. float32 to float64 solved the problem on Mac OS X.
> 
> Am 03.05.2012 15:38, schrieb Michael Jackson:
>> I can confirm the crash on OS X. Here is the top part of the stack trace:
>> 
>> Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
>> Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
>> Crashed Thread:  0  Dispatch queue: com.apple.main-thread
>> 
>> Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
>> 0   libvtkIO.pv3.14.dylib         	0x0000000107de5593 vtkXMLDataReader::ReadPieceData() + 1507
>> 1   libvtkIO.pv3.14.dylib         	0x0000000107e19b41 vtkXMLUnstructuredDataReader::ReadPieceData() + 209
>> 2   libvtkIO.pv3.14.dylib         	0x0000000107e05bd2 vtkXMLPolyDataReader::ReadPieceData() + 370
>> 3   libvtkIO.pv3.14.dylib         	0x0000000107e1ce52 vtkXMLUnstructuredDataReader::ReadXMLData() + 642
>> 4   libvtkIO.pv3.14.dylib         	0x0000000107e0ad17 vtkXMLReader::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 423
>> 
>> 
>> And the same file works just fine on Windows 7 x64 using both a 32 bit and 64 bit ParaView. Odd. I don't think changing the floats->doubles is going to solve the problem. I did find some blank lines in the file, removed those but still crashed on OS X.
>> ___________________________________________________________
>> Mike Jackson                    Principal Software Engineer
>> BlueQuartz Software                            Dayton, Ohio
>> mike.jackson at bluequartz.net              www.bluequartz.net
>> 
>> On May 3, 2012, at 4:09 AM, Fabian Key wrote:
>> 
>>> Dear Paraview developers and users,
>>> 
>>> I am using Paraview (3.14.1) to visualize the solution of a simulation program. The program generates data files in vtp format (ASCII). A representative file is attached.
>>> Using Paraview on Windows 7 (64 Bit)  or ubuntu12.04 (32 Bit) everything works, but on Mac OS X (64 Bit) it crashes after clicking on the 'Apply'-Button or gives the message:
>>>  'ERROR: In /Source/ParaView/release/ParaView/VTK/IO/vtkXMLDataReader.cxx, line 510 vtkXMLPolyDataReader (0x126f7c220):
>>>  Cannot read point data array "my_scalars" from PointData in piece 0. The data array in the element may be too short.'
>>> 
>>> Is there anything I can do to handle this Mac OS specific problem?
>>> 
>>> Thanks for help,
>>> Fabian
>>> 
>>> <paraview_s6unif0.10_cells__1.vtp>_______________________________________________
>>> 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
>> _______________________________________________
>> 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
> 
> _______________________________________________
> 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



More information about the ParaView mailing list