DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0025435

Every BRepAlgoAPI_* operation crashes with extruded BSpline solids

CommunityOCCT:Modeling Algorithmsclosed3 public notes

Search issues

Description

Try to apply any BRepAlgoAPI_* (Fuse, Section, Cut...) on the attached shapes. OCCT crashes.

Call stack:

#0 0x000000010039c0ac in math_FunctionSetRoot::Perform(math_FunctionSetWithDerivatives&, math_Vector const&, math_Vector const&, math_Vector const&, unsigned int) at [user path removed]/occt_git/occt/src/math/math_FunctionSetRoot.cxx:707
#0000001 0x000000010039bbf8 in math_FunctionSetRoot::math_FunctionSetRoot(math_FunctionSetWithDerivatives&, math_Vector const&, math_Vector const&, math_Vector const&, math_Vector const&, int, unsigned int) at [user path removed]/occt_git/occt/src/math/math_FunctionSetRoot.cxx:653
#0000002 0x00000001002f2708 in Extrema_GenExtPS::FindSolution(gp_Pnt const&, Extrema_POnSurfParams const&) at [user path removed]/occt_git/occt/src/Extrema/Extrema_GenExtPS.cxx:771
#3 0x00000001002ef720 in Extrema_GenExtPS::Perform(gp_Pnt const&) at [user path removed]/occt_git/occt/src/Extrema/Extrema_GenExtPS.cxx:877
#4 0x00000001002e4b08 in Extrema_ExtPExtS::Perform(gp_Pnt const&) at [user path removed]/occt_git/occt/src/Extrema/Extrema_ExtPExtS.cxx:250
#5 0x00000001002e42b4 in Extrema_ExtPExtS::Extrema_ExtPExtS(gp_Pnt const&, Handle_Adaptor3d_HSurfaceOfLinearExtrusion const&, double, double, double, double, double, double) at [user path removed]/occt_git/occt/src/Extrema/Extrema_ExtPExtS.cxx:171
#6 0x00000001002e9160 in Extrema_ExtPS::Perform(gp_Pnt const&) at [user path removed]/occt_git/occt/src/Extrema/Extrema_ExtPS.cxx:281
#0000007 0x00000001002e8a78 in Extrema_ExtPS::Extrema_ExtPS(gp_Pnt const&, Adaptor3d_Surface const&, double, double, Extrema_ExtFlag, Extrema_ExtAlgo) at [user path removed]/occt_git/occt/src/Extrema/Extrema_ExtPS.cxx:160
#0000008 0x00000001002ed7c0 in Extrema_GenExtCS::Perform(Adaptor3d_Curve const&, int, double, double, double) at [user path removed]/occt_git/occt/src/Extrema/Extrema_GenExtCS.cxx:229
#0000009 0x00000001002da300 in Extrema_ExtCS::Perform(Adaptor3d_Curve const&, double, double) at [user path removed]/occt_git/occt/src/Extrema/Extrema_ExtCS.cxx:243
#10 0x00000001002d9ff4 in Extrema_ExtCS::Extrema_ExtCS(Adaptor3d_Curve const&, Adaptor3d_Surface const&, double, double) at [user path removed]/occt_git/occt/src/Extrema/Extrema_ExtCS.cxx:56
#0000011 0x00000001000b5568 in IntTools_BeanFaceIntersector::ComputeUsingExtremum() at [user path removed]/occt_git/occt/src/IntTools/IntTools_BeanFaceIntersector.cxx:1074
#12 0x00000001000b2640 in IntTools_BeanFaceIntersector::Perform() at [user path removed]/occt_git/occt/src/IntTools/IntTools_BeanFaceIntersector.cxx:424
#0000013 0x00000001000c0c18 in IntTools_EdgeFace::Perform() at [user path removed]/occt_git/occt/src/IntTools/IntTools_EdgeFace.cxx:1262
#0000014 0x00000001000651f0 in BOPCol_TBBContextFunctor<BOPAlgo_EdgeFace, BOPCol_NCVector<BOPAlgo_EdgeFace>, Handle_IntTools_Context, IntTools_Context>::operator()(serial_range<int> const&) const at [user path removed]/occt_git/occt/adm/mac/xcd/../../../inc/BOPCol_TBB.hxx:239
#0000015 0x0000000100064c98 in BOPCol_TBBContextCnt<BOPCol_TBBContextFunctor<BOPAlgo_EdgeFace, BOPCol_NCVector<BOPAlgo_EdgeFace>, Handle_IntTools_Context, IntTools_Context>, BOPCol_NCVector<BOPAlgo_EdgeFace>, Handle_IntTools_Context>::Perform(unsigned int, BOPCol_NCVector<BOPAlgo_EdgeFace>&, Handle_IntTools_Context&) at [user path removed]/occt_git/occt/adm/mac/xcd/../../../inc/BOPCol_TBB.hxx:286
#0000016 0x000000010006304c in BOPAlgo_PaveFiller::PerformEF() at [user path removed]/occt_git/occt/src/BOPAlgo/BOPAlgo_PaveFiller_5.cxx:247
#0000017 0x000000010005a338 in BOPAlgo_PaveFiller::PerformInternal() at [user path removed]/occt_git/occt/src/BOPAlgo/BOPAlgo_PaveFiller.cxx:214
#0000018 0x000000010005a14c in BOPAlgo_PaveFiller::Perform() at [user path removed]/occt_git/occt/src/BOPAlgo/BOPAlgo_PaveFiller.cxx:167
#0000019 0x00000001000ae368 in BRepAlgoAPI_Section::Build() at [user path removed]/occt_git/occt/src/BRepAlgoAPI/BRepAlgoAPI_Section.cxx:330
#0000020 0x00000001000ae2b8 in BRepAlgoAPI_Section::BRepAlgoAPI_Section(TopoDS_Shape const&, TopoDS_Shape const&, unsigned int) [inlined] at [user path removed]/occt_git/occt/src/BRepAlgoAPI/BRepAlgoAPI_Section.cxx:68
#0000021 0x00000001000ae26c in BRepAlgoAPI_Section::BRepAlgoAPI_Section(TopoDS_Shape const&, TopoDS_Shape const&, unsigned int) at [user path removed]/occt_git/occt/src/BRepAlgoAPI/BRepAlgoAPI_Section.cxx:70

Public activity

3 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Dear Istvan and abv,

On current master (2014-10-24) this problem not reproduced under windows (release + debug) and linux (debug).

May be this issue MacOS specific or old version of OCCT is used?

02Author
I am running it on iOS, maybe it is iOS/ARM specific. I will try to investigate.
03Author
This can be closed, it was a false alarm, sorry.