DiscussionsIssue archiveOCCT:Foundation Classes

Archived issue #0031369

Foundation Classes, Standard_ReadBuffer - access violation on second ::ReadChunk() call after read failure

Open CASCADEOCCT:Foundation Classesclosed5 public notes

Search issues

Description

Access violation happens on reading attached glTF model.

Steps to reproduce

pload XDE VISUALIZATION
ReadGltf D bath-city-north-gltfpack.glb


Output:
An exception was caught [revision removed] : Standard_ProgramError: OSD_Exception_ACCESS_VIOLATION: ACCESS VIOLATION at address 0x0000000000000002 during 'READ' operation

Public activity

5 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
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.
02Author
Patch is ready for review
- OCCT branch: [archived branch]

http://jenkins-test-12.nnov.opencascade.com:8080/view/CR31369-master-KGV/
03Commenter 3
The patch was reviewed
04Commenter 1
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
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
05Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records