MantisBT - Community |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0022595 | Community | [OCCT] OCCT:Modeling Algorithms | public | 2011-06-10 17:29 | 2012-03-29 17:26 |
|
Reporter | szy | |
Assigned To | bugmaster | |
Priority | normal | Severity | feature | |
Status | closed | Resolution | fixed | |
Platform | | OS | All | OS Version | |
Product Version | | |
Target Version | [OCCT] 6.5.2 | Fixed in Version | [OCCT] 6.5.2 | |
Test case number | chl 937 C4 |
|
Summary | 0022595: gp_Mat's constructors incompletely initilize memory |
Description | RLN_fix435
- Summary: gp_Mat's constructors incompletely initilize memory when compiled by
gcc 4.1.2 with -O2
- Detailed description: gp_Mat constructors use indirect memory reference
((Standard_Real*)&matrix[0][0])[i]) to access elements of the member field
matrix[3][3]. Likely due to gcc bug this results in uninitialized memory and
further crashes when using that garbage. See details at
http://www.opencascade.org/org/forum/thread_19603/. [^]
gp_XYZ.lxx had to be fixed as well since it used the same macros defined in
gp_Mat.lxx. Macros in gp_Mat.lxx could be removed too to avoid possible
conflicts with user's code but currently left to minimize modifications. |
Steps To Reproduce | |
Additional information and documentation updates | |
Tags | No tags attached. |
Relationships | child of | 0022825 | closed | abv | Integration of contributions by Roman Lygin to OCCT 6.5.2 |
|
Attached Files | draw_command_OCC22595.tar.gz (32,332) 2011-07-11 11:35 https://tracker.dev.opencascade.org/
chl_937_C4.tar.gz (494) 2011-07-11 11:36 https://tracker.dev.opencascade.org/ |
|
Issue History |
Date Modified | Username | Field | Change |
2011-07-05 18:12 | kgv | CC | => kgv |
2011-07-14 18:40 | bugmaster | Status | closed => assigned |
2011-07-14 18:40 | bugmaster | Resolution | suspended => @0@ |
2011-07-14 18:40 | bugmaster | Assigned To | bugmaster => kgv |
2011-07-14 18:40 | bugmaster | Status | assigned => tested |
2011-07-14 20:36 | bugmaster | Status | tested => verified |
2011-07-29 15:30 | bugmaster | Fixed in Version | EMPTY => |
2011-07-29 15:30 | bugmaster | Target Version | => 6.5.2 |
2011-07-29 15:30 | bugmaster | Description Updated | bug_revision_view_page.php?rev_id=114#r114 |
2011-08-02 11:31 | bugmaster | Category | OCCT:MOA => OCCT:Modeling Algorithms |
2011-09-07 17:19 | mkv | Test case number | => chl 937 C4 |
2011-11-25 11:33 | szy | Note Edited: 0017656 | bug_revision_view_page.php?bugnote_id=17656#r1053 |
2011-12-05 11:25 | abv | Relationship added | child of 0022825 |
2012-01-17 18:35 | abv | Assigned To | kgv => Roman Lygin |
2012-03-29 17:26 | bugmaster | Changeset attached | => occt master 0c7386be |