MantisBT - Community
View Issue Details
0024517Community[OCCT] OCCT:Data Exchangepublic2014-01-08 12:382014-05-05 13:37
gdumonteil 
bugmaster 
urgentcrash 
closedfixed 
x64Windows7
[OCCT] 6.7.0 
[OCCT] 6.7.1[OCCT] 6.7.1 
Not needed
0024517: Crash at StepToTopoDS_TranslateEdge::Init()
Issue 0023938 is parent.

The first crash of issue 0023938 is corrected but the second is still crashing our application.

The crash is at "StepToTopoDS_TranslateEdge::Init()", at line 308, when testing the kind of C: "if ( C->IsKind(STANDARD_TYPE(StepGeom_Pcurve)))"

We correct here also by cheking the nullity of C before calling the IsKind function:

if (!C.IsNull()) {
  if ( C->IsKind(STANDARD_TYPE(StepGeom_Pcurve))) {

With this, we're finally able to fully transfer the STEP file.
We can't share the STEP file from our client. The STEP file was exported from SolidWorks 2011.
No tags attached.
child of 0023938closed ika Crash at StepToTopoDS_TranslateEdgeLoop::Init() &StepToTopoDS_TranslateEdge::Init() 
Issue History
2014-01-08 12:38gdumonteilNew Issue
2014-01-08 12:38gdumonteilAssigned To => gka
2014-01-17 11:40gkaStatusnew => assigned
2014-01-17 13:08gkaNote Added: 0027535
2014-01-17 13:08gkaAssigned Togka => abv
2014-01-17 13:08gkaStatusassigned => resolved
2014-01-17 16:04abvNote Added: 0027539
2014-01-17 16:04abvAssigned Toabv => bugmaster
2014-01-17 16:04abvStatusresolved => reviewed
2014-01-20 17:48mkvAssigned Tobugmaster => mkv
2014-01-22 11:05mkvRelationship addedchild of 0023938
2014-01-22 11:06mkvNote Added: 0027588
2014-01-22 11:07mkvTest case number => Not needed
2014-01-22 11:07mkvAssigned Tomkv => bugmaster
2014-01-22 11:07mkvStatusreviewed => tested
2014-01-23 10:14bugmasterTarget Version => 6.7.1
2014-01-24 15:35bugmasterChangeset attached => occt master 545ef510
2014-01-24 15:35bugmasterStatustested => verified
2014-01-24 15:35bugmasterResolutionopen => fixed
2014-05-05 13:34aivStatusverified => closed
2014-05-05 13:37aivFixed in Version => 6.7.1

Notes
(0027535)
gka   
2014-01-17 13:08   
Branch CR24517 is ready to be reviewed.
(0027539)
abv   
2014-01-17 16:04   
No remarks, please test
(0027588)
mkv   
2014-01-22 11:06   
Dear BugMaster,

Branch CR24517 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
SHA-1: 147098f646f964d17361aed67f274718187ca385

Number of compiler warnings:

occt component :
Linux: 48 (48 on master)
Windows: 1 (1 on master)

products component :
Linux: 12 (12 on master)
Windows: 2 (2 on master)

Regressions/Differences:
No regressions/differences

Testing cases:
Not needed

Testing on Linux:
Total MEMORY difference: 365409044 / 365937044
Total CPU difference: 43525.38000000006 / 44020.780000000144

Testing on Windows:
Total MEMORY difference: 417225024 / 417459436
Total CPU difference: 32393.828125 / 32496.375

There are not differences in images found by testdiff.