View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0032235 | Open CASCADE | OCCT:Foundation Classes | public | 2021-03-22 10:29 | 2021-04-03 12:50 |
| Reporter | kgv | Assigned To | kgv | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 6.8.0 | ||||
| Target Version | 7.6.0 | Fixed in Version | 7.6.0 | ||
| Summary | 0032235: Foundation Classes, Message_MsgFile - force initialization of global mutex | ||||
| Description | Message_MsgFile defines a global mutex just as a global variable:static Standard_Mutex theMutex; Construction order of such objects is undefined in C++, which causes failures when there are other global objects calling Message_MsgFile in constructor like BOPAlgo_Options sub-classes in Draw Harness plugins (triggered within static build). | ||||
| Steps To Reproduce | N/A | ||||
| Tags | No tags attached. | ||||
| Test case number | Not required | ||||
|
|
Patch is ready for review - OCCT: branch CR32235. http://jenkins-test-12.nnov.opencascade.com:8080/view/CR32235-master-KGV |
|
|
Reviewed. |
|
|
Branch CR32235 has been created by kgv. SHA-1: ef188756a037810cf3e0e5119a1ae273cc5c2609 No new revisions were added by this update. |
|
|
Combination - OCCT branch : WEEK-12 master SHA - 154b4635b8bd4c6c527738f59fd7d9d4f2cda509 a87b7ddc8cb44606b91e3f37113847c3f5f50fdc Products branch : WEEK-12 SHA - 0779901f5e4c7f986db723d4a181df62079baf71 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: 17172.74000000034 / 17208.820000000378 [-0.21%] Products Total CPU difference: 11546.97000000013 / 11481.660000000102 [+0.57%] Windows-64-VC14: OCCT Total CPU difference: 18612.140625 / 18668.765625 [-0.30%] Products Total CPU difference: 12857.140625 / 12879.75 [-0.18%] Image differences : No differences that require special attention Memory differences : No differences that require special attention |
|
|
Branch CR32235 has been deleted by inv. SHA-1: ef188756a037810cf3e0e5119a1ae273cc5c2609 |
|
occt: master ef188756 2021-03-19 21:08:50 Details Diff |
0032235: Foundation Classes, Message_MsgFile - force initialization of global mutex Initialization of several global variables has been refactored to a function. |
Affected Issues 0032235 |
|
| mod - src/BOPTest/BOPTest_MkConnectedCommands.cxx | Diff File | ||
| mod - src/BOPTest/BOPTest_PeriodicityCommands.cxx | Diff File | ||
| mod - src/BRepTest/BRepTest_FeatureCommands.cxx | Diff File | ||
| mod - src/Message/Message_MsgFile.cxx | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-03-22 10:29 | kgv | New Issue | |
| 2021-03-22 10:29 | kgv | Assigned To | => kgv |
| 2021-03-22 13:37 | kgv | Note Added: 0099640 | |
| 2021-03-22 13:37 | kgv | Assigned To | kgv => msv |
| 2021-03-22 13:37 | kgv | Status | new => resolved |
| 2021-03-22 13:39 | kgv | Relationship added | child of 0025057 |
| 2021-03-22 13:39 | kgv | Product Version | 7.5.0 => 6.8.0 |
| 2021-03-22 13:41 | kgv | Relationship added | related to 0031681 |
| 2021-03-22 15:28 |
|
Note Added: 0099641 | |
| 2021-03-22 15:28 |
|
Assigned To | msv => bugmaster |
| 2021-03-22 15:28 |
|
Status | resolved => reviewed |
| 2021-03-23 22:16 | git | Note Added: 0099684 | |
| 2021-03-27 14:08 | bugmaster | Note Added: 0099777 | |
| 2021-03-27 14:08 | bugmaster | Status | reviewed => tested |
| 2021-03-27 14:10 | bugmaster | Test case number | => Not required |
| 2021-03-27 14:19 | kgv | Changeset attached | => occt master ef188756 |
| 2021-03-27 14:19 | kgv | Assigned To | bugmaster => kgv |
| 2021-03-27 14:19 | kgv | Status | tested => verified |
| 2021-03-27 14:19 | kgv | Resolution | open => fixed |
| 2021-04-03 12:50 | git | Note Added: 0100054 |