Archived issue #0022073
Exception in BRepOffsetAPI_MakePipeShell Build method
Description
Exception - OSD_Exception_ACCESS_VIOLATION is raised calling Build method.
Scenario to reproduce:
- restore spine.brep spine
- restore sect1.brep s1
- restore sect2.brep s2
mksweep spine
addsweep s1
addsweep s2
buildsweep res -R;
## with any other parameters: -C | -M - the same exception
##using setsweep -FR | -CF leads to the exception too
Community:
"1.I am having lots of trouble making a surface using
BRepOffsetAPI_MakePipeShell. It crashes 50% of the time and even a try/catch
block will not catch it. I have attached a picture of a typical X section wires
and the spine that I would use (note that the X section wire can be make of 3-4
edges, not always a single edge). I am not using any auxiliary spines or any
other options. Simply initialize with the spine and then add the 2 X sections
that are at the two ends of the spine which are already orthogonal to the spine.
2. BRepOffsetAPI_MakePipeShell exitPipeShell2(exitTransSpineWires[1]);
exitPipeShell2.Add(exitTranSectWires[1],Standard_False,Standard_False) ;
exitPipeShell2.Add(exitTranSectWires[2],Standard_False,Standard_False) ;
exitPipeShell2.Build(); <- this line crashes the code.
If I do not add the 2nd profile it does not crash."
Scenario to reproduce:
- restore spine.brep spine
- restore sect1.brep s1
- restore sect2.brep s2
mksweep spine
addsweep s1
addsweep s2
buildsweep res -R;
## with any other parameters: -C | -M - the same exception
##using setsweep -FR | -CF leads to the exception too
Community:
"1.I am having lots of trouble making a surface using
BRepOffsetAPI_MakePipeShell. It crashes 50% of the time and even a try/catch
block will not catch it. I have attached a picture of a typical X section wires
and the spine that I would use (note that the X section wire can be make of 3-4
edges, not always a single edge). I am not using any auxiliary spines or any
other options. Simply initialize with the spine and then add the 2 X sections
that are at the two ends of the spine which are already orthogonal to the spine.
2. BRepOffsetAPI_MakePipeShell exitPipeShell2(exitTransSpineWires[1]);
exitPipeShell2.Add(exitTranSectWires[1],Standard_False,Standard_False) ;
exitPipeShell2.Add(exitTranSectWires[2],Standard_False,Standard_False) ;
exitPipeShell2.Build(); <- this line crashes the code.
If I do not add the 2nd profile it does not crash."
Additional information
Documentation remark, added by JGV 2011-02-16 12:51:08:
Changes:
For successful segmentation of intermediate surface we should locate new first
and last parameters at knots of the surface.
Modified entities:
GeomFill_NSections.cxx
Changes:
For successful segmentation of intermediate surface we should locate new first
and last parameters at knots of the surface.
Modified entities:
GeomFill_NSections.cxx
Public activity
2 archived notes
Participants are labeled by their role within this record.
Dear Commenter 1,
Workbench KAS:dev:OCC22073-v1-opt has been created from Attachment 3 (GZ)
and compiled on Linux platform.
There are following regressions(/differences) in OCC22073-v1-opt regarding to
KAS:dev:products-20110120-opt
Regressions were not found.
See results in /QADisk/occttests/KAS/dev/OCC22073-v1-opt_17022011/lin
See reference results in
/KASDev/OCCTtests/KAS/dev/products-20110120-opt_27012011/lin
See test cases in /QADisk/occttests/tests/ED
N.B. In order to launch testing case you can make use the following instructions
http://sbu.nnov.opencascade.com/maintenance/main_certification_te.htm
Workbench KAS:dev:OCC22073-v1-opt has been created from Attachment 3 (GZ)
and compiled on Linux platform.
There are following regressions(/differences) in OCC22073-v1-opt regarding to
KAS:dev:products-20110120-opt
Regressions were not found.
See results in /QADisk/occttests/KAS/dev/OCC22073-v1-opt_17022011/lin
See reference results in
/KASDev/OCCTtests/KAS/dev/products-20110120-opt_27012011/lin
See test cases in /QADisk/occttests/tests/ED
N.B. In order to launch testing case you can make use the following instructions
http://sbu.nnov.opencascade.com/maintenance/main_certification_te.htm
Fix has been integrated to occt repository
Date: 2011-02-25 12:20:43 +0300 (Fri, 25 Feb 2011)
New Revision: 8384
Modified:
trunk/src/GeomFill/GeomFill_NSections.cxx
Date: 2011-02-25 12:20:43 +0300 (Fri, 25 Feb 2011)
New Revision: 8384
Modified:
trunk/src/GeomFill/GeomFill_NSections.cxx