View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008746ParaView(No Category)public2009-03-16 18:472011-01-13 17:00
ReporterAlan Scott 
Assigned ToUtkarsh Ayachit 
PriorityhighSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version3.6Fixed in Version3.6 
Summary0008746: Reading file crashes ParaView
DescriptionParaView trunk, local server, XP
Open files lapjoint_hex.e.2.* (Ask Berk for this set of files if you are at Kitware, ask Alan if you are at Sandia)
Apply.
Select variable stress_
Apply
Crash

This crash happens in the ExodusIIReader.cxx, in function GetCacheOrRead, line 2029.
TagsNo tags attached.
Project
Topic Name
Type
Attached Files

 Relationships

  Notes
(0015707)
Alan Scott (manager)
2009-03-16 18:58

by the way, I believe that stress_ is actually a tensor. Seems to work in the one file version of this data, not in the two files version.
(0015711)
Utkarsh Ayachit (administrator)
2009-03-17 10:01

Couldn't not reproduce the crash on 64 bit linux. Trying on windows vista.
(0016327)
Alan Scott (manager)
2009-05-06 22:28

I want to recheck this, since Utkrash couldn't replicate it.
(0016346)
Alan Scott (manager)
2009-05-07 20:52

Still crashes with XP.
(0016500)
Alan Scott (manager)
2009-05-15 20:06

I was able to have this crash, and it opened up a debugger. Stack trace is as follows:

     msvcp80d.dll!std::_Debug_message(const wchar_t * message=0x05322a10, const wchar_t * file=0x0531af40, unsigned int line=756) Line 24 C++
     vtkHybrid.dll!std::vector<double,std::allocator<double> >::operator[](unsigned int _Pos=0) Line 756 + 0x17 bytes C++
> vtkHybrid.dll!vtkExodusIIReaderPrivate::GetCacheOrRead(vtkExodusIICacheKey key={...}) Line 2032 + 0x1b bytes C++
     vtkHybrid.dll!vtkExodusIIReaderPrivate::AssembleOutputCellArrays(int timeStep=0, int otyp=1, int obj=0, vtkExodusIIReaderPrivate::BlockSetInfoType * bsinfop=0x088afa58, vtkUnstructuredGrid * output=0x0b534870) Line 1019 + 0x2e bytes C++
     vtkHybrid.dll!vtkExodusIIReaderPrivate::RequestData(int timeStep=0, vtkMultiBlockDataSet * output=0x0b3f2b90) Line 4626 C++
     vtkHybrid.dll!vtkExodusIIReader::RequestData(vtkInformation * __formal=0x0b4aed00, vtkInformation * __formal=0x0b4aed00, vtkInformationVector * outputVector=0x0b092450) Line 5652 C++
     vtkHybrid.dll!vtkExodusIIReader::ProcessRequest(vtkInformation * request=0x0b4aed00, vtkInformationVector * * inputVector=0x00000000, vtkInformationVector * outputVector=0x0b092450) Line 5472 + 0x1e bytes C++
     vtkFiltering.dll!vtkExecutive::CallAlgorithm(vtkInformation * request=0x0b4aed00, int direction=1, vtkInformationVector * * inInfo=0x00000000, vtkInformationVector * outInfo=0x0b092450) Line 748 + 0x21 bytes C++


I think the problem may be the following code:
(file vtkexodususiireader.cxx, line 2028)

        vtkIdType N = arr->GetNumberOfTuples();
        tmpVal[c].resize( N );
        if ( ex_get_var( exoid, key.Time + 1, static_cast<ex_entity_type>( key.ObjectType ),
            ainfop->OriginalIndices[c], oinfop->Id, arr->GetNumberOfTuples(),
            &tmpVal[c][0] ) < 0)


arr->GetNumberOfTuples() is returning 0, which isn't being handled well.
(0016534)
Utkarsh Ayachit (administrator)
2009-05-19 13:07

Avoid assert when number of tuples == 0.

CVS Head====
/cvsroot/ParaView3/ParaView3/VTK/Hybrid/vtkExodusIIReader.cxx,v <-- VTK/Hybrid/vtkExodusIIReader.cxx
new revision: 1.77; previous revision: 1.76

3.6. Branch=====
/cvsroot/ParaView3/ParaView3/VTK/Hybrid/vtkExodusIIReader.cxx,v <-- VTK/Hybrid/vtkExodusIIReader.cxx
new revision: 1.76.2.1; previous revision: 1.76
(0016576)
Alan Scott (manager)
2009-05-26 21:13

Tested local server.

 Issue History
Date Modified Username Field Change
2009-03-16 18:47 Alan Scott New Issue
2009-03-16 18:58 Alan Scott Note Added: 0015707
2009-03-17 10:01 Utkarsh Ayachit Note Added: 0015711
2009-05-06 22:28 Alan Scott Note Added: 0016327
2009-05-06 22:28 Alan Scott Status backlog => @80@
2009-05-06 22:28 Alan Scott Resolution open => fixed
2009-05-06 22:28 Alan Scott Assigned To => Alan Scott
2009-05-07 20:52 Alan Scott Note Added: 0016346
2009-05-07 20:52 Alan Scott Status @80@ => @20@
2009-05-07 20:52 Alan Scott Resolution fixed => reopened
2009-05-07 20:52 Alan Scott Assigned To Alan Scott =>
2009-05-07 20:52 Alan Scott Status @20@ => tabled
2009-05-07 20:52 Alan Scott Assigned To => Utkarsh Ayachit
2009-05-07 20:52 Alan Scott Status tabled => @20@
2009-05-13 13:44 Utkarsh Ayachit Target Version => 3.6
2009-05-15 20:06 Alan Scott Note Added: 0016500
2009-05-19 13:07 Utkarsh Ayachit Note Added: 0016534
2009-05-19 13:07 Utkarsh Ayachit Status @20@ => @80@
2009-05-19 13:07 Utkarsh Ayachit Fixed in Version => 3.6
2009-05-19 13:07 Utkarsh Ayachit Resolution reopened => fixed
2009-05-26 21:13 Alan Scott Note Added: 0016576
2009-05-26 21:13 Alan Scott Status @80@ => closed
2011-01-13 17:00 Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00 Source_changeset_attached => VTK master 020ef709
2011-06-16 13:10 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team