View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024919 | Community | OCCT:Modeling Data | public | 2014-05-14 14:18 | 2014-11-11 12:52 |
Reporter | drazmyslovich | Assigned To | apn | ||
Priority | normal | Severity | crash | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2010 | ||
Product Version | 6.6.0 | ||||
Target Version | 6.8.0 | Fixed in Version | 6.8.0 | ||
Summary | 0024919: ShapeFix can crash time-to-time due to inproper interator handling inside of Approx_SameParameter::Build function | ||||
Description | Lines 461-464 of Approx_SameParameter::Build function: while(Param_de_decoupeC1(inter) <= fcons + deltamin) inter++; while(Param_de_decoupeC1(NbInt) >= lcons - deltamin) NbInt--; while(inter <= NbInt || ii < NCONTROL) { Variable inter isn't checked to be inside of Param_de_decoupeC1 range, what can result in access violation exception. | ||||
Steps To Reproduce | I can't provide the model, which contains the case, when ShapeFix crashes due to this error. | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
Please, review the patch |
|
@drazmyslovich: can you extract single edge or face on which the problem appears, instead of sending the whole model (which is confidential as far as I understand)? I deem single edge would not be confidential but still can allow creating a test case, and perhaps we can do more in-depth analysis of the problem. |
|
Tested with 24921 |
|
Unfortunately, I was unable to find the test case, where I've met this error. Sorry. |
occt: master 3f5bebe8 2014-05-14 10:28:15 razmyslovich Committer: apn Details Diff |
0024919: ShapeFix can crash time-to-time due to inproper interator handling inside of Approx_SameParameter::Build function Check inter variable to be inside of the desired range |
Affected Issues 0024919 |
|
mod - src/Approx/Approx_SameParameter.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-05-14 14:18 | drazmyslovich | New Issue | |
2014-05-14 14:18 | drazmyslovich | Assigned To | => drazmyslovich |
2014-05-14 14:35 | drazmyslovich | Note Added: 0029319 | |
2014-05-14 14:35 | drazmyslovich | Status | new => resolved |
2014-05-14 15:35 |
|
Note Added: 0029326 | |
2014-05-14 15:35 |
|
Assigned To | drazmyslovich => ifv |
2014-05-14 15:35 |
|
Target Version | Unscheduled => 6.8.0 |
2014-05-22 16:52 | apn | Note Added: 0029474 | |
2014-05-22 16:54 | apn | Test case number | => Not needed |
2014-05-22 16:54 | apn | Assigned To | ifv => bugmaster |
2014-05-22 16:54 | apn | Status | resolved => reviewed |
2014-05-22 16:54 | apn | Status | reviewed => tested |
2014-05-22 17:11 | drazmyslovich | Note Added: 0029475 | |
2014-05-23 14:25 | apn | Changeset attached | => occt master 3f5bebe8 |
2014-05-23 14:25 | apn | Assigned To | bugmaster => apn |
2014-05-23 14:25 | apn | Status | tested => verified |
2014-05-23 14:25 | apn | Resolution | open => fixed |
2014-06-17 12:47 |
|
Project | Open CASCADE => Community |
2014-11-11 12:46 |
|
Fixed in Version | => 6.8.0 |
2014-11-11 12:52 |
|
Status | verified => closed |