View Issue Details

IDProjectCategoryView StatusLast Update
0033444CommunityOCCT:Data Exchangepublic2023-12-04 12:59
Reporterborm Assigned Toborm  
PrioritynormalSeveritycrash 
Status feedbackResolutionopen 
PlatformWindowsOSVC++ 2022 
Product Version7.7.1 
Target VersionUnscheduled 
Summary0033444: Data Exchange - Crash by reading STEP file
DescriptionCrash by reading attached STEP file. We read the file as follows:
STEPCAFControl_Reader stepReader;
stepReader.SetColorMode(Standard_True);
stepReader.SetNameMode(Standard_True);
const auto result = stepReader.Perform(fileName, pOcctDocument);
TagsNo tags attached.
Test case number

Attached Files

  • ABR_BJK.STEP (82,343 bytes)

Relationships

has duplicate 0033443 closedbugmaster Data Exchange - Crash by reading STEP file 

Activities

borm

2023-08-07 11:39

reporter  

ABR_BJK.STEP (82,343 bytes)

ika

2023-11-03 18:09

developer   ~0114483

Dear borm,

it is impossible to read this file. The separator between integer and decimal parts should be a dot, while here it is a comma.

0000001 = DIRECTION ( 'NONE', ( -0,0000000000000000000, -0,0000000000000000000, 1,000000000000000000 ) ) ;

borm

2023-12-04 12:59

reporter   ~0114687

Hi,

hmm the file is not possible to load due to problem with the format. However the reader should not crash but come with some reasonable error or exception IMO. Can you improve the error handling in this case? That would be great!

Many thanks,
Gabriel

Issue History

Date Modified Username Field Change
2023-08-07 11:39 borm New Issue
2023-08-07 11:39 borm Assigned To => ika
2023-08-07 11:39 borm File Added: ABR_BJK.STEP
2023-08-07 11:41 dpasukhi Severity major => crash
2023-08-07 11:41 dpasukhi Target Version => Unscheduled
2023-08-07 11:41 dpasukhi Summary Crash by reading STEP file => Data Exchange - Crash by reading STEP file
2023-08-07 11:43 dpasukhi Relationship added has duplicate 0033443
2023-11-03 18:09 ika Assigned To ika => borm
2023-11-03 18:09 ika Status new => feedback
2023-11-03 18:09 ika Note Added: 0114483
2023-12-04 12:59 borm Note Added: 0114687