Title: IfcClash 0.8.4 – iterator.get() causes silent process termination (no exception, Python exits) · Issue #7467 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: IfcClash 0.8.4 – iterator.get() causes silent process termination (no exception, Python exits) · Issue #7467 · IfcOpenShell/IfcOpenShell
X Title: IfcClash 0.8.4 – iterator.get() causes silent process termination (no exception, Python exits) · Issue #7467 · IfcOpenShell/IfcOpenShell
Description: Bug Description Hello, I am experiencing repeated crashes when using ifcclash 0.8.4 on multiple IFC models. The problem always occurs during geometry extraction inside add_collision_objects on this line: shape = iterator.get() self.tree....
Open Graph Description: Bug Description Hello, I am experiencing repeated crashes when using ifcclash 0.8.4 on multiple IFC models. The problem always occurs during geometry extraction inside add_collision_objects on this...
X Description: Bug Description Hello, I am experiencing repeated crashes when using ifcclash 0.8.4 on multiple IFC models. The problem always occurs during geometry extraction inside add_collision_objects on this...
Mail addresses
models@ifcopenshell.org
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/7467
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IfcClash 0.8.4 – iterator.get() causes silent process termination (no exception, Python exits)","articleBody":"### Bug Description\n\nHello,\nI am experiencing repeated crashes when using ifcclash 0.8.4 on multiple IFC models.\nThe problem always occurs during geometry extraction inside add_collision_objects on this line:\n\n```\nshape = iterator.get()\nself.tree.add_element(shape)\n```\n\nThere is no Python exception, no traceback — the whole Python process terminates with:\n\n`py exited with code -1073741819 (0xC0000005)`\n\nThis indicates a segmentation fault somewhere inside the C++ geometry layer.\n\nHow I am calling ifcclash\n```\nnew_clash_sets: list[ifcclash.ClashSet] = [{\n \"name\": f\"kolize mezi: {format(1)} a {format(2)}\",\n \"mode\": \"collision\",\n \"check_all\": True,\n \"allow_touching\": True,\n \"tolerance\": 0,\n \"clearance\": 0,\n \"a\": [{\n \"file\": \"C:\\\\data\\\\uloziste\\\\tst\\\\1.ifc\",\n \"mode\": \"i\"\n }],\n \"b\": [{\n \"file\": \"C:\\\\data\\\\uloziste\\\\tst\\\\2.ifc\",\n \"mode\": \"i\"\n }]\n}]\n\nsettings = ifcclash.ClashSettings()\nsettings.output = \"C:\\\\data\\\\uloziste\\\\tst\\\\output.json\"\nsettings.logger = logging.getLogger(\"Clash\")\nsettings.logger.setLevel(logging.DEBUG)\n\nifc_clasher = ifcclash.Clasher(settings)\nifc_clasher.clash_sets = new_clash_sets\n\nifc_clasher.clash()\nifc_clasher.export()\n```\n\nObserved behavior across multiple models\n\nThe crash happens on multiple IFC files, always on specific elements:\n\nModel A: ~360 elements, ~101 MB → crash around element index ~10\nModel B: ~28 000 elements ~221 MB → crash consistently around index ~15 000\nModel C: ~11 000 elements ~252 MB → crash around index ~8 000\n\nIn all cases:\n\nIteration progresses normally until a specific element is reached.\nThen iterator.get() causes an immediate process termination.\nWrapping iterator.get() in try/except does nothing — Python never throws, it just dies.\n\nAdditional notes\n\nRunning locally (Windows, Python 3.11) with ~10 GB free RAM → not memory exhaustion.\nHappens consistently on the same element index for each model.\nThe problematic IFC files are valid and open in other tools (BIMvision, Autodesk Forge).\nThis happens both in Azure Functions and when running the script locally (Windows, Python 3.11).\n\nNext steps\n\nI can provide download links to all three problematic IFC models (privately by email).\nLet me know where I should send them.\n\nThis issue appears only with these three specific models — other IFC files, even much larger ones (e.g., 550 MB), process without any problems.\n\nThank you very much for your work on this library — it’s incredibly useful for us, and we’d love to help improve it by providing any files or details you need.\nLooking forward to working together on resolving this issue!\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\n\n```","author":{"url":"https://github.com/Kubica91","@type":"Person","name":"Kubica91"},"datePublished":"2025-12-09T15:51:47Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/7467"}
| 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:6e09462a-a75a-170d-b151-55b667afd8e4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CBB6:2D58D9:1346FE:1ACA88:6B04B27C |
| html-safe-nonce | 6a5b4cce9b176521b5de9c3778a82bd6246d270f441606ed1333a549424a435a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkI2OjJENThEOToxMzQ2RkU6MUFDQTg4OjZCMDRCMjdDIiwidmlzaXRvcl9pZCI6IjgwNTI2NTkxMzg4MjU4NTk3MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ebd8ed25703688b74621c931659958a89ed0eb442d7e517cbe955bb981864b2b |
| hovercard-subject-tag | issue:3711554161 |
| 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/7467/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c0dfbd5d50268b1ee41e0ca0f5df98943d2940dae12534850388c691e0e429dd/IfcOpenShell/IfcOpenShell/issues/7467 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c0dfbd5d50268b1ee41e0ca0f5df98943d2940dae12534850388c691e0e429dd/IfcOpenShell/IfcOpenShell/issues/7467 |
| og:image:alt | Bug Description Hello, I am experiencing repeated crashes when using ifcclash 0.8.4 on multiple IFC models. The problem always occurs during geometry extraction inside add_collision_objects on this... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Kubica91 |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| 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 | ffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b |
| 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