Title: IfcConvert hangs forever (infinite loop in OCCT corner trimming) on IfcSweptDiskSolid with directrix segments much shorter than the disk radius · Issue #8400 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: IfcConvert hangs forever (infinite loop in OCCT corner trimming) on IfcSweptDiskSolid with directrix segments much shorter than the disk radius · Issue #8400 · IfcOpenShell/IfcOpenShell
X Title: IfcConvert hangs forever (infinite loop in OCCT corner trimming) on IfcSweptDiskSolid with directrix segments much shorter than the disk radius · Issue #8400 · IfcOpenShell/IfcOpenShell
Description: Converting an IFC exported by Revit MEP (flexible electrical conduit) makes IfcConvert hang forever with one core at 100%. This is not a slow conversion, it is a true infinite loop; we observed a production worker stuck for 3.5 hours on ...
Open Graph Description: Converting an IFC exported by Revit MEP (flexible electrical conduit) makes IfcConvert hang forever with one core at 100%. This is not a slow conversion, it is a true infinite loop; we observed a p...
X Description: Converting an IFC exported by Revit MEP (flexible electrical conduit) makes IfcConvert hang forever with one core at 100%. This is not a slow conversion, it is a true infinite loop; we observed a p...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/8400
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IfcConvert hangs forever (infinite loop in OCCT corner trimming) on IfcSweptDiskSolid with directrix segments much shorter than the disk radius","articleBody":"Converting an IFC exported by Revit MEP (flexible electrical conduit) makes IfcConvert hang forever with one core at 100%. This is not a slow conversion, it is a true infinite loop; we observed a production worker stuck for 3.5 hours on a 15 MB file until an external watchdog killed it.\n\nVerified on the official builds:\n\n- `IfcConvert 0.8.3-0aae576 (OCC 7.8.1)` linux64: hangs\n- `IfcConvert 0.8.4-158fe92 (OCC 7.8.1)` linux64 (latest build available on ifcopenshell-builds, 2025-11-19): hangs\n- Our v0.8.0-based fork against OCCT 7.6.3 and OCCT 7.8.1: hangs\n\nCurrent master should be affected as well: the relevant code now lives in `src/ifcgeom/kernels/opencascade/sweep_utils.cpp` (line 169 still selects `BRepBuilderAPI_RightCorner` for non-C1 directrices) and there is no directrix sanitization anywhere in that path. We could not test a post-OCCT-8.0 build (none published yet), but the loop is inside OCCT's `ProjLib` walking code, which behaves identically in 7.6.3 and 7.8.1.\n\n## Root cause\n\n- The file contains `IfcSweptDiskSolid` entities whose composite-curve directrix is a discretized spline containing chords **much shorter than the disk radius**: segments down to 238 um against an 11.2 mm radius (about 1/50).\n- The sweep code selects `BRepBuilderAPI_RightCorner` for non-C1 directrices. The call chain then is:\n `BRepOffsetAPI_MakePipeShell::Build()` -> `BRepFill_Sweep::PerformCorner` -> `BRepFill_TrimShellCorner::Perform` -> `BOPAlgo_PaveFiller::MakePCurves` -> `BOPTools_AlgoTools2D::MakePCurveOnFace` -> `ProjLib_CompProjectedCurve::Init()` -> `math_NewtonFunctionSetRoot` fails to converge while projecting an edge onto two nearly-coincident pipe surfaces (the two sides of a corner whose adjacent segment is shorter than the trim region), and the walking loop inside `Init()` never advances past the `x = 2*pi` parameter boundary.\n- **The hang cannot be interrupted externally:** no `Message_ProgressRange` / `UserBreak` reaches this path. `BRepFill_PipeShell::Build()` (OCCT) does not propagate any progress range into `BRepFill_Sweep`/`BRepFill_TrimShellCorner` (grep of OCCT 7.8.1: zero occurrences in those files).\n- The cgal/cgal-simple kernels are unaffected (they reject `sweep_along_curve` items), but the default and hybrid kernels hang.\n\nTwo gdb stack samples captured seconds apart, both inside `ProjLib_CompProjectedCurve::Init` (attached below).\n\nPossibly related (same area, different symptom): #5474.\n\n## Reproduce\n\n`minimal_el67.ifc` (21 KB, single `IfcCableCarrierSegment`, inlined below):\n\n```\nIfcConvert minimal_el67.ifc out.obj # hangs forever at 'Creating geometry'\n```\n\nThe element's directrix is an `IfcCompositeCurve` of 65 two-point polylines: 16 chords are shorter than 1/10 of the disk radius (min 238 um vs radius 11.2 mm), corner angles between 0.15 and 11.25 degrees. Collapsing only the 3 shortest chords (under 300 um) already makes the file convert, so the trigger is specifically the sub-radius-scale segments, not the shallow corner angles (a sibling element in the same file with min chord 1.3 mm and the same angle profile converts fine).\n\n## Fix we applied (for reference)\n\nBefore feeding the wire to `BRepOffsetAPI_MakePipeShell`, we collapse straight directrix segments shorter than `max(radius / 10, 10 * Precision)` to their midpoint (directrix endpoints pinned; wires with non-linear segments or nearly-closed wires untouched). With this the full 15 MB file converts in about 1 minute (304 elements, 118 of them sanitized), and models without sub-scale segments are byte-identical.\n\nThe patch below is against v0.8.0's `sweep_along_curve.cpp`; the same code lives in master's `sweep_utils.cpp` today, so it should apply with minimal adjustment. Happy to turn this into a PR if the approach sounds right. An alternative or complementary fix would be guarding `PerformCorner` against segments shorter than the corner trim region. Arguably `ProjLib_CompProjectedCurve::Init()`'s unbounded walking loop is also an OCCT bug worth reporting upstream.\n\n\u003cdetails>\n\u003csummary>\u003cb>Patch: collapse sub-radius-scale directrix segments before MakePipeShell\u003c/b>\u003c/summary>\n\n```diff\ndiff --git a/src/ifcgeom/kernels/opencascade/sweep_along_curve.cpp b/src/ifcgeom/kernels/opencascade/sweep_along_curve.cpp\nindex 7d9cd13..4c4f0f3 100644\n--- a/src/ifcgeom/kernels/opencascade/sweep_along_curve.cpp\n+++ b/src/ifcgeom/kernels/opencascade/sweep_along_curve.cpp\n@@ -30,6 +30,10 @@\n #include \u003cTopExp.hxx>\n #include \u003cGeom_Circle.hxx>\n #include \u003cBRepBuilderAPI_MakeSolid.hxx>\n+#include \u003cBRepTools_WireExplorer.hxx>\n+#include \u003cBRepBuilderAPI_MakePolygon.hxx>\n+#include \u003cGeom_Line.hxx>\n+#include \u003cGeom_TrimmedCurve.hxx>\n \n using namespace ifcopenshell::geometry;\n using namespace ifcopenshell::geometry::kernels;\n@@ -81,6 +85,76 @@ namespace {\n \t\t}\n \t\treturn false;\n \t}\n+\n+\t// Collapses ultra-short straight segments in an open polyline directrix.\n+\t// Segments much shorter than the swept disk radius (Revit MEP flexible\n+\t// conduit discretizations emit chords of ~1/50 of the radius) make\n+\t// BRepFill_TrimShellCorner trim two nearly-coincident pipe surfaces;\n+\t// ProjLib_CompProjectedCurve's Newton walk then fails to converge and\n+\t// BRepOffsetAPI_MakePipeShell::Build() loops forever; no UserBreak is\n+\t// checked anywhere in that OCCT path, so the hang cannot be interrupted\n+\t// from the outside. Interior vertices collapse to the segment midpoint\n+\t// (deviation \u003c= min_len / 2); the directrix endpoints never move.\n+\t// Wires with non-linear segments or (nearly) closed wires are left\n+\t// untouched.\n+\tbool collapse_short_directrix_edges(TopoDS_Wire& w, double min_len, int& n_collapsed) {\n+\t\tstd::vector\u003cgp_Pnt> pts;\n+\t\tfor (BRepTools_WireExplorer exp(w); exp.More(); exp.Next()) {\n+\t\t\tconst TopoDS_Edge& e = exp.Current();\n+\t\t\tdouble u0, u1;\n+\t\t\tHandle(Geom_Curve) crv = BRep_Tool::Curve(e, u0, u1);\n+\t\t\tif (crv.IsNull()) {\n+\t\t\t\treturn false;\n+\t\t\t}\n+\t\t\tif (crv->DynamicType() == STANDARD_TYPE(Geom_TrimmedCurve)) {\n+\t\t\t\tcrv = Handle(Geom_TrimmedCurve)::DownCast(crv)->BasisCurve();\n+\t\t\t}\n+\t\t\tif (crv->DynamicType() != STANDARD_TYPE(Geom_Line)) {\n+\t\t\t\treturn false;\n+\t\t\t}\n+\t\t\tif (pts.empty()) {\n+\t\t\t\tpts.push_back(BRep_Tool::Pnt(TopExp::FirstVertex(e, Standard_True)));\n+\t\t\t}\n+\t\t\tpts.push_back(BRep_Tool::Pnt(TopExp::LastVertex(e, Standard_True)));\n+\t\t}\n+\t\tif (pts.size() \u003c 3 || pts.front().Distance(pts.back()) \u003c min_len) {\n+\t\t\treturn false;\n+\t\t}\n+\t\tbool changed = true;\n+\t\twhile (changed) {\n+\t\t\tchanged = false;\n+\t\t\tfor (size_t i = 0; i + 1 \u003c pts.size() && pts.size() > 2; ++i) {\n+\t\t\t\tif (pts[i].Distance(pts[i + 1]) >= min_len) {\n+\t\t\t\t\tcontinue;\n+\t\t\t\t}\n+\t\t\t\tif (i == 0) {\n+\t\t\t\t\t// keep the directrix start point fixed\n+\t\t\t\t\tpts.erase(pts.begin() + 1);\n+\t\t\t\t} else if (i + 2 == pts.size()) {\n+\t\t\t\t\t// keep the directrix end point fixed\n+\t\t\t\t\tpts.erase(pts.begin() + i);\n+\t\t\t\t} else {\n+\t\t\t\t\tpts[i] = gp_Pnt((pts[i].XYZ() + pts[i + 1].XYZ()) / 2.);\n+\t\t\t\t\tpts.erase(pts.begin() + i + 1);\n+\t\t\t\t}\n+\t\t\t\t++n_collapsed;\n+\t\t\t\tchanged = true;\n+\t\t\t\tbreak;\n+\t\t\t}\n+\t\t}\n+\t\tif (n_collapsed == 0) {\n+\t\t\treturn false;\n+\t\t}\n+\t\tBRepBuilderAPI_MakePolygon mp;\n+\t\tfor (const auto& p : pts) {\n+\t\t\tmp.Add(p);\n+\t\t}\n+\t\tif (!mp.IsDone()) {\n+\t\t\treturn false;\n+\t\t}\n+\t\tw = mp.Wire();\n+\t\treturn true;\n+\t}\n }\n \n bool OpenCascadeKernel::convert(const taxonomy::sweep_along_curve::ptr scs, TopoDS_Shape& result) {\n@@ -160,6 +234,24 @@ bool OpenCascadeKernel::convert(const taxonomy::sweep_along_curve::ptr scs, Topo\n \tgp_Trsf directrix;\n \tTopoDS_Wire wire = boost::get\u003cTopoDS_Wire>(w);\n \n+\t{\n+\t\t// Threshold for degenerate directrix segments: well below the disk\n+\t\t// radius, so only sub-feature-scale noise is collapsed. Floored at\n+\t\t// 10x model precision for sweeps without a circular profile.\n+\t\tdouble radius = 0.;\n+\t\tif (scs->basis && scs->basis->kind() == taxonomy::FACE) {\n+\t\t\tauto& loops = std::static_pointer_cast\u003ctaxonomy::face>(scs->basis)->children;\n+\t\t\tif (!loops.empty() && loops[0]->children.size() == 1 && loops[0]->children[0]->basis && loops[0]->children[0]->basis->kind() == taxonomy::CIRCLE) {\n+\t\t\t\tradius = std::static_pointer_cast\u003ctaxonomy::circle>(loops[0]->children[0]->basis)->radius;\n+\t\t\t}\n+\t\t}\n+\t\tconst double min_len = (std::max)(radius / 10., settings_.get\u003csettings::Precision>().get() * 10.);\n+\t\tint n_collapsed = 0;\n+\t\tif (collapse_short_directrix_edges(wire, min_len, n_collapsed)) {\n+\t\t\tLogger::Message(Logger::LOG_WARNING, \"Collapsed \" + std::to_string(n_collapsed) + \" degenerate directrix segments\", scs->instance);\n+\t\t}\n+\t}\n+\n \tconst bool is_plane = surface && surface->DynamicType() == STANDARD_TYPE(Geom_Plane);\n \n \tgp_Pln pln;\n```\n\n\u003c/details>\n\n## Environment\n\n- Official `IfcConvert-v0.8.3-0aae576-linux64` and `IfcConvert-v0.8.4-158fe92-linux64` (both OCC 7.8.1): hang\n- IfcOpenShell v0.8.0-based fork, OCCT 7.8.1 (static) and 7.6.3 (Ubuntu system): hangs\n- Linux x86_64; file origin: Revit MEP (flexible conduit / cable carrier segments), IFC4, lengths in centimetres\n\n\u003cdetails>\n\u003csummary>\u003cb>minimal_el67.ifc\u003c/b> (repro, 21 KB)\u003c/summary>\n\n```\nISO-10303-21;\nHEADER;\nFILE_DESCRIPTION(('IFC4'),'2;1');\nFILE_NAME('','2026-07-06T15:08:35',(''),('',''),'','IfcPlusPlus','');\nFILE_SCHEMA(('IFC4'));\nENDSEC;\nDATA;\n#1=IFCSIUNIT(*,.LENGTHUNIT.,.CENTI.,.METRE.);\n#2=IFCSIUNIT(*,.LENGTHUNIT.,$,.METRE.);\n#3=IFCSIUNIT(*,.VOLUMEUNIT.,$,.CUBIC_METRE.);\n#4=IFCSIUNIT(*,.AREAUNIT.,$,.SQUARE_METRE.);\n#5=IFCSIUNIT(*,.TIMEUNIT.,$,.SECOND.);\n#6=IFCSIUNIT(*,.POWERUNIT.,$,.WATT.);\n#7=IFCSIUNIT(*,.LUMINOUSFLUXUNIT.,$,.LUMEN.);\n#8=IFCSIUNIT(*,.ELECTRICCURRENTUNIT.,$,.AMPERE.);\n#9=IFCSIUNIT(*,.PRESSUREUNIT.,.KILO.,.PASCAL.);\n#10=IFCSIUNIT(*,.MASSUNIT.,.KILO.,.GRAM.);\n#11=IFCSIUNIT(*,.PLANEANGLEUNIT.,$,.RADIAN.);\n#12=IFCDERIVEDUNITELEMENT(#2,3);\n#13=IFCDERIVEDUNITELEMENT(#5,-1);\n#14=IFCDERIVEDUNIT((#12,#13),.VOLUMETRICFLOWRATEUNIT.,$);\n#15=IFCUNITASSIGNMENT((#1,#3,#4,#6,#7,#8,#9,#10,#11,#14));\n#16=IFCDIRECTION((0.,0.,1.));\n#17=IFCDIRECTION((1.,0.,0.));\n#18=IFCCARTESIANPOINT((0.,0.,0.));\n#19=IFCAXIS2PLACEMENT3D(#18,#16,#17);\n#20=IFCGEOMETRICREPRESENTATIONCONTEXT('Body','Model',3,1.00000E-05,#19,$);\n#21=IFCPROJECT('2SvFeLYGz75O862mtRX65g',#26,'PROJECT',$,$,$,$,(#20),#15);\n#22=IFCPERSON($,$,'Orgus Engenharia',(),(),(),(),());\n#23=IFCORGANIZATION($,'',$,(),());\n#24=IFCPERSONANDORGANIZATION(#22,#23,());\n#25=IFCAPPLICATION(#23,'2026-04','AltoQi Builder 2026','QiBuilder');\n#26=IFCOWNERHISTORY(#24,#25,$,.NOCHANGE.,$,$,$,0);\n#27=IFCCARTESIANPOINT((0.,0.,0.));\n#28=IFCDIRECTION((0.,0.,1.));\n#29=IFCDIRECTION((1.,0.,0.));\n#30=IFCRELAGGREGATES('2D7Upl9pr44gv_80ryRuVS',#26,$,$,#21,(#33));\n#31=IFCAXIS2PLACEMENT3D(#27,#28,#29);\n#32=IFCLOCALPLACEMENT($,#31);\n#33=IFCSITE('1TVTzXIu16L8B5cDUmMPj9',#26,$,$,$,#32,$,$,$,$,$,$,$,$);\n#34=IFCRELAGGREGATES('0ajngTt414NfJIqn1rdt1j',#26,$,$,#33,(#38));\n#35=IFCCARTESIANPOINT((0.,0.,0.));\n#36=IFCAXIS2PLACEMENT3D(#35,$,$);\n#37=IFCLOCALPLACEMENT(#32,#36);\n#38=IFCBUILDING('3Gbo5kPEL2mgoY3tY7Vqi4',#26,$,$,$,#37,$,$,$,$,$,$);\n#39=IFCRELAGGREGATES('0SsLNGnYr8PhLcH88e3Ja$',#26,$,$,#38,(#167206));\n#136088=IFCCARTESIANPOINT((0.,0.,0.));\n#136089=IFCAXIS2PLACEMENT3D(#136088,#16,#17);\n#136090=IFCLOCALPLACEMENT(#37,#136089);\n#167203=IFCCARTESIANPOINT((0.,0.,300.));\n#167204=IFCAXIS2PLACEMENT3D(#167203,#16,#17);\n#167205=IFCLOCALPLACEMENT(#136090,#167204);\n#167206=IFCBUILDINGSTOREY('3WAMKkAJLDWvzCr4EwuUDr',#26,'Pavimento Superior',$,$,#167205,$,'Pavimento Superior',.ELEMENT.,300.);\n#167207=IFCRELCONTAINEDINSPATIALSTRUCTURE('173YkrPaj4chmmHTm3HQvp',#26,$,$,(#179565),#167206);\n#179562=IFCCARTESIANPOINT((142.125966469492823,382.967889570263139,311.130500737522652));\n#179563=IFCAXIS2PLACEMENT3D(#179562,#16,#17);\n#179564=IFCLOCALPLACEMENT(#167205,#179563);\n#179565=IFCCABLECARRIERSEGMENT('3mTEc$NhvDfwNqsXD86T8s',#26,'El67',$,$,#179564,#179577,$,$);\n#179577=IFCPRODUCTDEFINITIONSHAPE($,$,(#179578));\n#179578=IFCSHAPEREPRESENTATION(#20,'Body','AdvancedSweptSolid',(#179579));\n#179579=IFCSWEPTDISKSOLID(#179580,1.12,$,$,$);\n#179580=IFCCOMPOSITECURVE((#179581,#179585,#179589,#179593,#179597,#179601,#179605,#179609,#179613,#179617,#179621,#179625,#179629,#179633,#179637,#179641,#179645,#179649,#179653,#179657,#179661,#179665,#179669,#179673,#179677,#179681,#179685,#179689,#179693,#179697,#179701,#179705,#179709,#179713,#179717,#179721,#179725,#179729,#179733,#179737,#179741,#179745,#179749,#179753,#179757,#179761,#179765,#179769,#179773,#179777,#179781,#179785,#179789,#179793,#179797,#179801,#179805,#179809,#179813,#179817,#179821,#179825,#179829,#179833,#179837),.F.);\n#179581=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179582);\n#179582=IFCPOLYLINE((#179583,#179584));\n#179583=IFCCARTESIANPOINT((-130.494707723987545,102.229291953683287,-164.630500718364601));\n#179584=IFCCARTESIANPOINT((-130.494707723987545,102.229291953683287,-5.610500737522671));\n#179585=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179586);\n#179586=IFCPOLYLINE((#179587,#179588));\n#179587=IFCCARTESIANPOINT((-130.494707723987545,102.229291953683287,-5.610500737522671));\n#179588=IFCCARTESIANPOINT((-130.411743970575799,102.206332932207943,-4.736496094890413));\n#179589=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179590);\n#179590=IFCPOLYLINE((#179591,#179592));\n#179591=IFCCARTESIANPOINT((-130.411743970575799,102.206332932207943,-4.736496094890413));\n#179592=IFCCARTESIANPOINT((-130.166040960857515,102.138338170101747,-3.89607896052712));\n#179593=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179594);\n#179594=IFCPOLYLINE((#179595,#179596));\n#179595=IFCCARTESIANPOINT((-130.166040960857515,102.138338170101747,-3.89607896052712));\n#179596=IFCCARTESIANPOINT((-129.767040923704343,102.027920667940464,-3.121546093594816));\n#179597=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179598);\n#179598=IFCPOLYLINE((#179599,#179600));\n#179599=IFCCARTESIANPOINT((-129.767040923704343,102.027920667940464,-3.121546093594816));\n#179600=IFCCARTESIANPOINT((-129.230077206782283,101.879323708409288,-2.442662357806967));\n#179601=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179602);\n#179602=IFCPOLYLINE((#179603,#179604));\n#179603=IFCCARTESIANPOINT((-129.230077206782283,101.879323708409288,-2.442662357806967));\n#179604=IFCCARTESIANPOINT((-128.575785024599924,101.698257789328977,-1.885516874407244));\n#179605=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179606);\n#179606=IFCPOLYLINE((#179607,#179608));\n#179607=IFCCARTESIANPOINT((-128.575785024599924,101.698257789328977,-1.885516874407244));\n#179608=IFCCARTESIANPOINT((-127.829308458787267,101.491681172426695,-1.471520431872136));\n#179609=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179610);\n#179610=IFCPOLYLINE((#179611,#179612));\n#179611=IFCCARTESIANPOINT((-127.829308458787267,101.491681172426695,-1.471520431872136));\n#179612=IFCCARTESIANPOINT((-127.019334185139599,101.267532481240664,-1.21658268131614));\n#179613=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179614);\n#179614=IFCPOLYLINE((#179615,#179616));\n#179615=IFCCARTESIANPOINT((-127.019334185139599,101.267532481240664,-1.21658268131614));\n#179616=IFCCARTESIANPOINT((-126.17698906075438,101.034425624268977,-1.130500737522652));\n#179617=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179618);\n#179618=IFCPOLYLINE((#179619,#179620));\n#179619=IFCCARTESIANPOINT((-126.17698906075438,101.034425624268977,-1.130500737522652));\n#179620=IFCCARTESIANPOINT((-124.018787449647604,100.437174474221138,-1.130500737522652));\n#179621=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179622);\n#179622=IFCPOLYLINE((#179623,#179624));\n#179623=IFCCARTESIANPOINT((-124.018787449647604,100.437174474221138,-1.130500737522652));\n#179624=IFCCARTESIANPOINT((-123.789286433034093,100.366993646436867,-1.130500737522652));\n#179625=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179626);\n#179626=IFCPOLYLINE((#179627,#179628));\n#179627=IFCCARTESIANPOINT((-123.789286433034093,100.366993646436867,-1.130500737522652));\n#179628=IFCCARTESIANPOINT((-117.234362583710336,98.168868556471921,-1.130500737522652));\n#179629=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179630);\n#179630=IFCPOLYLINE((#179631,#179632));\n#179631=IFCCARTESIANPOINT((-117.234362583710336,98.168868556471921,-1.130500737522652));\n#179632=IFCCARTESIANPOINT((-117.032419108985877,98.095718474251498,-1.130500737522652));\n#179633=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179634);\n#179634=IFCPOLYLINE((#179635,#179636));\n#179635=IFCCARTESIANPOINT((-117.032419108985877,98.095718474251498,-1.130500737522652));\n#179636=IFCCARTESIANPOINT((-110.275545669170839,95.463290190337091,-1.130500737522652));\n#179637=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179638);\n#179638=IFCPOLYLINE((#179639,#179640));\n#179639=IFCCARTESIANPOINT((-110.275545669170839,95.463290190337091,-1.130500737522652));\n#179640=IFCCARTESIANPOINT((-110.097977719651198,95.389685457723374,-1.130500737522652));\n#179641=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179642);\n#179642=IFCPOLYLINE((#179643,#179644));\n#179643=IFCCARTESIANPOINT((-110.097977719651198,95.389685457723374,-1.130500737522652));\n#179644=IFCCARTESIANPOINT((-103.145290812658033,92.331292891029591,-1.130500737522652));\n#179645=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179646);\n#179646=IFCPOLYLINE((#179647,#179648));\n#179647=IFCCARTESIANPOINT((-103.145290812658033,92.331292891029591,-1.130500737522652));\n#179648=IFCCARTESIANPOINT((-102.989067406386582,92.25895863607019,-1.130500737522652));\n#179649=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179650);\n#179650=IFCPOLYLINE((#179651,#179652));\n#179651=IFCCARTESIANPOINT((-102.989067406386582,92.25895863607019,-1.130500737522652));\n#179652=IFCCARTESIANPOINT((-95.846487360904092,88.783629171129689,-1.130500737522652));\n#179653=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179654);\n#179654=IFCPOLYLINE((#179655,#179656));\n#179655=IFCCARTESIANPOINT((-95.846487360904092,88.783629171129689,-1.130500737522652));\n#179656=IFCCARTESIANPOINT((-95.708843720679184,88.713698118991772,-1.130500737522652));\n#179657=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179658);\n#179658=IFCPOLYLINE((#179659,#179660));\n#179659=IFCCARTESIANPOINT((-95.708843720679184,88.713698118991772,-1.130500737522652));\n#179660=IFCCARTESIANPOINT((-88.381998019223488,84.830966997731252,-1.130500737522652));\n#179661=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179662);\n#179662=IFCPOLYLINE((#179663,#179664));\n#179663=IFCCARTESIANPOINT((-88.381998019223488,84.830966997731252,-1.130500737522652));\n#179664=IFCCARTESIANPOINT((-88.260479551616413,84.764141208826572,-1.130500737522652));\n#179665=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179666);\n#179666=IFCPOLYLINE((#179667,#179668));\n#179667=IFCCARTESIANPOINT((-88.260479551616413,84.764141208826572,-1.130500737522652));\n#179668=IFCCARTESIANPOINT((-80.754681480383141,80.483907853284506,-1.130500737522652));\n#179669=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179670);\n#179670=IFCPOLYLINE((#179671,#179672));\n#179671=IFCCARTESIANPOINT((-80.754681480383141,80.483907853284506,-1.130500737522652));\n#179672=IFCCARTESIANPOINT((-80.647146127703124,80.420584177547369,-1.130500737522652));\n#179673=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179674);\n#179674=IFCPOLYLINE((#179675,#179676));\n#179675=IFCCARTESIANPOINT((-80.647146127703124,80.420584177547369,-1.130500737522652));\n#179676=IFCCARTESIANPOINT((-72.967404658915385,75.753002978298241,-1.130500737522652));\n#179677=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179678);\n#179678=IFCPOLYLINE((#179679,#179680));\n#179679=IFCCARTESIANPOINT((-72.967404658915385,75.753002978298241,-1.130500737522652));\n#179680=IFCCARTESIANPOINT((-72.872003198758989,75.693366856367447,-1.130500737522652));\n#179681=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179682);\n#179682=IFCPOLYLINE((#179683,#179684));\n#179683=IFCCARTESIANPOINT((-72.872003198758989,75.693366856367447,-1.130500737522652));\n#179684=IFCCARTESIANPOINT((-65.023048431182332,70.648766654070414,-1.130500737522652));\n#179685=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179686);\n#179686=IFCPOLYLINE((#179687,#179688));\n#179687=IFCCARTESIANPOINT((-65.023048431182332,70.648766654070414,-1.130500737522652));\n#179688=IFCCARTESIANPOINT((-64.938194817321502,70.592860496072774,-1.130500737522652));\n#179689=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179690);\n#179690=IFCPOLYLINE((#179691,#179692));\n#179691=IFCCARTESIANPOINT((-64.938194817321502,70.592860496072774,-1.130500737522652));\n#179692=IFCCARTESIANPOINT((-56.924509563838853,65.181686491196558,-1.130500737522652));\n#179693=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179694);\n#179694=IFCPOLYLINE((#179695,#179696));\n#179695=IFCCARTESIANPOINT((-56.924509563838853,65.181686491196558,-1.130500737522652));\n#179696=IFCCARTESIANPOINT((-56.848848325543074,65.12945860519676,-1.130500737522652));\n#179697=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179698);\n#179698=IFCPOLYLINE((#179699,#179700));\n#179699=IFCCARTESIANPOINT((-56.848848325543074,65.12945860519676,-1.130500737522652));\n#179700=IFCCARTESIANPOINT((-48.674700553260124,59.362231134277465,-1.130500737522652));\n#179701=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179702);\n#179702=IFCPOLYLINE((#179703,#179704));\n#179703=IFCCARTESIANPOINT((-48.674700553260124,59.362231134277465,-1.130500737522652));\n#179704=IFCCARTESIANPOINT((-48.607075042213509,59.31357022453858,-1.130500737522652));\n#179705=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179706);\n#179706=IFCPOLYLINE((#179707,#179708));\n#179707=IFCCARTESIANPOINT((-48.607075042213509,59.31357022453858,-1.130500737522652));\n#179708=IFCCARTESIANPOINT((-40.276548426090514,53.200855905593642,-1.130500737522652));\n#179709=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179710);\n#179710=IFCPOLYLINE((#179711,#179712));\n#179711=IFCCARTESIANPOINT((-40.276548426090514,53.200855905593642,-1.130500737522652));\n#179712=IFCCARTESIANPOINT((-40.215971748866224,53.155615082092879,-1.130500737522652));\n#179713=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179714);\n#179714=IFCPOLYLINE((#179715,#179716));\n#179715=IFCCARTESIANPOINT((-40.215971748866224,53.155615082092879,-1.130500737522652));\n#179716=IFCCARTESIANPOINT((-31.732993111845403,46.708006877320884,-1.130500737522652));\n#179717=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179718);\n#179718=IFCPOLYLINE((#179719,#179720));\n#179719=IFCCARTESIANPOINT((-31.732993111845403,46.708006877320884,-1.130500737522652));\n#179720=IFCCARTESIANPOINT((-31.6786224609058,46.666020149094038,-1.130500737522652));\n#179721=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179722);\n#179722=IFCPOLYLINE((#179723,#179724));\n#179723=IFCCARTESIANPOINT((-31.6786224609058,46.666020149094038,-1.130500737522652));\n#179724=IFCCARTESIANPOINT((-23.046985725025237,39.8941237785819,-1.130500737522652));\n#179725=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179726);\n#179726=IFCPOLYLINE((#179727,#179728));\n#179727=IFCCARTESIANPOINT((-23.046985725025237,39.8941237785819,-1.130500737522652));\n#179728=IFCCARTESIANPOINT((-22.99810020689371,39.855217216863764,-1.130500737522652));\n#179729=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179730);\n#179730=IFCPOLYLINE((#179731,#179732));\n#179731=IFCCARTESIANPOINT((-22.99810020689371,39.855217216863764,-1.130500737522652));\n#179732=IFCCARTESIANPOINT((-14.221486930237845,32.769642053940117,-1.130500737522652));\n#179733=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179734);\n#179734=IFCPOLYLINE((#179735,#179736));\n#179735=IFCCARTESIANPOINT((-14.221486930237845,32.769642053940117,-1.130500737522652));\n#179736=IFCCARTESIANPOINT((-14.177468679333728,32.73364120642043,-1.130500737522652));\n#179737=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179738);\n#179738=IFCPOLYLINE((#179739,#179740));\n#179739=IFCCARTESIANPOINT((-14.177468679333728,32.73364120642043,-1.130500737522652));\n#179740=IFCCARTESIANPOINT((-5.259465468979641,25.344994311199514,-1.130500737522652));\n#179741=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179742);\n#179742=IFCPOLYLINE((#179743,#179744));\n#179743=IFCCARTESIANPOINT((-5.259465468979641,25.344994311199514,-1.130500737522652));\n#179744=IFCCARTESIANPOINT((-5.219783700133519,25.311728998807041,-1.130500737522652));\n#179745=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179746);\n#179746=IFCPOLYLINE((#179747,#179748));\n#179747=IFCCARTESIANPOINT((-5.219783700133519,25.311728998807041,-1.130500737522652));\n#179748=IFCCARTESIANPOINT((3.836103125988444,17.630611333167508,-1.130500737522652));\n#179749=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179750);\n#179750=IFCPOLYLINE((#179751,#179752));\n#179751=IFCCARTESIANPOINT((3.836103125988444,17.630611333167508,-1.130500737522652));\n#179752=IFCCARTESIANPOINT((3.871905512589365,17.599918632809931,-1.130500737522652));\n#179753=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179754);\n#179754=IFCPOLYLINE((#179755,#179756));\n#179755=IFCCARTESIANPOINT((3.871905512589365,17.599918632809931,-1.130500737522652));\n#179756=IFCCARTESIANPOINT((13.062237630445708,9.636922779813119,-1.130500737522652));\n#179757=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179758);\n#179758=IFCPOLYLINE((#179759,#179760));\n#179759=IFCCARTESIANPOINT((13.062237630445708,9.636922779813119,-1.130500737522652));\n#179760=IFCCARTESIANPOINT((13.09455526754428,9.608648760497772,-1.130500737522652));\n#179761=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179762);\n#179762=IFCPOLYLINE((#179763,#179764));\n#179763=IFCCARTESIANPOINT((13.09455526754428,9.608648760497772,-1.130500737522652));\n#179764=IFCCARTESIANPOINT((22.415952057772557,1.374357671471671,-1.130500737522652));\n#179765=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179766);\n#179766=IFCPOLYLINE((#179767,#179768));\n#179767=IFCCARTESIANPOINT((22.415952057772557,1.374357671471671,-1.130500737522652));\n#179768=IFCCARTESIANPOINT((22.445126494308283,1.348358282858101,-1.130500737522652));\n#179769=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179770);\n#179770=IFCPOLYLINE((#179771,#179772));\n#179771=IFCCARTESIANPOINT((22.445126494308283,1.348358282858101,-1.130500737522652));\n#179772=IFCCARTESIANPOINT((31.894256437580708,-7.146655282270046,-1.130500737522652));\n#179773=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179774);\n#179774=IFCPOLYLINE((#179775,#179776));\n#179775=IFCCARTESIANPOINT((31.894256437580708,-7.146655282270046,-1.130500737522652));\n#179776=IFCCARTESIANPOINT((31.920583986202217,-7.170513889307813,-1.130500737522652));\n#179777=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179778);\n#179778=IFCPOLYLINE((#179779,#179780));\n#179779=IFCCARTESIANPOINT((31.920583986202217,-7.170513889307813,-1.130500737522652));\n#179780=IFCCARTESIANPOINT((41.494157465163482,-15.915687462115045,-1.130500737522652));\n#179781=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179782);\n#179782=IFCPOLYLINE((#179783,#179784));\n#179783=IFCCARTESIANPOINT((41.494157465163482,-15.915687462115045,-1.130500737522652));\n#179784=IFCCARTESIANPOINT((41.517895769967936,-15.93752898780491,-1.130500737522652));\n#179785=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179786);\n#179786=IFCPOLYLINE((#179787,#179788));\n#179787=IFCCARTESIANPOINT((41.517895769967936,-15.93752898780491,-1.130500737522652));\n#179788=IFCCARTESIANPOINT((51.212659041796428,-24.922310194502131,-1.130500737522652));\n#179789=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179790);\n#179790=IFCPOLYLINE((#179791,#179792));\n#179791=IFCCARTESIANPOINT((51.212659041796428,-24.922310194502131,-1.130500737522652));\n#179792=IFCCARTESIANPOINT((51.234032582009405,-24.942248479834234,-1.130500737522652));\n#179793=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179794);\n#179794=IFCPOLYLINE((#179795,#179796));\n#179795=IFCCARTESIANPOINT((51.234032582009405,-24.942248479834234,-1.130500737522652));\n#179796=IFCCARTESIANPOINT((61.04676272377813,-34.156094659960615,-1.130500737522652));\n#179797=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179798);\n#179798=IFCPOLYLINE((#179799,#179800));\n#179799=IFCCARTESIANPOINT((61.04676272377813,-34.156094659960615,-1.130500737522652));\n#179800=IFCCARTESIANPOINT((61.065967433411174,-34.1742341200993,-1.130500737522652));\n#179801=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179802);\n#179802=IFCPOLYLINE((#179803,#179804));\n#179803=IFCCARTESIANPOINT((61.065967433411174,-34.1742341200993,-1.130500737522652));\n#179804=IFCCARTESIANPOINT((70.993468095669925,-43.606611838115384,-1.130500737522652));\n#179805=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179806);\n#179806=IFCPOLYLINE((#179807,#179808));\n#179807=IFCCARTESIANPOINT((70.993468095669925,-43.606611838115384,-1.130500737522652));\n#179808=IFCCARTESIANPOINT((71.010675248505521,-43.623047975456416,-1.130500737522652));\n#179809=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179810);\n#179810=IFCPOLYLINE((#179811,#179812));\n#179811=IFCCARTESIANPOINT((71.010675248505521,-43.623047975456416,-1.130500737522652));\n#179812=IFCCARTESIANPOINT((81.05747047376218,-53.270824160748248,-1.130500737522652));\n#179813=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179814);\n#179814=IFCPOLYLINE((#179815,#179816));\n#179815=IFCCARTESIANPOINT((81.05747047376218,-53.270824160748248,-1.130500737522652));\n#179816=IFCCARTESIANPOINT((91.219509854091996,-63.122754138686162,-1.130500737522652));\n#179817=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179818);\n#179818=IFCPOLYLINE((#179819,#179820));\n#179819=IFCCARTESIANPOINT((91.219509854091996,-63.122754138686162,-1.130500737522652));\n#179820=IFCCARTESIANPOINT((101.48519874416786,-73.16016374182982,-1.130500737522652));\n#179821=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179822);\n#179822=IFCPOLYLINE((#179823,#179824));\n#179823=IFCCARTESIANPOINT((101.48519874416786,-73.16016374182982,-1.130500737522652));\n#179824=IFCCARTESIANPOINT((111.851524249752742,-83.372619720558021,-1.130500737522652));\n#179825=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179826);\n#179826=IFCPOLYLINE((#179827,#179828));\n#179827=IFCCARTESIANPOINT((111.851524249752742,-83.372619720558021,-1.130500737522652));\n#179828=IFCCARTESIANPOINT((122.315473476609668,-93.749688825249507,-1.130500737522652));\n#179829=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179830);\n#179830=IFCPOLYLINE((#179831,#179832));\n#179831=IFCCARTESIANPOINT((122.315473476609668,-93.749688825249507,-1.130500737522652));\n#179832=IFCCARTESIANPOINT((128.316747247678848,-99.735439530259498,-1.130500737522652));\n#179833=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179834);\n#179834=IFCPOLYLINE((#179835,#179836));\n#179835=IFCCARTESIANPOINT((128.316747247678848,-99.735439530259498,-1.130500737522652));\n#179836=IFCCARTESIANPOINT((128.594148421591967,-100.038755463421182,-1.130500737522652));\n#179837=IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#179838);\n#179838=IFCPOLYLINE((#179839,#179840));\n#179839=IFCCARTESIANPOINT((128.594148421591967,-100.038755463421182,-1.130500737522652));\n#179840=IFCCARTESIANPOINT((130.727360373439979,-102.597708563614276,-1.130500737522652));\nENDSEC;\nEND-ISO-10303-21;\n```\n\n\u003c/details>\n\n\u003cdetails>\n\u003csummary>\u003cb>gdb stack sample 1\u003c/b> (inside ProjLib_CompProjectedCurve::Init)\u003c/summary>\n\n```\n#0 reduce_sincos (da=0x7fff52201990, a=0x7fff52201988, x=6.2831853071795862) at ../sysdeps/ieee754/dbl-64/s_sin.c:157\n#1 __sincos_fma (x=6.2831853071795862, sinx=0x7fff522019e8, cosx=0x7fff522019e0) at ../sysdeps/ieee754/dbl-64/s_sincos.c:81\n#2 0x0000737d7b0df701 in ElCLib::CircleD2(double, gp_Ax2 const&, double, gp_Pnt&, gp_Vec&, gp_Vec&) () from /lib/x86_64-linux-gnu/libTKMath.so.7\n#3 0x0000737d7af8fb06 in GeomAdaptor_Curve::D2(double, gp_Pnt&, gp_Vec&, gp_Vec&) const () from /lib/x86_64-linux-gnu/libTKG3d.so.7\n#4 0x0000737d7afb7c5b in GeomEvaluator_SurfaceOfExtrusion::D2(double, double, gp_Pnt&, gp_Vec&, gp_Vec&, gp_Vec&, gp_Vec&, gp_Vec&) const () from /lib/x86_64-linux-gnu/libTKG3d.so.7\n#5 0x0000737d7af9a901 in GeomAdaptor_Surface::D2(double, double, gp_Pnt&, gp_Vec&, gp_Vec&, gp_Vec&, gp_Vec&, gp_Vec&) const () from /lib/x86_64-linux-gnu/libTKG3d.so.7\n#6 0x0000737d7a98ab9f in BRepAdaptor_Surface::D2(double, double, gp_Pnt&, gp_Vec&, gp_Vec&, gp_Vec&, gp_Vec&, gp_Vec&) const () from /lib/x86_64-linux-gnu/libTKBRep.so.7\n#7 0x0000737d7ab1ef5e in ProjLib_PrjFunc::Values(math_Vector const&, math_Vector&, math_Matrix&) () from /lib/x86_64-linux-gnu/libTKGeomBase.so.7\n#8 0x0000737d7b0d586f in math_NewtonFunctionSetRoot::Perform(math_FunctionSetWithDerivatives&, math_Vector const&, math_Vector const&, math_Vector const&) () from /lib/x86_64-linux-gnu/libTKMath.so.7\n#9 0x0000737d7ab21139 in ProjLib_PrjResolve::Perform(double, double, double, gp_Pnt2d const&, gp_Pnt2d const&, gp_Pnt2d const&, double, bool) () from /lib/x86_64-linux-gnu/libTKGeomBase.so.7\n#10 0x0000737d7ab02305 in ?? () from /lib/x86_64-linux-gnu/libTKGeomBase.so.7\n#11 0x0000737d7ab02bed in ProjLib_CompProjectedCurve::Init() () from /lib/x86_64-linux-gnu/libTKGeomBase.so.7\n#12 0x0000737d7ab0579b in ProjLib_CompProjectedCurve::ProjLib_CompProjectedCurve(opencascade::handle\u003cAdaptor3d_Surface> const&, opencascade::handle\u003cAdaptor3d_Curve> const&, double, double, double) () from /lib/x86_64-linux-gnu/libTKGeomBase.so.7\n#13 0x0000737d7ab23b6c in ProjLib_ProjectedCurve::Perform(opencascade::handle\u003cAdaptor3d_Curve> const&) () from /lib/x86_64-linux-gnu/libTKGeomBase.so.7\n#14 0x0000737d79f991d5 in BOPTools_AlgoTools2D::MakePCurveOnFace(TopoDS_Face const&, opencascade::handle\u003cGeom_Curve> const&, double, double, opencascade::handle\u003cGeom2d_Curve>&, double&, opencascade::handle\u003cIntTools_Context> const&) () from /lib/x86_64-linux-gnu/libTKBO.so.7\n#15 0x0000737d79f996b8 in BOPTools_AlgoTools2D::Make2D(TopoDS_Edge const&, TopoDS_Face const&, opencascade::handle\u003cGeom2d_Curve>&, double&, double&, double&, opencascade::handle\u003cIntTools_Context> const&) () from /lib/x86_64-linux-gnu/libTKBO.so.7\n#16 0x0000737d79f99830 in BOPTools_AlgoTools2D::CurveOnSurface(TopoDS_Edge const&, TopoDS_Face const&, opencascade::handle\u003cGeom2d_Curve>&, double&, double&, double&, opencascade::handle\u003cIntTools_Context> const&) () from /lib/x86_64-linux-gnu/libTKBO.so.7\n#17 0x0000737d79f9996d in BOPTools_AlgoTools2D::CurveOnSurface(TopoDS_Edge const&, TopoDS_Face const&, opencascade::handle\u003cGeom2d_Curve>&, double&, opencascade::handle\u003cIntTools_Context> const&) () from /lib/x86_64-linux-gnu/libTKBO.so.7\n#18 0x0000737d79f99a25 in BOPTools_AlgoTools2D::BuildPCurveForEdgeOnFace(TopoDS_Edge const&, TopoDS_Face const&, opencascade::handle\u003cIntTools_Context> const&) () from /lib/x86_64-linux-gnu/libTKBO.so.7\n#19 0x0000737d79f6582a in ?? () from /lib/x86_64-linux-gnu/libTKBO.so.7\n#20 0x0000737d79f67ebb in BOPAlgo_PaveFiller::MakePCurves(Message_ProgressRange const&) () from /lib/x86_64-linux-gnu/libTKBO.so.7\n#21 0x0000737d79f3edd5 in BOPAlgo_PaveFiller::PerformInternal(Message_ProgressRange const&) () from /lib/x86_64-linux-gnu/libTKBO.so.7\n#22 0x0000737d79f386a3 in BOPAlgo_PaveFiller::Perform(Message_ProgressRange const&) () from /lib/x86_64-linux-gnu/libTKBO.so.7\n#23 0x0000737d79a67078 in BRepFill_TrimShellCorner::Perform() () from /lib/x86_64-linux-gnu/libTKBool.so.7\n#24 0x0000737d79a5a8b9 in BRepFill_Sweep::PerformCorner(int, BRepFill_TransitionStyle, opencascade::handle\u003cTopTools_HArray2OfShape> const&) () from /lib/x86_64-linux-gnu/libTKBool.so.7\n#25 0x0000737d79a5e44c in BRepFill_Sweep::Build(NCollection_Map\u003cTopoDS_Shape, TopTools_ShapeMapHasher>&, NCollection_DataMap\u003cTopoDS_Shape, opencascade::handle\u003cTopTools_HArray2OfShape>, TopTools_ShapeMapHasher>&, NCollection_DataMap\u003cTopoDS_Shape, opencascade::handle\u003cTopTools_HArray2OfShape>, TopTools_ShapeMapHasher>&, BRepFill_TransitionStyle, GeomAbs_Shape, GeomFill_ApproxStyle, int, int) () from /lib/x86_64-linux-gnu/libTKBool.so.7\n#26 0x0000737d79a48671 in BRepFill_PipeShell::Build() () from /lib/x86_64-linux-gnu/libTKBool.so.7\n#27 0x0000737d79717c79 in BRepOffsetAPI_MakePipeShell::Build(Message_ProgressRange const&) () from /lib/x86_64-linux-gnu/libTKOffset.so.7\n#28 0x000064d9e800eb63 in IfcGeom::OpenCascadeKernel::convert(std::shared_ptr\u003cifcopenshell::geometry::taxonomy::sweep_along_curve>, TopoDS_Shape&) ()\n#29 0x000064d9e80102c7 in IfcGeom::OpenCascadeKernel::convert_impl(std::shared_ptr\u003cifcopenshell::geometry::taxonomy::sweep_along_curve>, std::vector\u003cIfcGeom::ConversionResult, std::allocator\u003cIfcGeom::ConversionResult> >&) ()\n#30 0x000064d9e7312370 in (anonymous namespace)::dispatch_conversion\u003c12ul>::dispatch(ifcopenshell::geometry::kernels::AbstractKernel*, ifcopenshell::geometry::taxonomy::kinds, std::shared_ptr\u003cifcopenshell::geometry::taxonomy::item> const&, std::vector\u003cIfcGeom::ConversionResult, std::allocator\u003cIfcGeom::ConversionResult> >&) ()\n#31 0x000064d9e7312860 in ifcopenshell::geometry::kernels::AbstractKernel::convert(std::shared_ptr\u003cifcopenshell::geometry::taxonomy::item>, std::vector\u003cIfcGeom::ConversionResult, std::allocator\u003cIfcGeom::ConversionResult> >&)::{lambda()#1}::operator()() const ()\n#32 0x000064d9e73138ec in ifcopenshell::geometry::kernels::AbstractKernel::convert(std::shared_ptr\u003cifcopenshell::geometry::taxonomy::item>, std::vector\u003cIfcGeom::ConversionResult, std::allocator\u003cIfcGeom::ConversionResult> >&) ()\n#33 0x000064d9e731064f in ifcopenshell::geometry::kernels::AbstractKernel::convert_impl(std::shared_ptr\u003cifcopenshell::geometry::taxonomy::collection>, std::vector\u003cIfcGeom::ConversionResult, std::allocator\u003cIfcGeom::ConversionResult> >&) ()\n#34 0x000064d9e73124ac in (anonymous namespace)::dispatch_conversion\u003c12ul>::dispatch(ifcopenshell::geometry::kernels::AbstractKernel*, ifcopenshell::geometry::taxonomy::kinds, std::shared_ptr\u003cifcopenshell::geometry::taxonomy::item> const&, std::vector\u003cIfcGeom::ConversionResult, std::allocator\u003cIfcGeom::ConversionResult> >&) ()\n#35 0x000064d9e7312860 in ifcopenshell::geometry::kernels::AbstractKernel::convert(std::shared_ptr\u003cifcopenshell::geometry::taxonomy::item>, std::vector\u003cIfcGeom::ConversionResult, std::allocator\u003cIfcGeom::ConversionResult> >&)::{lambda()#1}::operator()() const ()\n#36 0x000064d9e73138ec in ifcopenshell::geometry::kernels::AbstractKernel::convert(std::shared_ptr\u003cifcopenshell::geometry::taxonomy::item>, std::vector\u003cIfcGeom::ConversionResult, std::allocator\u003cIfcGeom::ConversionResult> >&) ()\n#37 0x000064d9e72e890c in ifcopenshell::geometry::kernels::HybridKernel::convert(std::shared_ptr\u003cifcopenshell::geometry::taxonomy::item>, std::vector\u003cIfcGeom::ConversionResult, std::allocator\u003cIfcGeom::ConversionResult> >&) ()\n#38 0x000064d9e7321e2f in ifcopenshell::geometry::Converter::create_brep_for_representation_and_product(std::shared_ptr\u003cifcopenshell::geometry::taxonomy::item>, IfcUtil::IfcBaseEntity const*, std::shared_ptr\u003cifcopenshell::geometry::taxonomy::matrix4> const&) ()\n#39 0x000064d9e7334293 in IfcGeom::Iterator::create_element_(ifcopenshell::geometry::Converter*, ifcopenshell::geometry::Settings, IfcGeom::geometry_conversion_result*) ()\n```\n\n\u003c/details>\n\n\u003cdetails>\n\u003csummary>\u003cb>gdb stack sample 2\u003c/b> (seconds later, same loop)\u003c/summary>\n\n```\n#0 0x0000737d7b0d23ba in LU_Decompose(math_Matrix&, math_IntegerVector&, double&, math_Vector&, double, Message_ProgressRange const&) () from /lib/x86_64-linux-gnu/libTKMath.so.7\n#1 0x0000737d7b0d56d8 in math_NewtonFunctionSetRoot::Perform(math_FunctionSetWithDerivatives&, math_Vector const&, math_Vector const&, math_Vector const&) () from /lib/x86_64-linux-gnu/libTKMath.so.7\n#2 0x0000737d7ab21139 in ProjLib_PrjResolve::Perform(double, double, double, gp_Pnt2d const&, gp_Pnt2d const&, gp_Pnt2d const&, double, bool) () from /lib/x86_64-linux-gnu/libTKGeomBase.so.7\n#3 0x0000737d7ab02305 in ?? () from /lib/x86_64-linux-gnu/libTKGeomBase.so.7\n#4 0x0000737d7ab02bed in ProjLib_CompProjectedCurve::Init() () from /lib/x86_64-linux-gnu/libTKGeomBase.so.7\n#5 0x0000737d7ab0579b in ProjLib_CompProjectedCurve::ProjLib_CompProjectedCurve(opencascade::handle\u003cAdaptor3d_Surface> const&, opencascade::handle\u003cAdaptor3d_Curve> const&, double, double, double) () from /lib/x86_64-linux-gnu/libTKGeomBase.so.7\n#6 0x0000737d7ab23b6c in ProjLib_ProjectedCurve::Perform(opencascade::handle\u003cAdaptor3d_Curve> const&) () from /lib/x86_64-linux-gnu/libTKGeomBase.so.7\n#7 0x0000737d79f991d5 in BOPTools_AlgoTools2D::MakePCurveOnFace(TopoDS_Face const&, opencascade::handle\u003cGeom_Curve> const&, double, double, opencascade::handle\u003cGeom2d_Curve>&, double&, opencascade::handle\u003cIntTools_Context> const&) () from /lib/x86_64-linux-gnu/libTKBO.so.7\n#8 0x0000737d79f996b8 in BOPTools_AlgoTools2D::Make2D(TopoDS_Edge const&, TopoDS_Face const&, opencascade::handle\u003cGeom2d_Curve>&, double&, double&, double&, opencascade::handle\u003cIntTools_Context> const&) () from /lib/x86_64-linux-gnu/libTKBO.so.7\n#9 0x0000737d79f99830 in BOPTools_AlgoTools2D::CurveOnSurface(TopoDS_Edge const&, TopoDS_Face const&, opencascade::handle\u003cGeom2d_Curve>&, double&, double&, double&, opencascade::handle\u003cIntTools_Context> const&) () from /lib/x86_64-linux-gnu/libTKBO.so.7\n#10 0x0000737d79f9996d in BOPTools_AlgoTools2D::CurveOnSurface(TopoDS_Edge const&, TopoDS_Face const&, opencascade::handle\u003cGeom2d_Curve>&, double&, opencascade::handle\u003cIntTools_Context> const&) () from /lib/x86_64-linux-gnu/libTKBO.so.7\n#11 0x0000737d79f99a25 in BOPTools_AlgoTools2D::BuildPCurveForEdgeOnFace(TopoDS_Edge const&, TopoDS_Face const&, opencascade::handle\u003cIntTools_Context> const&) () from /lib/x86_64-linux-gnu/libTKBO.so.7\n#12 0x0000737d79f6582a in ?? () from /lib/x86_64-linux-gnu/libTKBO.so.7\n#13 0x0000737d79f67ebb in BOPAlgo_PaveFiller::MakePCurves(Message_ProgressRange const&) () from /lib/x86_64-linux-gnu/libTKBO.so.7\n#14 0x0000737d79f3edd5 in BOPAlgo_PaveFiller::PerformInternal(Message_ProgressRange const&) () from /lib/x86_64-linux-gnu/libTKBO.so.7\n#15 0x0000737d79f386a3 in BOPAlgo_PaveFiller::Perform(Message_ProgressRange const&) () from /lib/x86_64-linux-gnu/libTKBO.so.7\n#16 0x0000737d79a67078 in BRepFill_TrimShellCorner::Perform() () from /lib/x86_64-linux-gnu/libTKBool.so.7\n#17 0x0000737d79a5a8b9 in BRepFill_Sweep::PerformCorner(int, BRepFill_TransitionStyle, opencascade::handle\u003cTopTools_HArray2OfShape> const&) () from /lib/x86_64-linux-gnu/libTKBool.so.7\n#18 0x0000737d79a5e44c in BRepFill_Sweep::Build(NCollection_Map\u003cTopoDS_Shape, TopTools_ShapeMapHasher>&, NCollection_DataMap\u003cTopoDS_Shape, opencascade::handle\u003cTopTools_HArray2OfShape>, TopTools_ShapeMapHasher>&, NCollection_DataMap\u003cTopoDS_Shape, opencascade::handle\u003cTopTools_HArray2OfShape>, TopTools_ShapeMapHasher>&, BRepFill_TransitionStyle, GeomAbs_Shape, GeomFill_ApproxStyle, int, int) () from /lib/x86_64-linux-gnu/libTKBool.so.7\n#19 0x0000737d79a48671 in BRepFill_PipeShell::Build() () from /lib/x86_64-linux-gnu/libTKBool.so.7\n#20 0x0000737d79717c79 in BRepOffsetAPI_MakePipeShell::Build(Message_ProgressRange const&) () from /lib/x86_64-linux-gnu/libTKOffset.so.7\n#21 0x000064d9e800eb63 in IfcGeom::OpenCascadeKernel::convert(std::shared_ptr\u003cifcopenshell::geometry::taxonomy::sweep_along_curve>, TopoDS_Shape&) ()\n#22 0x000064d9e80102c7 in IfcGeom::OpenCascadeKernel::convert_impl(std::shared_ptr\u003cifcopenshell::geometry::taxonomy::sweep_along_curve>, std::vector\u003cIfcGeom::ConversionResult, std::allocator\u003cIfcGeom::ConversionResult> >&) ()\n#23 0x000064d9e7312370 in (anonymous namespace)::dispatch_conversion\u003c12ul>::dispatch(ifcopenshell::geometry::kernels::AbstractKernel*, ifcopenshell::geometry::taxonomy::kinds, std::shared_ptr\u003cifcopenshell::geometry::taxonomy::item> const&, std::vector\u003cIfcGeom::ConversionResult, std::allocator\u003cIfcGeom::ConversionResult> >&) ()\n#24 0x000064d9e7312860 in ifcopenshell::geometry::kernels::AbstractKernel::convert(std::shared_ptr\u003cifcopenshell::geometry::taxonomy::item>, std::vector\u003cIfcGeom::ConversionResult, std::allocator\u003cIfcGeom::ConversionResult> >&)::{lambda()#1}::operator()() const ()\n#25 0x000064d9e73138ec in ifcopenshell::geometry::kernels::AbstractKernel::convert(std::shared_ptr\u003cifcopenshell::geometry::taxonomy::item>, std::vector\u003cIfcGeom::ConversionResult, std::allocator\u003cIfcGeom::ConversionResult> >&) ()\n#26 0x000064d9e731064f in ifcopenshell::geometry::kernels::AbstractKernel::convert_impl(std::shared_ptr\u003cifcopenshell::geometry::taxonomy::collection>, std::vector\u003cIfcGeom::ConversionResult, std::allocator\u003cIfcGeom::ConversionResult> >&) ()\n#27 0x000064d9e73124ac in (anonymous namespace)::dispatch_conversion\u003c12ul>::dispatch(ifcopenshell::geometry::kernels::AbstractKernel*, ifcopenshell::geometry::taxonomy::kinds, std::shared_ptr\u003cifcopenshell::geometry::taxonomy::item> const&, std::vector\u003cIfcGeom::ConversionResult, std::allocator\u003cIfcGeom::ConversionResult> >&) ()\n#28 0x000064d9e7312860 in ifcopenshell::geometry::kernels::AbstractKernel::convert(std::shared_ptr\u003cifcopenshell::geometry::taxonomy::item>, std::vector\u003cIfcGeom::ConversionResult, std::allocator\u003cIfcGeom::ConversionResult> >&)::{lambda()#1}::operator()() const ()\n#29 0x000064d9e73138ec in ifcopenshell::geometry::kernels::AbstractKernel::convert(std::shared_ptr\u003cifcopenshell::geometry::taxonomy::item>, std::vector\u003cIfcGeom::ConversionResult, std::allocator\u003cIfcGeom::ConversionResult> >&) ()\n#30 0x000064d9e72e890c in ifcopenshell::geometry::kernels::HybridKernel::convert(std::shared_ptr\u003cifcopenshell::geometry::taxonomy::item>, std::vector\u003cIfcGeom::ConversionResult, std::allocator\u003cIfcGeom::ConversionResult> >&) ()\n#31 0x000064d9e7321e2f in ifcopenshell::geometry::Converter::create_brep_for_representation_and_product(std::shared_ptr\u003cifcopenshell::geometry::taxonomy::item>, IfcUtil::IfcBaseEntity const*, std::shared_ptr\u003cifcopenshell::geometry::taxonomy::matrix4> const&) ()\n#32 0x000064d9e7334293 in IfcGeom::Iterator::create_element_(ifcopenshell::geometry::Converter*, ifcopenshell::geometry::Settings, IfcGeom::geometry_conversion_result*) ()\n#33 0x000064d9e7334ad3 in IfcGeom::Iterator::create_shape_model_for_next_entity() ()\n#34 0x000064d9e73352e2 in IfcGeom::Iterator::create() ()\n#35 0x000064d9e73353b0 in IfcGeom::Iterator::next() ()\n#36 0x000064d9e725efc1 in main ()\n```\n\n\u003c/details>\n","author":{"url":"https://github.com/tiagoazvdo","@type":"Person","name":"tiagoazvdo"},"datePublished":"2026-07-08T17:10:25Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/8400"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:523e1e18-157f-f9b7-5be2-0ea74dc8cb10 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C6DE:1858FE:70F116:973204:6B04AA78 |
| html-safe-nonce | 995afcba6077e9356efdee6061300b01f704259a399ecc2b6e4871cc10ef6704 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNkRFOjE4NThGRTo3MEYxMTY6OTczMjA0OjZCMDRBQTc4IiwidmlzaXRvcl9pZCI6IjU3MDYxNDc4MzU5MDU2MTY1MDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6da11c93b5e4735fd5dfcd46b5900aa1120d5625a2515cb6c97403a514b43009 |
| hovercard-subject-tag | issue:4839619702 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/8400/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c893aa6a774a63316e19232b33edc2675260b51c7a0a71d6e210e93756687198/IfcOpenShell/IfcOpenShell/issues/8400 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c893aa6a774a63316e19232b33edc2675260b51c7a0a71d6e210e93756687198/IfcOpenShell/IfcOpenShell/issues/8400 |
| og:image:alt | Converting an IFC exported by Revit MEP (flexible electrical conduit) makes IfcConvert hang forever with one core at 100%. This is not a slow conversion, it is a true infinite loop; we observed a p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tiagoazvdo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 188497a0f45a7aa8f7c866faa1950d1a7f8d82b59416adf549b222ad1d1dd19b |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 557cfbac6cdb532730c95c90f2cefdc0c4128029 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width