Archived issue #0025168
STEP Writer - empty AppliedGroupAssignment can cause exception in RWStepAP214_RWAppliedGroupAssignment class
Description
The issue was partially solved in the context of #24135 ticket, but WriteStep function was forgotten.
Steps to reproduce
Unfortunately my data is classified.
Public activity
7 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
This branch includes the following new commits:
new acccc9d 0025168: function WriteStep is fixed
Detailed log of new commits:
[revision removed]
Author: razmyslovich
Date: Tue Aug 19 14:28:48 2014 +0200
0025168: function WriteStep is fixed
[revision removed]
This branch includes the following new commits:
new acccc9d 0025168: function WriteStep is fixed
Detailed log of new commits:
[revision removed]
Author: razmyslovich
Date: Tue Aug 19 14:28:48 2014 +0200
0025168: function WriteStep is fixed
The fix is committed, please, review it
I would like to add, that my test case was created by Author 2009
Branch CR21568 is ready to be tested
The problem can be reproduced using file Drum.stp found in #24135:
Draw[]> stepread d:/temp/Drum.stp a .
...
Draw[]> writeall d:/temp/a.stp
Execution Failure for : writeall d:/temp/a.stp
** WorkSession : Sending all data
Step File Name : d:/temp/a.stp(56826 ents) **** Interruption SendAll par
Exception : ****
ACCESS VIOLATION at address 0x00000014 during 'READ' operation
Abandon
Draw[]> stepread d:/temp/Drum.stp a .
...
Draw[]> writeall d:/temp/a.stp
Execution Failure for : writeall d:/temp/a.stp
** WorkSession : Sending all data
Step File Name : d:/temp/a.stp(56826 ents) **** Interruption SendAll par
Exception : ****
ACCESS VIOLATION at address 0x00000014 during 'READ' operation
Abandon
Dear Commenter 1,
Branch CR25168 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component:
Linux: 15 (15 on master)
Windows: 0 (0 on master)
products component:
Linux: 11 (11 on master)
Windows: 1 (1 on master)
Regressions/Differences:
Not detected
Testing case:
Absent
Testing on Linux:
Total MEMORY difference: 352147592 / 351903180
Total CPU difference: 45222.38000000002 / 45953.950000000135
Testing on Windows:
Total MEMORY difference: 239918324 / 239721508
Total CPU difference: 36318.40625 / 32650.328125
Branch CR25168 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component:
Linux: 15 (15 on master)
Windows: 0 (0 on master)
products component:
Linux: 11 (11 on master)
Windows: 1 (1 on master)
Regressions/Differences:
Not detected
Testing case:
Absent
Testing on Linux:
Total MEMORY difference: 352147592 / 351903180
Total CPU difference: 45222.38000000002 / 45953.950000000135
Testing on Windows:
Total MEMORY difference: 239918324 / 239721508
Total CPU difference: 36318.40625 / 32650.328125
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Related records