View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023593 | Community | OCCT:Data Exchange | public | 2012-11-28 13:06 | 2014-10-09 18:46 |
Reporter | Roman Lygin | Assigned To | Roman Lygin | ||
Priority | normal | Severity | crash | ||
Status | closed | Resolution | fixed | ||
Platform | A | OS | L | ||
Product Version | 6.5.4 | ||||
Target Version | 6.6.0 | Fixed in Version | 6.6.0 | ||
Summary | 0023593: XCAFDoc_DocumentTool label must be removed from internal map upon closing the XDE document | ||||
Description | XCAFDoc_DocTool.cxx contains a static map RootLDocLMap. Prior to the fix, when the document got closed this map would contain orphan pair {root, doc_lab}. When a new doc is created its rootlab might have the same LabNotePtr and hence the same hash function value. Therefore XCAFDoc_DocumentTool::DocLabel() considered the label has already been registered RootLDocLMap and returned a wrong label (instead of creating new). Further attempt to access that label threw an exception. Alternative approach to storing a global map would be a simple tree node attribute hosted on a root label and pointing to a label holding XCAFDoc_DocumentTool. This would be a reliable self-contained implementation. Note: this is an older fix430. | ||||
Steps To Reproduce | The issue is sporadic and depends on memory layout. It is revealed when dealing with numerous OCAF documents which are created and destroyed during the process life cycle. It had been more frequent on Linux than on Windows. | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
has duplicate | 0022594 | closed | Community | XCAFDoc_DocumentTool attributes are removed from internal map upon closing the XDE document | |
related to | 0024007 | closed | Roman Lygin | Community | [Regression] Sporadic crashes when working with XDE documents |
related to | 0024164 | closed | bugmaster | Open CASCADE | Optimization of OCAF document closing |
|
Pushed branch CR23593 into the git repository |
|
Branch CR23593 is ready to be tested. |
|
Dear BugMaster, Branch CR23593 (and products from GIT master) was compiled on Linux and Windows platforms and tested. Regressions: Not detected Improvements: Not detected Testing cases: Not needed |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-11-28 13:06 | Roman Lygin | New Issue | |
2012-11-28 13:06 | Roman Lygin | Assigned To | => gka |
2012-11-28 13:09 | Roman Lygin | Note Added: 0022404 | |
2012-11-28 13:09 | Roman Lygin | Status | new => resolved |
2012-11-28 18:01 |
|
Note Added: 0022421 | |
2012-11-28 18:01 |
|
Status | resolved => reviewed |
2012-11-28 19:08 |
|
Assigned To | gka => mkv |
2012-12-03 14:47 |
|
Note Added: 0022515 | |
2012-12-03 14:47 |
|
Test case number | => Not needed |
2012-12-03 14:47 |
|
Assigned To | mkv => bugmaster |
2012-12-03 14:47 |
|
Status | reviewed => tested |
2012-12-10 17:16 | Roman Lygin | Changeset attached | => occt master f898928a |
2012-12-10 17:16 | Roman Lygin | Assigned To | bugmaster => Roman Lygin |
2012-12-10 17:16 | Roman Lygin | Status | tested => verified |
2012-12-10 17:16 | Roman Lygin | Resolution | open => fixed |
2012-12-10 17:49 | bugmaster | Target Version | => 6.6.0 |
2013-04-23 13:36 |
|
Status | verified => closed |
2013-04-29 15:21 |
|
Fixed in Version | => 6.6.0 |
2013-06-02 12:18 | Roman Lygin | Relationship added | related to 0024007 |
2013-10-02 15:52 |
|
Relationship added | related to 0024164 |
2014-10-09 18:46 |
|
Relationship added | has duplicate 0022594 |