MantisBT - Open CASCADE
View Issue Details
0031369Open CASCADE[OCCT] OCCT:Foundation Classespublic2020-02-12 16:082020-09-05 12:35
kgv 
bugmaster 
normalminor 
verifiedfixed 
[OCCT] 7.4.0 
[OCCT] 7.5.0 
Not required
0031369: Foundation Classes, Standard_ReadBuffer - access violation on second ::ReadChunk() call after read failure
Access violation happens on reading attached glTF model.
pload XDE VISUALIZATION
ReadGltf D bath-city-north-gltfpack.glb


Output:
An exception was caught 000001DE3385CD90 : Standard_ProgramError: OSD_Exception_ACCESS_VIOLATION: ACCESS 
VIOLATION at address 0x0000000000000002 during 'READ' operation
No tags attached.
child of 0030692closed bugmaster Data Exchange - introduce base framework RWMesh for importing mesh data formats into XDE document 
7z bath-city-north-gltfpack.7z (2,526,877) 2020-02-12 16:08
https://tracker.dev.opencascade.org/
Issue History
2020-02-12 16:08kgvNew Issue
2020-02-12 16:08kgvAssigned To => kgv
2020-02-12 16:08kgvFile Added: bath-city-north-gltfpack.7z
2020-02-12 16:08kgvRelationship addedchild of 0030691
2020-08-28 14:18kgvCategoryOCCT:Data Exchange => OCCT:Foundation Classes
2020-08-28 14:18kgvSummaryData Exchange, RWGltf_CafReader - access violation on reading attached glTF model => Standard_ReadBuffer::ReadChunk() - access violation on second call after read failure
2020-08-28 14:18kgvSummaryStandard_ReadBuffer::ReadChunk() - access violation on second call after read failure => Foundation Classes, Standard_ReadBuffer::ReadChunk() - access violation on second call after read failure
2020-08-28 14:19kgvSummaryFoundation Classes, Standard_ReadBuffer::ReadChunk() - access violation on second call after read failure => Foundation Classes, Standard_ReadBuffer - access violation on second ::ReadChunk() call after read failure
2020-08-28 14:22gitNote Added: 0093693
2020-08-28 16:28kgvNote Added: 0093704
2020-08-28 16:28kgvAssigned Tokgv => osa
2020-08-28 16:28kgvStatusnew => resolved
2020-08-28 16:28kgvRelationship addedchild of 0030692
2020-08-28 16:28kgvRelationship deletedchild of 0030691
2020-08-28 17:28osaNote Added: 0093710
2020-08-28 17:28osaAssigned Toosa => bugmaster
2020-08-28 17:28osaStatusresolved => reviewed
2020-08-28 17:32kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=23258#r23258
2020-08-30 11:01bugmasterNote Added: 0093731
2020-08-30 11:01bugmasterStatusreviewed => tested
2020-08-30 11:14bugmasterTest case number => Not required
2020-08-30 11:33bugmasterChangeset attached => occt master 68a23293
2020-08-30 11:33bugmasterStatustested => verified
2020-08-30 11:33bugmasterResolutionopen => fixed
2020-09-05 12:35gitNote Added: 0094099

Notes
(0093693)
git   
2020-08-28 14:22   
Branch CR31369 has been created by kgv.

SHA-1: 42844560fa758b81e9a6f0174327d20119afae6c


Detailed log of new commits:

Author: kgv
Date: Fri Aug 28 14:24:40 2020 +0300

    0031369: Foundation Classes, Standard_ReadBuffer - access violation on second ::ReadChunk() call after read failure
    
    Standard_ReadBuffer::readRawDataChunk() - do not increment NULL pointer and return invalid address.
(0093704)
kgv   
2020-08-28 16:28   
Patch is ready for review
- OCCT branch: CR31369

http://jenkins-test-12.nnov.opencascade.com:8080/view/CR31369-master-KGV/ [^]
(0093710)
osa   
2020-08-28 17:28   
The patch was reviewed
(0093731)
bugmaster   
2020-08-30 11:01   
Combination -
OCCT branch : IR-2020-08-28
master SHA - 68a23293059aefbc5feeb43dbbe92e728944f170
a206de37fbfa0bf71bd534ae47192bbec23b8522
Products branch : IR-2020-08-28 SHA - 231cf318a348ade96332c8dca2b8aa3ffa18d6cf
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17249.00000000021 / 17322.48000000014 [-0.42%]
Products
Total CPU difference: 12007.590000000067 / 11882.730000000085 [+1.05%]
Windows-64-VC14:
OCCT
Total CPU difference: 18729.984375 / 18716.078125 [+0.07%]
Products
Total CPU difference: 13222.90625 / 13242.09375 [-0.14%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0094099)
git   
2020-09-05 12:35   
Branch CR31369 has been deleted by inv.

SHA-1: 42844560fa758b81e9a6f0174327d20119afae6c