MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0032235Open CASCADE[OCCT] OCCT:Foundation Classespublic2021-03-22 10:292021-04-03 12:50
Reporterkgv 
Assigned Tokgv 
PrioritynormalSeverityminor 
StatusverifiedResolutionfixed 
PlatformOSOS Version
Product Version[OCCT] 6.8.0 
Target Version[OCCT] 7.6.0*Fixed in Version 
Summary0032235: Foundation Classes, Message_MsgFile - force initialization of global mutex
DescriptionMessage_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 ReproduceN/A
TagsNo tags attached.
Test case numberNot required
Attached Files

- Relationships
related to 0031681closedbugmaster Community Foundation Classes - Shared Libraries Cannot Be Loaded 
child of 0025057closedbugmaster Open CASCADE Message_Algorithm fails to find messages defined for base class 

-  Notes
(0099640)
kgv (developer)
2021-03-22 13:37

Patch is ready for review
- OCCT: branch CR32235.

http://jenkins-test-12.nnov.opencascade.com:8080/view/CR32235-master-KGV [^]
(0099641)
msv (developer)
2021-03-22 15:28

Reviewed.
(0099684)
git (administrator)
2021-03-23 22:16

Branch CR32235 has been created by kgv.

SHA-1: ef188756a037810cf3e0e5119a1ae273cc5c2609


No new revisions were added by this update.
(0099777)
bugmaster (administrator)
2021-03-27 14:08

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
(0100054)
git (administrator)
2021-04-03 12:50

Branch CR32235 has been deleted by inv.

SHA-1: ef188756a037810cf3e0e5119a1ae273cc5c2609

- Related Changesets
occt: master ef188756
Timestamp: 2021-03-19 21:08:50
Author: kgv
Details ] Diff ]
0032235: Foundation Classes, Message_MsgFile - force initialization of global mutex

Initialization of several global variables has been refactored to a function.
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 ]

- Issue History
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 msv Note Added: 0099641
2021-03-22 15:28 msv Assigned To msv => bugmaster
2021-03-22 15:28 msv 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


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker