Created
September 14, 2015 15:26
-
-
Save chrisidefix/f35c3fb0572e6bfc9ba1 to your computer and use it in GitHub Desktop.
Common errors traces observed when running python [2.7.10] wrapper occmodel [0.10.0] ( for OCE (OpenCascade) running under OS X (10.11)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######## | |
calling: Face().createConstrained | |
######## | |
0 libTKMath.10.dylib 0x0000000103cce9b5 BSplCLib::LocateParameter(int, TColStd_Array1OfReal const&, TColStd_Array1OfInteger const&, double, bool, int&, double&) + 69 | |
1 libTKMath.10.dylib 0x0000000103ce0858 PrepareEval(double&, int&, int&, bool&, int, bool, TColgp_Array1OfPnt2d const&, TColStd_Array1OfReal const&, TColStd_Array1OfReal const&, TColStd_Array1OfInteger const&, BSplCLib_DataContainer_2d&) + 72 | |
2 libTKMath.10.dylib 0x0000000103ce07a9 BSplCLib::D0(double, int, int, bool, TColgp_Array1OfPnt2d const&, TColStd_Array1OfReal const&, TColStd_Array1OfReal const&, TColStd_Array1OfInteger const&, gp_Pnt2d&) + 137 | |
3 libTKG2d.10.dylib 0x0000000102b8210f Geom2d_BSplineCurve::LocalD0(double, int, int, gp_Pnt2d&) const + 223 | |
4 libTKG2d.10.dylib 0x0000000102b82018 Geom2d_BSplineCurve::LocalValue(double, int, int) const + 24 | |
5 libTKG2d.10.dylib 0x0000000102b9c2bf Geom2dAdaptor_Curve::Value(double) const + 287 | |
6 libTKGeomAlgo.10.dylib 0x0000000102e2ef8a Geom2dInt_GInter::Perform(Adaptor2d_Curve2d const&, double, double) + 202 | |
7 libTKGeomAlgo.10.dylib 0x0000000102f0bded GeomPlate_BuildPlateSurface::Intersect(Handle_GeomPlate_HArray1OfSequenceOfReal&, Handle_GeomPlate_HArray1OfSequenceOfReal&) + 525 | |
8 libTKGeomAlgo.10.dylib 0x0000000102f07eb9 GeomPlate_BuildPlateSurface::Perform() + 3401 | |
9 libTKBool.10.dylib 0x00000001024d6158 BRepFill_Filling::Build() + 2536 | |
10 libTKOffset.10.dylib 0x0000000103f9167a BRepOffsetAPI_MakeFilling::Build() + 26 | |
11 occmodel.so 0x0000000101ef751f OCCFace::createConstrained(std::__1::vector<OCCEdge*, std::__1::allocator<OCCEdge*> >, std::__1::vector<OCCStruct3d, std::__1::allocator<OCCStruct3d> >) + 319 | |
12 occmodel.so 0x0000000101ea328c __pyx_f_8occmodel_4Face_createConstrained(__pyx_obj_8occmodel_Face*, _object*, int, __pyx_opt_args_8occmodel_4Face_createConstrained*) + 3256 | |
13 occmodel.so 0x0000000101eda3de __pyx_pw_8occmodel_4Face_23createConstrained(_object*, _object*, _object*) + 139 | |
14 org.python.python 0x0000000101978a0b PyEval_EvalFrameEx + 13400 | |
15 org.python.python 0x00000001019753c1 PyEval_EvalCodeEx + 1583 | |
16 org.python.python 0x0000000101974d8c PyEval_EvalCode + 54 | |
17 org.python.python 0x0000000101994a42 0x1018f2000 + 666178 | |
18 org.python.python 0x0000000101994ae5 PyRun_FileExFlags + 133 | |
19 org.python.python 0x0000000101994634 PyRun_SimpleFileExFlags + 698 | |
20 org.python.python 0x00000001019a6011 Py_Main + 3137 | |
21 libdyld.dylib 0x00007fff978f75ad start + 1 | |
######## | |
calling: f1 = Face().createFace(e2) | |
######## | |
0 libTKMath.10.dylib 0x00000001062daa09 BSplCLib::BuildKnots(int, int, bool, TColStd_Array1OfReal const&, TColStd_Array1OfInteger const&, double&) + 73 | |
1 libTKMath.10.dylib 0x00000001062f0c1f PrepareEval(double&, int&, int&, bool&, int, bool, TColgp_Array1OfPnt const&, TColStd_Array1OfReal const&, TColStd_Array1OfReal const&, TColStd_Array1OfInteger const&, BSplCLib_DataContainer_3d&) + 111 | |
2 libTKMath.10.dylib 0x00000001062f1fe4 BSplCLib::BuildCache(double, double, bool, int, TColStd_Array1OfReal const&, TColgp_Array1OfPnt const&, TColStd_Array1OfReal const&, TColgp_Array1OfPnt&, TColStd_Array1OfReal&) + 148 | |
3 libTKG3d.10.dylib 0x000000010520352d Geom_BSplineCurve::ValidateCache(double) + 669 | |
4 libTKG3d.10.dylib 0x00000001052039c3 Geom_BSplineCurve::D0(double, gp_Pnt&) const + 83 | |
5 libTKG3d.10.dylib 0x000000010521698f Geom_Curve::Value(double) const + 47 | |
6 libTKBool.10.dylib 0x0000000104b27943 BRepFill_ShapeLaw::VertexTol(int, double) const + 1139 | |
7 libTKBool.10.dylib 0x0000000104b2b803 BRepFill_Sweep::BuildShell(BRepFill_TransitionStyle, int, int, TopTools_MapOfShape&, BRepFill_DataMapOfShapeHArray2OfShape&, BRepFill_DataMapOfShapeHArray2OfShape&, double, double) + 1171 | |
8 libTKBool.10.dylib 0x0000000104b3d8ef BRepFill_Sweep::Build(TopTools_MapOfShape&, BRepFill_DataMapOfShapeHArray2OfShape&, BRepFill_DataMapOfShapeHArray2OfShape&, BRepFill_TransitionStyle, GeomAbs_Shape, GeomFill_ApproxStyle, int, int) + 815 | |
9 libTKBool.10.dylib 0x0000000104b151e2 BRepFill_Pipe::MakeShape(TopoDS_Shape const&, TopoDS_Shape const&, TopoDS_Shape const&) + 4258 | |
10 libTKBool.10.dylib 0x0000000104b147bf BRepFill_Pipe::MakeShape(TopoDS_Shape const&, TopoDS_Shape const&, TopoDS_Shape const&) + 1663 | |
11 libTKBool.10.dylib 0x0000000104b12c94 BRepFill_Pipe::Perform(TopoDS_Wire const&, TopoDS_Shape const&, bool) + 3572 | |
12 libTKBool.10.dylib 0x0000000104b11c04 BRepFill_Pipe::BRepFill_Pipe(TopoDS_Wire const&, TopoDS_Shape const&, GeomFill_Trihedron, bool, bool) + 564 | |
13 libTKOffset.10.dylib 0x000000010659d70d BRepOffsetAPI_MakePipe::BRepOffsetAPI_MakePipe(TopoDS_Wire const&, TopoDS_Shape const&) + 61 | |
14 occmodel.so 0x00000001045114b8 OCCSolid::pipe(OCCFace*, OCCWire*) + 56 | |
15 occmodel.so 0x00000001044c2a10 __pyx_f_8occmodel_5Solid_pipe(__pyx_obj_8occmodel_Solid*, __pyx_obj_8occmodel_Face*, _object*, int) + 451 | |
16 occmodel.so 0x00000001044e78f5 __pyx_pw_8occmodel_5Solid_57pipe(_object*, _object*, _object*) + 165 | |
17 org.python.python 0x0000000103f80a0b PyEval_EvalFrameEx + 13400 | |
18 org.python.python 0x0000000103f7d3c1 PyEval_EvalCodeEx + 1583 | |
19 org.python.python 0x0000000103f7cd8c PyEval_EvalCode + 54 | |
20 org.python.python 0x0000000103f9ca42 0x103efa000 + 666178 | |
21 org.python.python 0x0000000103f9cae5 PyRun_FileExFlags + 133 | |
22 org.python.python 0x0000000103f9c634 PyRun_SimpleFileExFlags + 698 | |
23 org.python.python 0x0000000103fae011 Py_Main + 3137 | |
24 libdyld.dylib 0x00007fff978f75ad start + 1 | |
######## | |
calling: solid = Solid().loft((e1,e2,e3)) | |
######## | |
0 libTKMath.10.dylib 0x00000001077119b5 BSplCLib::LocateParameter(int, TColStd_Array1OfReal const&, TColStd_Array1OfInteger const&, double, bool, int&, double&) + 69 | |
1 libTKMath.10.dylib 0x0000000107732682 BSplSLib::Iso(double, bool, TColgp_Array2OfPnt const&, TColStd_Array2OfReal const&, TColStd_Array1OfReal const&, TColStd_Array1OfInteger const&, int, bool, TColgp_Array1OfPnt&, TColStd_Array1OfReal&) + 146 | |
2 libTKG3d.10.dylib 0x00000001066480cd Geom_BSplineSurface::UIso(double) const + 621 | |
3 libTKBool.10.dylib 0x0000000105f2076f BRepFill_Generator::Perform() + 5999 | |
4 libTKOffset.10.dylib 0x00000001079e5441 BRepOffsetAPI_ThruSections::CreateRuled() + 161 | |
5 libTKOffset.10.dylib 0x00000001079e5288 BRepOffsetAPI_ThruSections::Build() + 744 | |
6 occmodel.so 0x000000010594cb9c OCCSolid::loft(std::__1::vector<OCCBase*, std::__1::allocator<OCCBase*> >, bool, double) + 284 | |
7 occmodel.so 0x00000001058fce97 __pyx_f_8occmodel_5Solid_loft(__pyx_obj_8occmodel_Solid*, _object*, int, __pyx_opt_args_8occmodel_5Solid_loft*) + 2174 | |
8 occmodel.so 0x0000000105922655 __pyx_pw_8occmodel_5Solid_55loft(_object*, _object*, _object*) + 357 | |
9 org.python.python 0x00000001053b7a0b PyEval_EvalFrameEx + 13400 | |
10 org.python.python 0x00000001053b43c1 PyEval_EvalCodeEx + 1583 | |
11 org.python.python 0x00000001053b3d8c PyEval_EvalCode + 54 | |
12 org.python.python 0x00000001053d3a42 0x105331000 + 666178 | |
13 org.python.python 0x00000001053d3ae5 PyRun_FileExFlags + 133 | |
14 org.python.python 0x00000001053d3634 PyRun_SimpleFileExFlags + 698 | |
15 org.python.python 0x00000001053e5011 Py_Main + 3137 | |
16 libdyld.dylib 0x00007fff978f75ad start + 1 | |
######## | |
calling: Solid().createSphere((0.,0.,0.),.5).fuse(s2) | |
######## | |
0 libTKMath.10.dylib 0x000000010d23a7d4 PLib::SetPoles(TColgp_Array1OfPnt2d const&, TColStd_Array1OfReal const&, TColStd_Array1OfReal&) + 84 | |
1 libTKMath.10.dylib 0x000000010d2220cf BSplCLib::IncreaseDegree(int, int, bool, TColgp_Array1OfPnt2d const&, TColStd_Array1OfReal const&, TColStd_Array1OfReal const&, TColStd_Array1OfInteger const&, TColgp_Array1OfPnt2d&, TColStd_Array1OfReal&, TColStd_Array1OfReal&, TColStd_Array1OfInteger&) + 223 | |
2 libTKMath.10.dylib 0x000000010d22d300 BSplCLib::IncreaseDegree(int, TColgp_Array1OfPnt2d const&, TColStd_Array1OfReal const&, TColgp_Array1OfPnt2d&, TColStd_Array1OfReal&) + 160 | |
3 libTKMath.10.dylib 0x000000010d2666e9 Convert_CompBezierCurves2dToBSplineCurve2d::Perform() + 553 | |
4 libTKGeomBase.10.dylib 0x000000010c722899 ProjLib_ComputeApprox::ProjLib_ComputeApprox(Handle_Adaptor3d_HCurve const&, Handle_Adaptor3d_HSurface const&, double) + 2633 | |
5 libTKGeomBase.10.dylib 0x000000010c739ebc ProjLib_ProjectedCurve::Load(Handle_Adaptor3d_HCurve const&) + 6428 | |
6 libTKGeomBase.10.dylib 0x000000010c73a92f ProjLib_ProjectedCurve::ProjLib_ProjectedCurve(Handle_Adaptor3d_HSurface const&, Handle_Adaptor3d_HCurve const&, double) + 111 | |
7 libTKGeomBase.10.dylib 0x000000010c74abe1 GeomProjLib::Curve2d(Handle_Geom_Curve const&, double, double, Handle_Geom_Surface const&, double, double, double, double, double&) + 545 | |
8 libTKBO.10.dylib 0x000000010b58683f BuildPCurves(double, double, double&, Handle_Geom_Surface const&, Handle_Geom_Curve const&, Handle_Geom2d_Curve&) + 159 | |
9 libTKBO.10.dylib 0x000000010b581392 IntTools_FaceFace::MakeCurve(int, Handle_Adaptor3d_TopolTool const&, Handle_Adaptor3d_TopolTool const&) + 14898 | |
10 libTKBO.10.dylib 0x000000010b57c2b2 IntTools_FaceFace::Perform(TopoDS_Face const&, TopoDS_Face const&) + 7202 | |
11 libTKBO.10.dylib 0x000000010b615561 BOPCol_TBBCnt<BOPCol_TBBFunctor<BOPAlgo_FaceFace, BOPCol_NCVector<BOPAlgo_FaceFace> >, BOPCol_NCVector<BOPAlgo_FaceFace> >::Perform(bool, BOPCol_NCVector<BOPAlgo_FaceFace>&) + 193 | |
12 libTKBO.10.dylib 0x000000010b60b08b BOPAlgo_PaveFiller::PerformFF() + 1899 | |
13 libTKBO.10.dylib 0x000000010b5f917d BOPAlgo_PaveFiller::PerformInternal() + 173 | |
14 libTKBO.10.dylib 0x000000010b5f8f91 BOPAlgo_PaveFiller::Perform() + 129 | |
15 libTKBO.10.dylib 0x000000010b5a9a81 BRepAlgoAPI_BooleanOperation::Build() + 81 | |
16 libTKBO.10.dylib 0x000000010b5ac38a BRepAlgoAPI_Fuse::BRepAlgoAPI_Fuse(TopoDS_Shape const&, TopoDS_Shape const&) + 42 | |
17 occmodel.so 0x000000010b44beda OCCSolid::boolean(OCCSolid*, BoolOpType) + 266 | |
18 occmodel.so 0x000000010b3fd2b8 __pyx_f_8occmodel_5Solid_boolean(__pyx_obj_8occmodel_Solid*, _object*, BoolOpType) + 196 | |
19 occmodel.so 0x000000010b3ff5a5 __pyx_f_8occmodel_5Solid_fuse(__pyx_obj_8occmodel_Solid*, _object*, int) + 56 | |
20 occmodel.so 0x000000010b421b65 __pyx_pw_8occmodel_5Solid_59fuse(_object*, _object*) + 14 | |
21 org.python.python 0x000000010aeb6e95 PyEval_EvalFrameEx + 14562 | |
22 org.python.python 0x000000010aeb33c1 PyEval_EvalCodeEx + 1583 | |
23 org.python.python 0x000000010aeb2d8c PyEval_EvalCode + 54 | |
24 org.python.python 0x000000010aed2a42 0x10ae30000 + 666178 | |
25 org.python.python 0x000000010aed2ae5 PyRun_FileExFlags + 133 | |
26 org.python.python 0x000000010aed2634 PyRun_SimpleFileExFlags + 698 | |
27 org.python.python 0x000000010aee4011 Py_Main + 3137 | |
28 libdyld.dylib 0x00007fff978f75ad start + 1 | |
# SUMMARY | |
Multiple functions seg-fault inside OCE (OpenCASCADE) - at least when driving it through python wrapper 'occmodel`. | |
Generally the seg-fault occurs inside 'libTKMath', when trying to compute some (B-)Spline parameters. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment