Archived issue #0026895
Make fillet crash due to null pointer access
Description
TKG2d.dll!Geom2d_Curve::Value(const double U) Line 80 C++
> TKFillet.dll!ChFi3d_Builder::PerformMoreThreeCorner(const int Jndex, const int nconges) Line 2204 C++
TKFillet.dll!ChFi3d_Builder::PerformIntersectionAtEnd(const int Index) Line 1826 C++
TKFillet.dll!ChFi3d_Builder::PerformOneCorner(const int Index, const unsigned int thePrepareOnSame) Line 728 C++
TKFillet.dll!ChFi3d_Builder::PerformFilletOnVertex(const int Index) Line 724 C++
TKFillet.dll!ChFi3d_Builder::Compute() Line 280 C++
TKFillet.dll!BRepFilletAPI_MakeFillet::Build() Line 526 C++
> TKFillet.dll!ChFi3d_Builder::PerformMoreThreeCorner(const int Jndex, const int nconges) Line 2204 C++
TKFillet.dll!ChFi3d_Builder::PerformIntersectionAtEnd(const int Index) Line 1826 C++
TKFillet.dll!ChFi3d_Builder::PerformOneCorner(const int Index, const unsigned int thePrepareOnSame) Line 728 C++
TKFillet.dll!ChFi3d_Builder::PerformFilletOnVertex(const int Index) Line 724 C++
TKFillet.dll!ChFi3d_Builder::Compute() Line 280 C++
TKFillet.dll!BRepFilletAPI_MakeFillet::Build() Line 526 C++
Steps to reproduce
The crash location as below, the function BRep_Tool::CurveOnSurface return null curve.
// return the 1st curve 2d
// and the 1st connection point
if (sharp.Value(ic))
curv2d1 = BRep_Tool::CurveOnSurface(TopoDS::Edge(Evive.Value(ic)),TopoDS::Face(Fvive.Value(ic,icplus)),
u1bid,u2bid);
else
Calcul_C2dOnFace(CD.Value(ic),jf.Value(ic),i.Value(ic,icplus),curv2d1);
p2d1 = curv2d1 ->Value(p.Value(ic,icplus));
// return the 1st curve 2d
// and the 1st connection point
if (sharp.Value(ic))
curv2d1 = BRep_Tool::CurveOnSurface(TopoDS::Edge(Evive.Value(ic)),TopoDS::Face(Fvive.Value(ic,icplus)),
u1bid,u2bid);
else
Calcul_C2dOnFace(CD.Value(ic),jf.Value(ic),i.Value(ic,icplus),curv2d1);
p2d1 = curv2d1 ->Value(p.Value(ic,icplus));
Public activity
3 archived notes
Participants are labeled by their role within this record.
Dear Vico,
Could you attach the input data and sequence of steps to reproduce the bug?
Thanks in advance,
Mikhail
Could you attach the input data and sequence of steps to reproduce the bug?
Thanks in advance,
Mikhail
Dear msv,
I have tried to reproduce this bug, it's unlucky, i can't reproduce it again.
I have tried to reproduce this bug, it's unlucky, i can't reproduce it again.
Dear Commenter 1, please close this bug as not-reproducible.