MantisBT - Open CASCADE
View Issue Details
0032319Open CASCADE[OCCT] OCCT:Foundation Classespublic2021-04-22 20:412021-05-01 13:32
kgv 
bugmaster 
normaltrivial 
verifiedfixed 
LinuxUbuntu21.04
[OCCT] 7.5.0 
[OCCT] 7.6.0* 
Not required
0032319: Foundation Classes, OSD_MemInfo - use mallinfo2() instead of deprecated mallinfo()
mallinfo2() has been introduced by glibc2.33 to handle 32-bit integer overflow.
At the same time mallinfo() has been marked deprecated (in glibc), which leads to compiler warning in OCCT.
N/A
No tags attached.
child of 0032006new abv Foundation Classes - OSD_MemInfo returns negative heap value 
Issue History
2021-04-22 20:41kgvNew Issue
2021-04-22 20:41kgvAssigned To => abv
2021-04-22 20:41kgvRelationship addedchild of 0032006
2021-04-22 20:44gitNote Added: 0100515
2021-04-22 22:12kgvNote Added: 0100518
2021-04-22 22:12kgvAssigned Toabv => osa
2021-04-22 22:12kgvStatusnew => resolved
2021-04-22 22:12kgvOS => Ubuntu
2021-04-22 22:12kgvOS Version => 21.04
2021-04-22 22:12kgvPlatform => Linux
2021-04-23 09:15osaNote Added: 0100521
2021-04-23 09:15osaAssigned Toosa => bugmaster
2021-04-23 09:15osaStatusresolved => reviewed
2021-04-23 09:28kgvSeverityminor => trivial
2021-04-23 09:28kgvDescription Updatedbug_revision_view_page.php?rev_id=25089#r25089
2021-04-24 14:54bugmasterNote Added: 0100539
2021-04-24 14:54bugmasterAssigned Tobugmaster => kgv
2021-04-24 14:54bugmasterStatusreviewed => assigned
2021-04-24 15:26gitNote Added: 0100540
2021-04-24 15:43kgvNote Added: 0100541
2021-04-24 15:43kgvAssigned Tokgv => bugmaster
2021-04-24 15:43kgvStatusassigned => resolved
2021-04-24 15:43kgvStatusresolved => reviewed
2021-04-25 11:00bugmasterNote Added: 0100552
2021-04-25 11:00bugmasterStatusreviewed => tested
2021-04-25 11:15bugmasterNote Deleted: 0100552
2021-04-25 11:15bugmasterStatustested => assigned
2021-04-25 11:16bugmasterAssigned Tobugmaster => abv
2021-04-25 11:16bugmasterStatusassigned => resolved
2021-04-25 11:16bugmasterAssigned Toabv => bugmaster
2021-04-25 11:16bugmasterStatusresolved => reviewed
2021-05-01 12:27bugmasterNote Added: 0100713
2021-05-01 12:27bugmasterStatusreviewed => tested
2021-05-01 12:33bugmasterTest case number => Not required
2021-05-01 12:44bugmasterChangeset attached => occt master 376d374d
2021-05-01 12:44bugmasterStatustested => verified
2021-05-01 12:44bugmasterResolutionopen => fixed
2021-05-01 13:32gitNote Added: 0100742
2021-05-01 13:32gitNote Added: 0100744

Notes
(0100515)
git   
2021-04-22 20:44   
Branch CR32319 has been created by kgv.

SHA-1: c3494d4e30259a94af1ec57e789b05f9180ffd1d


Detailed log of new commits:

Author: kgv
Date: Thu Apr 22 20:42:47 2021 +0300

    0032319: Foundation Classes, OSD_MemInfo - use mallinfo2() instead of deprecated mallinfo()
(0100518)
kgv   
2021-04-22 22:12   
Patch is ready for review
- OCCT: branch CR32319.

http://jenkins-test-12.nnov.opencascade.com/view/CR32319-master-KGV/ [^]
(0100521)
osa   
2021-04-23 09:15   
The patch was reviewed
(0100539)
bugmaster   
2021-04-24 14:54   
Problems with compilation for Android

/dn61/builds/WEEK-16_WEEK-16/OCCT_SRC/src/OSD/OSD_MemInfo.cxx:185:57: error: function-like macro '__GLIBC_PREREQ' is not defined
  #if defined(__GLIBC__) && (defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2,33))
(0100540)
git   
2021-04-24 15:26   
Branch CR32319_1 has been created by kgv.

SHA-1: 39dc2248ad3bd214426a9428d24463eab16ed0ca


Detailed log of new commits:

Author: kgv
Date: Thu Apr 22 20:42:47 2021 +0300

    0032319: Foundation Classes, OSD_MemInfo - use mallinfo2() instead of deprecated mallinfo()
(0100541)
kgv   
2021-04-24 15:43   
Please use updated patch in branch CR32319_1.
(0100713)
bugmaster   
2021-05-01 12:27   
Combination -
OCCT branch : master
Products branch : master
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: 17839.600000000362 / 17844.450000000477 [-0.03%]
Products
Total CPU difference: 11562.480000000109 / 11558.800000000136 [+0.03%]
Windows-64-VC14:
OCCT
Total CPU difference: 19303.28125 / 19431.828125 [-0.66%]
Products
Total CPU difference: 12894.515625 / 12871.203125 [+0.18%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0100742)
git   
2021-05-01 13:32   
Branch CR32319_1 has been deleted by inv.

SHA-1: 39dc2248ad3bd214426a9428d24463eab16ed0ca
(0100744)
git   
2021-05-01 13:32   
Branch CR32319 has been deleted by inv.

SHA-1: c3494d4e30259a94af1ec57e789b05f9180ffd1d