DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0026895

Make fillet crash due to null pointer access

CommunityOCCT:Modeling Algorithmsclosed3 public notes

Search issues

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++

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));

Public activity

3 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Dear Vico,
Could you attach the input data and sequence of steps to reproduce the bug?
Thanks in advance,
Mikhail
02Author
Dear msv,

I have tried to reproduce this bug, it's unlucky, i can't reproduce it again.
03Commenter 3
Dear Commenter 1, please close this bug as not-reproducible.