View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0031320 | Open CASCADE | OCCT:Application Framework | public | 2020-01-25 20:38 | 2020-12-02 17:12 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Target Version | 7.5.0 | Fixed in Version | 7.5.0 | ||
Summary | 0031320: TObj - method TObj_Object::GetFatherObject() is not protected against deleted object | ||||
Description | Method TObj_Object::GetFatherObject() will cause access violation if called for an object that has been removed from the document (i.e. whose method IsAlive() returns false). | ||||
Steps To Reproduce | bugs caf bug31320 | ||||
Tags | No tags attached. | ||||
Test case number | bugs caf bug31320 | ||||
|
Branch CR31320 has been created by mpv. SHA-1: 616b2f125b737b650ea674a29598701b4b9c782d Detailed log of new commits: Author: mpv Date: Mon Aug 31 18:24:59 2020 +0300 31320: TObj - method TObj_Object::GetFatherObject() is not protected against deleted object |
|
Fixed. Please review. http://occt-tests/CR31320-master-MPV-OCCT/Windows-64-VC14/diff_summary.html http://occt-tests/CR31320-master-MPV-Products/Windows-64-VC14/diff_summary.html http://occt-tests/CR31320-master-MPV-OCCT/Debian80-64/diff_summary.html http://occt-tests/CR31320-master-MPV-Products/Debian80-64/diff_summary.html |
|
+puts "OCC31320" Could you please add a full bug description to the test? E.g. +puts "0031320: TObj - method TObj_Object::GetFatherObject() is not protected against deleted object" Handle(TObj_Object) aFather, aSon(this); + if (myLabel.IsNull()) + return aFather; tip: maybe it would be better moving this check before creating an unused aSon(this) handle... |
|
Branch CR31320 has been updated by mpv. SHA-1: d20d3a0dd11b3ab79ca026d043d32d45a6b70d31 Detailed log of new commits: Author: mpv Date: Tue Sep 1 11:40:14 2020 +0300 # minor changes due to KGV notes |
|
Done in the same branch CR31320. No re-testing is needed. |
|
Branch CR31320 has been updated forcibly by mpv. SHA-1: 76d74fb9db9248c8d0a586f35cb389c37dc476d7 |
|
Reviewed. |
|
Combination - OCCT branch : IR-2020-09-04 master SHA - a516227511f3452f9f55b79c961265b0bf210793 a206de37fbfa0bf71bd534ae47192bbec23b8522 Products branch : IR-2020-09-04 SHA - 134448d280fb82bfb14ffc6255ac1cb53f7fd1cf 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: 17319.18000000012 / 17284.370000000214 [+0.20%] Products Total CPU difference: 12059.670000000087 / 12007.590000000067 [+0.43%] Windows-64-VC14: OCCT Total CPU difference: 18776.390625 / 18770.796875 [+0.03%] Products Total CPU difference: 13251.640625 / 13222.90625 [+0.22%] Image differences : No differences that require special attention Memory differences : No differences that require special attention |
|
Branch CR31320 has been deleted by inv. SHA-1: 76d74fb9db9248c8d0a586f35cb389c37dc476d7 |
occt: master 17a5b567 2020-08-31 15:24:59
Committer: bugmaster Details Diff |
0031320: TObj - method TObj_Object::GetFatherObject() is not protected against deleted object |
Affected Issues 0031320 |
|
mod - src/QABugs/QABugs_20.cxx | Diff File | ||
mod - src/TKQADraw/EXTERNLIB | Diff File | ||
mod - src/TObj/TObj_Object.cxx | Diff File | ||
add - tests/bugs/caf/bug31320 | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-01-25 20:38 |
|
New Issue | |
2020-01-25 20:38 |
|
Assigned To | => mpv |
2020-08-31 18:22 | git | Note Added: 0093774 | |
2020-08-31 21:24 |
|
Note Added: 0093782 | |
2020-08-31 21:24 |
|
Assigned To | mpv => szy |
2020-08-31 21:24 |
|
Status | new => resolved |
2020-08-31 21:24 |
|
Steps to Reproduce Updated | |
2020-09-01 11:18 | kgv | Note Added: 0093797 | |
2020-09-01 11:19 | kgv | Note Edited: 0093797 | |
2020-09-01 11:37 | git | Note Added: 0093799 | |
2020-09-01 11:38 |
|
Note Added: 0093800 | |
2020-09-01 12:22 | git | Note Added: 0093806 | |
2020-09-02 11:54 |
|
Note Added: 0093847 | |
2020-09-02 11:54 |
|
Assigned To | szy => bugmaster |
2020-09-02 11:54 |
|
Status | resolved => reviewed |
2020-09-05 12:07 | bugmaster | Note Added: 0094054 | |
2020-09-05 12:07 | bugmaster | Status | reviewed => tested |
2020-09-05 12:18 | bugmaster | Test case number | => bugs caf bug31320 |
2020-09-05 12:25 | bugmaster | Changeset attached | => occt master 17a5b567 |
2020-09-05 12:25 | bugmaster | Status | tested => verified |
2020-09-05 12:25 | bugmaster | Resolution | open => fixed |
2020-09-05 12:35 | git | Note Added: 0094089 | |
2020-12-02 16:41 |
|
Fixed in Version | => 7.5.0 |
2020-12-02 17:12 |
|
Status | verified => closed |