[vtkusers] Problems with the EnSight6Binary Reader
Mathieu Malaterre
mathieu.malaterre at kitware.com
Fri May 6 17:23:50 EDT 2005
Doug,
The only reason the new would fail is that the value is misread and in
your case my guess is that is must be way too big (could you confirm by
doing a print on the actual value).
Here are your alternatives: 1. try to see if VTK CVS solves this isses,
or 2. you'll have to send us your dataset so I can find the problem.
Thanks
Mathieu
Doug McCorkle wrote:
>>Doug,
>>
>> Could you play with the BigEndian vs LittleEndian flag on the
>>EnsightReader:
>>
>>void vtkGenericEnSightReader::SetByteOrderToLittleEndian ()
>>vs
>>void vtkGenericEnSightReader::SetByteOrderToBigEndian ()
>>
>
> I did that before posting my original email. It didn't seem to have any
> affect.
>
>
>>And let us know how this works
>>Thanks
>>Mathieu
>>
>>Doug McCorkle wrote:
>>
>>>>Doug,
>>>>
>>>> Could you please specify which VTK version are you using ? In
>>>>particular what is the revision of the file: vtkEnSight6BinaryReader.cxx
>>>>
>>>>vtkCxxRevisionMacro(vtkEnSight6BinaryReader, "$Revision: 1.47 $");
>>>> ^^
>>>>
>>>> Also it would be very usefull if you could send us the actual backtrace
>>>>of the core dump.
>>>>
>>>>Thanks
>>>>Mathieu
>>>>
>>>>Doug McCorkle wrote:
>>>>
>>>>
>>>>>Hello,
>>>>> I am using the vtkEnSight6BinaryReader and am getting a core dump on
>>>>>line 2230 of vtkEnSight6BinaryReader.cxx. My geo file is approximately
>>>>>450Mb. Is there a way to correct this problem? Thanks for the help.
>>>>>
>>>>>Doug
>>>>>
>>>>
>>>>
>>>Here is the backtrace:
>>>
>>>(gdb) bt
>>>#0 0x03736cef in raise () from /lib/tls/libc.so.6
>>>#1 0x037384f5 in abort () from /lib/tls/libc.so.6
>>>#2 0x00b604b7 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
>>>#3 0x00b60504 in std::terminate () from /usr/lib/libstdc++.so.5
>>>#4 0x00b60676 in __cxa_throw () from /usr/lib/libstdc++.so.5
>>>#5 0x00b60892 in operator new () from /usr/lib/libstdc++.so.5
>>>#6 0x00b6097f in operator new[] () from /usr/lib/libstdc++.so.5
>>>#7 0x030a227f in vtkEnSight6BinaryReader::CreateUnstructuredGridOutput
>>>(
>>> this=0x8f47f20, partId=1, line=0xbfffb6e0 "tetra4",
>>> name=0x8f486c8 "Model_rotating_zone")
>>> at
>>>/mnt/rigby/home14/users/mccdo/VTK/IO/vtkEnSight6BinaryReader.cxx:2230
>>>#8 0x03095f56 in vtkEnSight6BinaryReader::ReadGeometryFile
>>>(this=0x8f47f20,
>>> fileName=0x8f48148 "cast_rev1_mesh.geo", timeStep=1)
>>> at
>>>/mnt/rigby/home14/users/mccdo/VTK/IO/vtkEnSight6BinaryReader.cxx:259
>>>#9 0x030db858 in vtkEnSightReader::Execute (this=0x8f47f20)
>>> at /mnt/rigby/home14/users/mccdo/VTK/IO/vtkEnSightReader.cxx:264
>>>#10 0x0525dfef in vtkSource::ExecuteData (this=0x8f47f20, output=0x0)
>>> at /mnt/rigby/home14/users/mccdo/VTK/Common/vtkSource.cxx:498
>>>#11 0x0525dc1c in vtkSource::UpdateData (this=0x8f47f20, output=0x0)
>>> at /mnt/rigby/home14/users/mccdo/VTK/Common/vtkSource.cxx:408
>>>#12 0x030dc28a in vtkEnSightReader::Update (this=0x8f47f20)
>>> at /mnt/rigby/home14/users/mccdo/VTK/IO/vtkEnSightReader.cxx:380
>>>#13 0x0807b967 in enSightGoldReader::GetUnstructuredGrid
>>>(this=0x8f47ec8,
>>>---Type <return> to continue, or q <return> to quit---
>>> caseFileName=0x8097be0 "cast_rev1.case", debug=0)
>>> at enSightGoldReader.cpp:65
>>>#14 0x0805b914 in main (argc=1, argv=0xbfffba54) at
>>>translateToVtk.cpp:615
>>>
>>>Version number 1.38.
>>>
>>>Thanks for the help.
>>>
>>>Doug
>>>
>>
>>
>
>
More information about the vtkusers
mailing list