View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002502 | Community | OCCT:Modeling Algorithms | public | 2003-04-28 15:57 | 2006-06-29 09:15 |
Reporter | bugmaster | Assigned To | |||
Priority | normal | Severity | trivial | ||
Status | closed | Resolution | fixed | ||
OS | All | ||||
Fixed in Version | 5.1.0 | ||||
Summary | 0002502: Bug in IntCurve_IntPolyPolyGen::Perform | ||||
Description | Bug from Open CASCADE community Author: François Lauzon http://www.opencascade.org/forumorg/bug.php?bug_id=120&f=8 when I import a step file, it crash in the method Perform of IntCurve_IntPolyPolyGen around line 475, in the following code: if(EIP.NbRoots()==0) { //-- On supprime tous les segments voisins for(Standard_Integer k=sp+1;k<=Nbsp;k++) { Standard_Integer kk=TriIndex[k]; if( Abs(SegIndex1-PtrSegIndex1[kk])< Nelarg && Abs(SegIndex2-PtrSegIndex2[kk])< Nelarg) { TriIndex[k]=-k; } } } what is appening is that kk gets a value of -11, so it's out of bound for PreSegIndex array and PreSegIndex2 array, if I add a check for negative kk index it's working, but I guess it might not be a bug fix, you might want to check why it's not working. If you need the step file, I can supply it, but it's a bit big to post it. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2003-04-28 15:59 | bugmaster | Assigned To | bugmaster => ofv |
2003-04-28 15:59 | bugmaster | Status | new => assigned |
2003-04-28 15:59 | bugmaster | Summary | => Bug in IntCurve_IntPolyPolyGen::Perform |
2003-04-29 18:45 |
|
Status | assigned => resolved |
2003-04-30 16:30 | bugmaster | CC | => apv |
2003-05-07 12:25 |
|
CC | => aki |
2003-05-19 11:09 | bugmaster | Status | resolved => closed |
2003-05-19 11:09 | bugmaster | Resolution | @0@ => fixed |
2004-12-30 11:31 | bugmaster | Customer | => |
2011-08-02 11:31 | bugmaster | Category | OCCT:MOA => OCCT:Modeling Algorithms |