DiscussionsIssue archivePRODUCTS:PMI Visualization

Archived issue #0032745

PMI Visualization - NULL dereference while on sample STEP file

CommunityPRODUCTS:PMI Visualizationclosed6 public notes

Search issues

Description

The attached STEP files cannot be imported to CAD Assistant [network address removed]. However, they do work with our NIST STEP to X3D Translator that is based on OCCT 7.6.0. https://github.com/usnistgov/STP2X3D I think I submitted these files before with another issue.

Steps to reproduce

Import the STEP files to CAD Assistant

pload XDE OCAF VISUALIZATION MODELING
ReadStep D part1.stp

vinit View1
XDisplay -dispMode 1 D
vfit

pload -DrawPluginProducts PMIVIS
PMIimport -doc D


Result:
PMI dimension import -> object '0:1:4:4' : document object does not contain semantic information. Skipping object for display.
PMI dimension import -> object '0:1:4:5' : document object does not contain semantic information. Skipping object for display.
An exception was caught [revision removed] : OSD_Exception_ACCESS_VIOLATION: ACCESS VIOLATION at address 0x0000000000000000 during 'READ' operation

Public activity

6 archived notes

Participants are labeled by their role within this record.

01Author
I'm having problems attaching the example files.
02Author
No problem now.
03Commenter 1
Attachment 1 (PNG) (7,824 bytes)   
Attachment 2 (PNG) (28,870 bytes)   
04Commenter 1
Attachment 3 (STP) (174,293 bytes)   
Attachment 4 (STP) (1,515,553 bytes)   
05Commenter 1
Please raise trivial bug-fix adding NULL-checks
- OCC Products: branch CR32745.

http://jenkins-test-occt/view/master-CR32745-KGV/

After that it might worth to check if imported PMI entities are properly displayed / could be properly displayed within provided STEP samples.
06Commenter 6
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: 18175.950000000386 / 18206.72000000041 [-0.17%]
Products
Total CPU difference: 11591.210000000114 / 11647.080000000102 [-0.48%]
Windows-64-VC14:
OCCT
Total CPU difference: 19974.5625 / 20013.0 [-0.19%]
Products
Total CPU difference: 13088.09375 / 13094.75 [-0.05%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention