Title: IfcConvert segmentation faults for certain IFC files with invalid IfcBooleanClippingResult-operations when compiled with OpenCascade 6.9.x · Issue #110 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: IfcConvert segmentation faults for certain IFC files with invalid IfcBooleanClippingResult-operations when compiled with OpenCascade 6.9.x · Issue #110 · IfcOpenShell/IfcOpenShell
X Title: IfcConvert segmentation faults for certain IFC files with invalid IfcBooleanClippingResult-operations when compiled with OpenCascade 6.9.x · Issue #110 · IfcOpenShell/IfcOpenShell
Description: Environment: IfcOpenShell revision 414d7bb (also present in HEAD@master) OpenCascade 6.9.0 or 6.9.1 (Release build) OSX 10.11.6 El Captain Steps to reproduce: Run IfcConvert -v --sew-shells --use-element-guids [input.ifc] [output.obj] on...
Open Graph Description: Environment: IfcOpenShell revision 414d7bb (also present in HEAD@master) OpenCascade 6.9.0 or 6.9.1 (Release build) OSX 10.11.6 El Captain Steps to reproduce: Run IfcConvert -v --sew-shells --use-e...
X Description: Environment: IfcOpenShell revision 414d7bb (also present in HEAD@master) OpenCascade 6.9.0 or 6.9.1 (Release build) OSX 10.11.6 El Captain Steps to reproduce: Run IfcConvert -v --sew-shells --use-e...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/110
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IfcConvert segmentation faults for certain IFC files with invalid IfcBooleanClippingResult-operations when compiled with OpenCascade 6.9.x","articleBody":"Environment:\n- IfcOpenShell revision 414d7bb (also present in HEAD@master)\n- OpenCascade 6.9.0 or 6.9.1 (Release build)\n- OSX 10.11.6 El Captain\n\nSteps to reproduce:\n- Run `IfcConvert -v --sew-shells --use-element-guids [input.ifc] [output.obj]` on [Q-railing.ifc.gz](https://github.com/IfcOpenShell/IfcOpenShell/files/393807/Q-railing.ifc.gz)\n\nConversion crashes without error or warnings. \n\nStacktrace:\n\n```\nProgram received signal SIGSEGV, Segmentation fault.\n0x000000010139ff7b in BRep_Tool::Curve(TopoDS_Edge const&, TopLoc_Location&, double&, double&) ()\n from /usr/local/lib/libTKBRep.dylib\n(gdb) bt\n#0 0x000000010139ff7b in BRep_Tool::Curve(TopoDS_Edge const&, TopLoc_Location&, double&, double&) ()\n from /usr/local/lib/libTKBRep.dylib\n#1 0x0000000101ef37d2 in ShapeAnalysis_Edge::Curve3d(TopoDS_Edge const&, Handle_Geom_Curve&, double&, double&, unsigned int) const () from /usr/local/lib/libTKShHealing.dylib\n#2 0x0000000101f5bd36 in ShapeFix_Face::FixOrientation(TopTools_DataMapOfShapeListOfShape&) ()\n from /usr/local/lib/libTKShHealing.dylib\n#3 0x0000000101f50e00 in ShapeFix_Face::Perform() () from /usr/local/lib/libTKShHealing.dylib\n#4 0x0000000101f94590 in ShapeFix_Shell::Perform(Handle_Message_ProgressIndicator const&) ()\n from /usr/local/lib/libTKShHealing.dylib\n#5 0x0000000101f9e419 in ShapeFix_Solid::Perform(Handle_Message_ProgressIndicator const&) ()\n from /usr/local/lib/libTKShHealing.dylib\n#6 0x0000000101f911fb in ShapeFix_Shape::Perform(Handle_Message_ProgressIndicator const&) ()\n from /usr/local/lib/libTKShHealing.dylib\n#7 0x0000000101f90ec8 in ShapeFix_Shape::Perform(Handle_Message_ProgressIndicator const&) ()\n from /usr/local/lib/libTKShHealing.dylib\n#8 0x00000001005ec35b in IfcGeom::Kernel::convert (this=0x7fff5fbfd2b8, l=0x103d0f650, shape=...)\n at /Users/lars/Code/cpp/ifcopenshell/src/ifcgeom/IfcGeomShapes.cpp:399\n#9 0x00000001005fc0f5 in IfcGeom::Kernel::convert_shape (this=0x7fff5fbfd2b8, l=0x103d0f650, r=...)\n at /Users/lars/Code/cpp/ifcopenshell/src/ifcgeom/IfcRegister.h:62\n#10 0x00000001005ee67a in IfcGeom::Kernel::convert (this=0x7fff5fbfd2b8, l=0x103d0f550, shapes=...)\n at /Users/lars/Code/cpp/ifcopenshell/src/ifcgeom/IfcGeomShapes.cpp:585\n#11 0x00000001005f9a19 in IfcGeom::Kernel::convert_shapes (this=0x7fff5fbfd2b8, l=0x103d0f550, r=...)\n at /Users/lars/Code/cpp/ifcopenshell/src/ifcgeom/IfcRegister.h:46\n```\n\nor\n\n```\nProgram received signal SIGSEGV, Segmentation fault.\n0x00000001012ce697 in TopLoc_Location::Multiplied(TopLoc_Location const&) const ()\n from /usr/local/lib/libTKMath.dylib\n(gdb) bt\n#0 0x00000001012ce697 in TopLoc_Location::Multiplied(TopLoc_Location const&) const ()\n from /usr/local/lib/libTKMath.dylib\n#1 0x00000001012ce6b9 in TopLoc_Location::Multiplied(TopLoc_Location const&) const ()\n from /usr/local/lib/libTKMath.dylib\n#2 0x0000000101452d99 in BRep_Tool::Surface(TopoDS_Face const&) () from /usr/local/lib/libTKBRep.dylib\n#3 0x0000000102006482 in ShapeFix_Face::FixPeriodicDegenerated() ()\n from /usr/local/lib/libTKShHealing.dylib\n#4 0x000000010200268c in ShapeFix_Face::Perform() () from /usr/local/lib/libTKShHealing.dylib\n#5 0x0000000102047590 in ShapeFix_Shell::Perform(Handle_Message_ProgressIndicator const&) ()\n from /usr/local/lib/libTKShHealing.dylib\n#6 0x0000000102051419 in ShapeFix_Solid::Perform(Handle_Message_ProgressIndicator const&) ()\n from /usr/local/lib/libTKShHealing.dylib\n#7 0x00000001020441fb in ShapeFix_Shape::Perform(Handle_Message_ProgressIndicator const&) ()\n from /usr/local/lib/libTKShHealing.dylib\n#8 0x0000000102043ec8 in ShapeFix_Shape::Perform(Handle_Message_ProgressIndicator const&) ()\n from /usr/local/lib/libTKShHealing.dylib\n#9 0x000000010063573c in IfcGeom::Kernel::convert (this=0x7fff5fbfd2d8, l=0x103e1b7c0, shape=...)\n at /Users/lars/Code/cpp/ifcopenshell/src/ifcgeom/IfcGeomShapes.cpp:557\n#10 0x000000010064865a in IfcGeom::Kernel::convert_shape (this=0x7fff5fbfd2d8, l=0x103e1b7c0, r=...)\n at /Users/lars/Code/cpp/ifcopenshell/src/ifcgeom/IfcRegister.h:67\n#11 0x0000000100637baa in IfcGeom::Kernel::convert (this=0x7fff5fbfd2d8, l=0x103e1b6c0, shapes=...)\n at /Users/lars/Code/cpp/ifcopenshell/src/ifcgeom/IfcGeomShapes.cpp:749\n#12 0x00000001006439c0 in IfcGeom::Kernel::convert_shapes (this=0x7fff5fbfd2d8, l=0x103e1b6c0, r=...)\n at /Users/lars/Code/cpp/ifcopenshell/src/ifcgeom/IfcRegister.h:46\n```\n\nI'm not sure if this really is an OpenCascade issue, but [this OCCT issue seems relevant](https://tracker.dev.opencascade.org/view.php?id=24226) (however, this is not built using the community version).\n\nIf I compile OpenCascade 6.9.1 in debug mode I'm not able to reproduce the error - I only experienced this in release builds. I have not tried OCCT.\n","author":{"url":"https://github.com/larsmoa","@type":"Person","name":"larsmoa"},"datePublished":"2016-08-01T13:18:33Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/110"}
| 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:815857fb-21d1-9e69-3dbb-c54d9ee4f64d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C110:344084:6ECB45:9BADDF:6B047B0C |
| html-safe-nonce | c4accc32775a2fbec393712b0e91b1ad380394c18992d0c31a7068639a5a5af2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTEwOjM0NDA4NDo2RUNCNDU6OUJBRERGOjZCMDQ3QjBDIiwidmlzaXRvcl9pZCI6IjY4NTMxNDQ1NzkxNTY1MDc0MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9e88b598b9d455362d23ffffe59e337df1bd466640c5fb5779808a01614240cf |
| hovercard-subject-tag | issue:168643699 |
| 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/110/issue_layout |
| twitter:image | https://opengraph.githubassets.com/526b76a63d2fcfb571948b5fb8d3cf6962ecb7528e5cdcb84d9f317d7cad178d/IfcOpenShell/IfcOpenShell/issues/110 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/526b76a63d2fcfb571948b5fb8d3cf6962ecb7528e5cdcb84d9f317d7cad178d/IfcOpenShell/IfcOpenShell/issues/110 |
| og:image:alt | Environment: IfcOpenShell revision 414d7bb (also present in HEAD@master) OpenCascade 6.9.0 or 6.9.1 (Release build) OSX 10.11.6 El Captain Steps to reproduce: Run IfcConvert -v --sew-shells --use-e... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | larsmoa |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| 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 | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| 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