View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024164 | Open CASCADE | OCCT:Application Framework | public | 2013-09-11 18:05 | 2013-12-19 13:58 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | major | ||
Status | closed | Resolution | fixed | ||
Product Version | 6.6.0 | ||||
Target Version | 6.7.0 | Fixed in Version | 6.7.0 | ||
Summary | 0024164: Optimization of OCAF document closing | ||||
Description | The approach used in 23523 is potentially buggy and should be optimized. The modifications done in 23523, 23593, 23554, 23489, 24007 and 24047 to be taken into account | ||||
Additional information and documentation updates | Returned default OCAF document destructor. New method BeforeClose() is added to TDocStd_Document class. This method is used by Close method of Application class and prepares OCAF document internal structure to closing procedure. | ||||
Tags | No tags attached. | ||||
Test case number | bugs caf(015) bug24164_1, bug24164_2 | ||||
related to | 0023523 | closed | Open CASCADE | In session DRAW it is impossible to close document having name already once closed document. | |
related to | 0023593 | closed | Roman Lygin | Community | XCAFDoc_DocumentTool label must be removed from internal map upon closing the XDE document |
related to | 0023554 | closed | Pawel | Community | Crash when closing BinXCAF document |
related to | 0023489 | closed | Roman Lygin | Community | Memory leak in TNaming_NamedShape |
related to | 0024007 | closed | Roman Lygin | Community | [Regression] Sporadic crashes when working with XDE documents |
related to | 0024047 | closed | Open CASCADE | Exception in TPrsStd_AISPresentation during destruction of TDocStd_Document | |
related to | 0021907 | closed | vro | Open CASCADE | Memory leak in OCAF document |
|
Returned direct order of OCAF document destruction. All necessary additional actions are done in 'Close' method. Problems during document closing / opening are not reproduced more on the referred in description bugs. Also added 2 additional testing scripts. To be reviewed (see branch CR24164). |
|
No remarks, please test |
|
Dear BugMaster, Branch CR24164 (and products from GIT master) was compiled on Linux and Windows platforms and tested. SHA-1: c285b00ebc582bb764d53a51edf3f24bdd91d203 Number of compiler warnings: occt component : Linux: 426 (426 on master) Windows: 24 (24 on master) products component : Linux: 190 (190 on master) Windows: 287 (287 on master) Regressions/Differences: No regressions/differences Testing cases: http://occt-tests/CR24164-master-occt/Debian60-64/bugs/caf/bug24164_1.html http://occt-tests/CR24164-master-occt/Windows-32-VC9/bugs/caf/bug24164_1.html bugs caf(015) bug24164_1: OK http://occt-tests/CR24164-master-occt/Debian60-64/bugs/caf/bug24164_2.html http://occt-tests/CR24164-master-occt/Windows-32-VC9/bugs/caf/bug24164_2.html bugs caf(015) bug24164_2: FAILED - invalid command name "SetRefArray" Testing on Linux: Total MEMORY difference: 366287016 / 366206252 Total CPU difference: 42789.750000000735 / 44692.7800000013 Testing on Windows: Total MEMORY difference: 434066976 / 433419000 Total CPU difference: 38086.796875 / 34607.078125 There are not differences in images found by testdiff. |
|
Fixed. |
|
Reviewed. Ready for testing. |
|
Dear BugMaster, Branch CR24164 (and products from GIT master) was compiled on Linux and Windows platforms and tested. SHA-1: 109ccaff179dd83a22847b10655cacd35d678bd5 Number of compiler warnings: occt component : Linux: 425 (426 on master) Windows: 24 (24 on master) products component : Linux: 189 (190 on master) Windows: 287 (287 on master) Regressions/Differences: No regressions/differences Testing cases: http://occt-tests/CR24164-1-master-occt/Debian60-64/bugs/caf/bug24164_1.html http://occt-tests/CR24164-1-master-occt/Windows-32-VC9/bugs/caf/bug24164_1.html bugs caf(015) bug24164_1: OK http://occt-tests/CR24164-1-master-occt/Debian60-64/bugs/caf/bug24164_2.html http://occt-tests/CR24164-1-master-occt/Windows-32-VC9/bugs/caf/bug24164_2.html bugs caf(015) bug24164_2: OK Testing on Linux: Total MEMORY difference: 365135136 / 366170600 Total CPU difference: 43647.680000001026 / 44691.7500000013 Testing on Windows: Total MEMORY difference: 435135928 / 433394664 Total CPU difference: 32500.96875 / 34607.296875 There are not differences in images found by testdiff. |
occt: master 1c9cffdb 2013-10-10 09:28:30
Committer: bugmaster Details Diff |
0024164: Optimization of OCAF document closing OCAF document closing redesign. added 2 test scripts. removed commented method. added missed Draw commands. |
Affected Issues 0024164 |
|
mod - src/DDataStd/DDataStd_BasicCommands.cxx | Diff File | ||
mod - src/TDocStd/TDocStd_Application.cxx | Diff File | ||
mod - src/TDocStd/TDocStd_Document.cdl | Diff File | ||
mod - src/TDocStd/TDocStd_Document.cxx | Diff File | ||
add - tests/bugs/caf/bug24164_1 | Diff File | ||
add - tests/bugs/caf/bug24164_2 | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-09-11 18:05 |
|
New Issue | |
2013-09-11 18:05 |
|
Assigned To | => szy |
2013-09-11 18:08 |
|
Status | new => assigned |
2013-09-11 18:08 |
|
Description Updated | |
2013-10-02 15:10 |
|
Note Added: 0025846 | |
2013-10-02 15:10 |
|
Assigned To | szy => abv |
2013-10-02 15:10 |
|
Status | assigned => resolved |
2013-10-02 15:14 |
|
Additional Information Updated | |
2013-10-02 15:51 |
|
Relationship added | related to 0023523 |
2013-10-02 15:52 |
|
Relationship added | related to 0023593 |
2013-10-02 15:52 |
|
Relationship added | related to 0023554 |
2013-10-02 15:52 |
|
Relationship added | related to 0023489 |
2013-10-02 15:52 |
|
Relationship added | related to 0024007 |
2013-10-02 15:52 |
|
Relationship added | related to 0024047 |
2013-10-02 16:07 |
|
Note Added: 0025850 | |
2013-10-02 16:07 |
|
Assigned To | abv => bugmaster |
2013-10-02 16:07 |
|
Status | resolved => reviewed |
2013-10-02 16:30 | bugmaster | Assigned To | bugmaster => mkv |
2013-10-02 20:14 |
|
Relationship added | related to 0021907 |
2013-10-03 13:51 |
|
Note Added: 0025869 | |
2013-10-03 13:53 |
|
Test case number | => bugs caf(015) bug24164_1, bug24164_2 |
2013-10-03 13:53 |
|
Assigned To | mkv => szy |
2013-10-03 13:53 |
|
Status | reviewed => assigned |
2013-10-03 15:00 |
|
Note Added: 0025871 | |
2013-10-03 15:00 |
|
Status | assigned => resolved |
2013-10-03 15:01 |
|
Note Added: 0025872 | |
2013-10-03 15:01 |
|
Assigned To | szy => mkv |
2013-10-03 15:01 |
|
Status | resolved => reviewed |
2013-10-07 08:31 |
|
Note Added: 0025919 | |
2013-10-07 08:31 |
|
Assigned To | mkv => bugmaster |
2013-10-07 08:31 |
|
Status | reviewed => tested |
2013-10-11 13:35 | bugmaster | Changeset attached | => occt master 1c9cffdb |
2013-10-11 13:35 | bugmaster | Status | tested => verified |
2013-10-11 13:35 | bugmaster | Resolution | open => fixed |
2013-12-19 13:51 | bugmaster | Status | verified => closed |
2013-12-19 13:58 | bugmaster | Fixed in Version | => 6.7.0 |