Archived issue #0030556
Coding - IGESData_GlobalSection missing member initialization in default constructor
Description
I got the following error running with OCCT 7.3.0 compiled with -fsanitize=undefined:
src/IGESData/IGESData_GlobalSection.hxx:41:7: runtime error: load of value 224, which is not a valid value for type 'bool'
The default copy constructor for IGESData_GlobalSection is copying data, but none of the member variables are initialized in the default constructor.
src/IGESData/IGESData_GlobalSection.hxx:41:7: runtime error: load of value 224, which is not a valid value for type 'bool'
The default copy constructor for IGESData_GlobalSection is copying data, but none of the member variables are initialized in the default constructor.
Steps to reproduce
Compile OCCT 7.3.0 with -fsanitize=undefined and run the test suite.
Public activity
5 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Commenter 4.
[revision removed]
Detailed log of new commits:
Author: Commenter 4
Date: Tue Mar 12 04:51:41 2019 +0300
0030556: Coding - IGESData_GlobalSection missing member initialization in default constructor
IGESData_GlobalSection now initializes class fields.
[revision removed]
Detailed log of new commits:
Author: Commenter 4
Date: Tue Mar 12 04:51:41 2019 +0300
0030556: Coding - IGESData_GlobalSection missing member initialization in default constructor
IGESData_GlobalSection now initializes class fields.
Patch is ready for review.
http://jenkins-test-12.nnov.opencascade.com:8080/view/CR30556-master-KGV/
http://jenkins-test-12.nnov.opencascade.com:8080/view/CR30556-master-KGV/
No remarks, please integrate
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
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: 16594.11999999995 / 16599.24999999996 [-0.03%]
Products
Total CPU difference: 9085.720000000027 / 9092.71000000004 [-0.08%]
Windows-64-VC14:
OCCT
Total CPU difference: 18012.5 / 17985.28125 [+0.15%]
Products
Total CPU difference: 10480.890625 / 10460.953125 [+0.19%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
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: 16594.11999999995 / 16599.24999999996 [-0.03%]
Products
Total CPU difference: 9085.720000000027 / 9092.71000000004 [-0.08%]
Windows-64-VC14:
OCCT
Total CPU difference: 18012.5 / 17985.28125 [+0.15%]
Products
Total CPU difference: 10480.890625 / 10460.953125 [+0.19%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Related records