View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0031120 | Open CASCADE | OCCT:Modeling Algorithms | public | 2019-11-01 12:28 | 2020-12-02 17:12 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 7.4.0 | ||||
Target Version | 7.5.0 | Fixed in Version | 7.5.0 | ||
Summary | 0031120: Memory leak in BRepOffsetAPI_MakeOffset | ||||
Description | There is memory leak when offsetting a wire using BRepOffsetAPI_MakeOffset. | ||||
Steps To Reproduce | restore wire.brep w for {set i 0} {$i < 1000} {incr i} { mkoffset r w 1 0.5 if ![expr $i%100] { puts "i = $i, mem = [lindex [meminfo h] 0]" } } Output: i = 0, mem = 8723622 i = 100, mem = 9464422 i = 200, mem = 10205222 i = 300, mem = 10946022 i = 400, mem = 11686822 i = 500, mem = 12427622 i = 600, mem = 13168422 i = 700, mem = 13909222 i = 800, mem = 14650022 i = 900, mem = 15390822 | ||||
Tags | No tags attached. | ||||
Test case number | bugs/modalg_7/bug31120 | ||||
|
Branch CR31120 has been created by msv. SHA-1: b56c43fb52cae3c2f2fcd788e0bf8948cac670bf Detailed log of new commits: Author: msv Date: Fri Nov 1 15:05:43 2019 +0300 0031120: Memory leak in BRepOffsetAPI_MakeOffset |
|
This is a beginning patch. |
|
Branch CR31120 has been updated forcibly by jgv. SHA-1: 918fa41fd70e2e2933d7b0ed8c38f1e6d9b487d6 |
2019-11-15 14:18 developer |
bug31120_wire.brep (1,056 bytes) |
|
Please add the attached shape to database. |
|
Done. |
|
Branch CR31120 has been updated forcibly by jgv. SHA-1: b49675eab88da80929318d88ea7bbca798c47099 |
|
Branch CR31120 has been updated by jgv. SHA-1: da017d208f4e2374156d4655a561afd922209cf2 Detailed log of new commits: Author: jgv Date: Wed Nov 20 17:10:32 2019 +0300 Fix of regression |
|
Please review the branch CR31120. |
|
The following changes are useless: src/MAT/MAT_Bisector.cxx src/MAT/MAT_Bisector.hxx src/MAT/MAT_Edge.cxx src/MAT/MAT_Edge.hxx The test case needs to be changed so as to generate error in case of memory leak. |
|
Branch CR31120 has been updated forcibly by jgv. SHA-1: 9a2dfa5a8fefad1c0f74104a23adb27f204da1ea |
|
Branch CR31120 has been updated forcibly by jgv. SHA-1: db1c4276626f0f5526b1571e4dddd66747387f75 |
|
Branch CR31120 has been updated forcibly by jgv. SHA-1: 23c2ae55c797db7258027b6df30b3af36fb3d954 |
|
Please review the branch CR31120. |
|
Reviewed. |
|
Combination - OCCT branch : WEEK-51 master SHA - 3b103d2a9722e0036cdc49f20f731206a3759661 48c80365a5ee43eb35cde01737ce3b9b92fa554e Products branch : WEEK-51 SHA - ab8f6b8a8b181749f2425bef9184270f8ff61aa2 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: 16963.310000000132 / 16976.290000000114 [-0.08%] Products Total CPU difference: 10729.300000000072 / 10746.800000000061 [-0.16%] Windows-64-VC14: OCCT Total CPU difference: 18395.1875 / 18406.625 [-0.06%] Products Total CPU difference: 12706.875 / 12757.328125 [-0.40%] Image differences : No differences that require special attention Memory differences : No differences that require special attention |
|
Branch CR31120 has been deleted by inv. SHA-1: 23c2ae55c797db7258027b6df30b3af36fb3d954 |
occt: master 23c2ae55 2019-11-01 12:05:43
Committer: |
0031120: Memory leak in BRepOffsetAPI_MakeOffset Add destructor of MAT2d_Mat2d - full removal of edges and bisectors. |
Affected Issues 0031120 |
|
mod - src/MAT/MAT_ListOfBisector.hxx | Diff File | ||
mod - src/MAT/MAT_ListOfEdge.hxx | Diff File | ||
mod - src/MAT/MAT_TList.gxx | Diff File | ||
mod - src/MAT2d/MAT2d_Mat2d.cxx | Diff File | ||
mod - src/MAT2d/MAT2d_Mat2d.hxx | Diff File | ||
add - tests/bugs/modalg_7/bug31120 | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-11-01 12:28 |
|
New Issue | |
2019-11-01 12:28 |
|
Assigned To | => msv |
2019-11-01 12:28 |
|
File Added: wire.brep | |
2019-11-01 15:30 | git | Note Added: 0088703 | |
2019-11-01 15:31 |
|
Note Added: 0088704 | |
2019-11-15 14:16 | git | Note Added: 0088995 | |
2019-11-15 14:18 |
|
File Deleted: wire.brep | |
2019-11-15 14:18 |
|
File Added: bug31120_wire.brep | |
2019-11-15 14:19 |
|
Note Added: 0088996 | |
2019-11-15 14:19 |
|
Status | new => feedback |
2019-11-18 09:56 |
|
Note Added: 0089038 | |
2019-11-18 09:56 |
|
Assigned To | msv => jgv |
2019-11-18 09:56 |
|
Status | feedback => assigned |
2019-11-19 18:17 | git | Note Added: 0089084 | |
2019-11-20 17:12 | git | Note Added: 0089108 | |
2019-11-20 17:47 |
|
Note Added: 0089109 | |
2019-11-20 17:47 |
|
Assigned To | jgv => msv |
2019-11-20 17:47 |
|
Status | assigned => resolved |
2019-11-20 18:09 |
|
Note Added: 0089110 | |
2019-11-20 18:09 |
|
Assigned To | msv => jgv |
2019-11-20 18:09 |
|
Status | resolved => assigned |
2019-12-16 20:30 | git | Note Added: 0089589 | |
2019-12-17 15:02 | git | Note Added: 0089604 | |
2019-12-17 15:54 | git | Note Added: 0089606 | |
2019-12-18 13:56 |
|
Note Added: 0089620 | |
2019-12-18 13:56 |
|
Assigned To | jgv => msv |
2019-12-18 13:56 |
|
Status | assigned => resolved |
2019-12-18 14:35 |
|
Note Added: 0089622 | |
2019-12-18 14:35 |
|
Assigned To | msv => bugmaster |
2019-12-18 14:35 |
|
Status | resolved => reviewed |
2019-12-18 19:47 | bugmaster | Test case number | => bugs/modalg_7/bug31120 |
2019-12-19 16:35 | bugmaster | Note Added: 0089659 | |
2019-12-19 16:35 | bugmaster | Status | reviewed => tested |
2019-12-22 11:04 |
|
Changeset attached | => occt master 23c2ae55 |
2019-12-22 11:04 |
|
Assigned To | bugmaster => jgv |
2019-12-22 11:04 |
|
Status | tested => verified |
2019-12-22 11:04 |
|
Resolution | open => fixed |
2019-12-22 11:10 | git | Note Added: 0089694 | |
2020-12-02 16:40 |
|
Fixed in Version | => 7.5.0 |
2020-12-02 17:12 |
|
Status | verified => closed |