Archived issue #0025558
It is impossible to restore attached shape
Description
Restoration of attached shape leads writing out of memory:
1640 void BSplCLib::GetPole(const Standard_Integer Index,
...
1651 for (k = 0; k < Dimension; k++) {
1652 Pole(Position) = pole[k];
1653 Position++;
1654 }
This situation caused by "PrepareInsertKnots" function in the same file, where new knot count computed.
1640 void BSplCLib::GetPole(const Standard_Integer Index,
...
1651 for (k = 0; k < Dimension; k++) {
1652 Pole(Position) = pole[k];
1653 Position++;
1654 }
This situation caused by "PrepareInsertKnots" function in the same file, where new knot count computed.
Steps to reproduce
restore Attachment 1 (BREP)
Public activity
9 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Dec 5 12:24:45 2014 +0300
0025558: It is impossible to restore attached shape
Condition of adding one last knot corrected.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Dec 5 12:24:45 2014 +0300
0025558: It is impossible to restore attached shape
Condition of adding one last knot corrected.
Dear abv,
Please check current state of branch CR25558.
Please check current state of branch CR25558.
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
No remarks, please test
Branch [archived branch] has been updated forcibly by Participant.
[revision removed]
[revision removed]
Branch [archived branch] has been rebased on the current master
Branch [archived branch] has been updated by Participant.
[revision removed]
Detailed log of new commits:
Author: apv
Date: Wed Dec 10 17:39:22 2014 +0300
Test-case for issue #0025558
[revision removed]
Detailed log of new commits:
Author: apv
Date: Wed Dec 10 17:39:22 2014 +0300
Test-case for issue #0025558
Dear Commenter 1,
Branch CR25558 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component:
Linux: 18 (18 on master)
Windows: 0 (0 on master)
products component :
Linux: 11 (11 on master)
Windows: 0 (1 on master)
Regressions/Differences:
Not detected
Testing cases:
bugs fclasses(002) bug25558 - OK
http://occt-tests/CR25558-master-occt/Debian60-64/bugs/fclasses/bug25558.html
http://occt-tests/CR25558-master-occt/Windows-32-VC10/bugs/fclasses/bug25558.html
Testing on Linux:
Total MEMORY difference: 364074712 / 363562240
Total CPU difference: 47239.96000000008 / 47537.4299999999
Testing on Windows:
Total MEMORY difference: 277027136 / 277181316
Total CPU difference: 36424.1875 / 41681.890625
Branch CR25558 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component:
Linux: 18 (18 on master)
Windows: 0 (0 on master)
products component :
Linux: 11 (11 on master)
Windows: 0 (1 on master)
Regressions/Differences:
Not detected
Testing cases:
bugs fclasses(002) bug25558 - OK
http://occt-tests/CR25558-master-occt/Debian60-64/bugs/fclasses/bug25558.html
http://occt-tests/CR25558-master-occt/Windows-32-VC10/bugs/fclasses/bug25558.html
Testing on Linux:
Total MEMORY difference: 364074712 / 363562240
Total CPU difference: 47239.96000000008 / 47537.4299999999
Testing on Windows:
Total MEMORY difference: 277027136 / 277181316
Total CPU difference: 36424.1875 / 41681.890625
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]