René's URL Explorer Experiment


Title: seg fault on ifcopenshell.geom.create_shape(settings, product) · Issue #744 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: seg fault on ifcopenshell.geom.create_shape(settings, product) · Issue #744 · IfcOpenShell/IfcOpenShell

X Title: seg fault on ifcopenshell.geom.create_shape(settings, product) · Issue #744 · IfcOpenShell/IfcOpenShell

Description: I got hands on a huge ifcfile (ca 100 MB) exported from Cadmatic. I have never had files from them before. A lot of products make ifcopenshell ends up in a segmentation fault on ifcopenshell.geom.create_shape(settings, product) As a resu...

Open Graph Description: I got hands on a huge ifcfile (ca 100 MB) exported from Cadmatic. I have never had files from them before. A lot of products make ifcopenshell ends up in a segmentation fault on ifcopenshell.geom.c...

X Description: I got hands on a huge ifcfile (ca 100 MB) exported from Cadmatic. I have never had files from them before. A lot of products make ifcopenshell ends up in a segmentation fault on ifcopenshell.geom.c...

Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/744

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"seg fault on ifcopenshell.geom.create_shape(settings, product) ","articleBody":"I got hands on a huge ifcfile (ca 100 MB) exported from Cadmatic. I have never had files from them before. A lot of products make ifcopenshell ends up in a segmentation fault on  ifcopenshell.geom.create_shape(settings, product) \r\n\r\nAs a result of https://github.com/IfcOpenShell/IfcOpenShell/issues/564 I was able to extract just one of the results in a separate IFC file. I will go for a PR on files repo (https://github.com/IfcOpenShell/files/pull/2) and post the file link here afterwards. \r\n\r\ncode to reproduce the crash:\r\n```\r\nimport ifcopenshell\r\nfrom ifcopenshell import geom\r\nsettings = ifcopenshell.geom.settings()\r\nsettings.set(settings.USE_BREP_DATA,True)\r\nsettings.set(settings.SEW_SHELLS,True)\r\nsettings.set(settings.USE_WORLD_COORDS,True)\r\n\r\nifcfile = 'C:/Users/BHA/Downloads/743--segfault-on-geometry.ifc'\r\nf = ifcopenshell.open(ifcfile)\r\n\r\np = f[1944]\r\nprint(p)\r\ncr = ifcopenshell.geom.create_shape(settings, p)\r\n\r\n```\r\n\r\n\r\nBTW: ifc++ gave the following warning\r\n`Warning: triangulateLoops, face_loops.size() == 0, IFC entity: #1941=IfcExtrudedAreaSolid`\r\n\r\n\r\nlink to topic on FreeCAD forum\r\nhttps://forum.freecadweb.org/viewtopic.php?f=39&t=41600&p=354486#p354483\r\n\r\ncheers bernd\r\n","author":{"url":"https://github.com/berndhahnebach","@type":"Person","name":"berndhahnebach"},"datePublished":"2019-12-17T10:52:33Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/744"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:54a9580d-18c2-f081-3c5f-3542a9c8d82c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id953E:2A579A:570B7B:7AB9A8:6B04771E
html-safe-noncec5877dfda68d879ec2dea1a978680927ff2ccc00a3bc5b5b4591d22c7875188a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTNFOjJBNTc5QTo1NzBCN0I6N0FCOUE4OjZCMDQ3NzFFIiwidmlzaXRvcl9pZCI6IjU1NDExODMwMTY4NTQxMjQzMTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4dc85919d9ca280d0b68cdacd8d63eee490ca55f2640cdb9af6fb928aa8e516b
hovercard-subject-tagissue:538988937
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/744/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9633b32a145cec29695b177763156821419ecc0f2801c9136ddc64ec9e47aeb5/IfcOpenShell/IfcOpenShell/issues/744
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9633b32a145cec29695b177763156821419ecc0f2801c9136ddc64ec9e47aeb5/IfcOpenShell/IfcOpenShell/issues/744
og:image:altI got hands on a huge ifcfile (ca 100 MB) exported from Cadmatic. I have never had files from them before. A lot of products make ifcopenshell ends up in a segmentation fault on ifcopenshell.geom.c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameberndhahnebach
hostnamegithub.com
expected-hostnamegithub.com
None9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b
turbo-cache-controlno-preview
go-importgithub.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git
octolytics-dimension-user_id13692563
octolytics-dimension-user_loginIfcOpenShell
octolytics-dimension-repository_id40473201
octolytics-dimension-repository_nwoIfcOpenShell/IfcOpenShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id40473201
octolytics-dimension-repository_network_root_nwoIfcOpenShell/IfcOpenShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecf73f57448d52b3a7b619195e182b33d3b3454ca
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/744#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F744
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F744
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=IfcOpenShell%2FIfcOpenShell
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/744
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/744
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/744
IfcOpenShellhttps://github.com/IfcOpenShell
IfcOpenShellhttps://github.com/IfcOpenShell/IfcOpenShell
Codehttps://github.com/IfcOpenShell/IfcOpenShell
Issues1.2k (1.2k)https://github.com/IfcOpenShell/IfcOpenShell/issues
Pull requests937 (937)https://github.com/IfcOpenShell/IfcOpenShell/pulls
Discussionshttps://github.com/IfcOpenShell/IfcOpenShell/discussions
Actionshttps://github.com/IfcOpenShell/IfcOpenShell/actions
Projectshttps://github.com/IfcOpenShell/IfcOpenShell/projects
Wikihttps://github.com/IfcOpenShell/IfcOpenShell/wiki
Security and qualityhttps://github.com/IfcOpenShell/IfcOpenShell/security
Insightshttps://github.com/IfcOpenShell/IfcOpenShell/insights
https://github.com/IfcOpenShell/IfcOpenShell
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/744
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/744
seg fault on ifcopenshell.geom.create_shape(settings, product) https://github.com/IfcOpenShell/IfcOpenShell/issues/744#top
IfcOpenShell-Corehttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Core%22
https://github.com/berndhahnebach
berndhahnebachhttps://github.com/berndhahnebach
on Dec 17, 2019https://github.com/IfcOpenShell/IfcOpenShell/issues/744#issue-538988937
#564https://github.com/IfcOpenShell/IfcOpenShell/issues/564
IfcOpenShell/files#2https://github.com/IfcOpenShell/files/pull/2
https://forum.freecadweb.org/viewtopic.php?f=39&t=41600&p=354486#p354483https://forum.freecadweb.org/viewtopic.php?f=39&t=41600&p=354486#p354483
https://github.com/berndhahnebach
berndhahnebachhttps://github.com/berndhahnebach
on Dec 17, 2019https://github.com/IfcOpenShell/IfcOpenShell/issues/744#issuecomment-566528108
@aothmshttps://github.com/aothms
https://github.com/sanderboer
sanderboerhttps://github.com/sanderboer
on Feb 5, 2020https://github.com/IfcOpenShell/IfcOpenShell/issues/744#issuecomment-582439491
https://github.com/sanderboer
sanderboerhttps://github.com/sanderboer
on Feb 5, 2020https://github.com/IfcOpenShell/IfcOpenShell/issues/744#issuecomment-582469550
https://github.com/aothms
aothmshttps://github.com/aothms
on Feb 10, 2020https://github.com/IfcOpenShell/IfcOpenShell/issues/744#issuecomment-584067298
@sanderboerhttps://github.com/sanderboer
https://github.com/IfcOpenShell/files/pull/2/files#diff-870e641303fb53605c46253c1e3ddfd8R1941https://github.com/IfcOpenShell/files/pull/2/files#diff-870e641303fb53605c46253c1e3ddfd8R1941
https://github.com/sanderboer
sanderboerhttps://github.com/sanderboer
on Feb 10, 2020https://github.com/IfcOpenShell/IfcOpenShell/issues/744#issuecomment-584087707
#792https://github.com/IfcOpenShell/IfcOpenShell/issues/792
#791https://github.com/IfcOpenShell/IfcOpenShell/issues/791
#1938https://github.com/IfcOpenShell/IfcOpenShell/pull/1938
https://github.com/sanderboer
sanderboerhttps://github.com/sanderboer
on Feb 10, 2020https://github.com/IfcOpenShell/IfcOpenShell/issues/744#issuecomment-584100927
#1938https://github.com/IfcOpenShell/IfcOpenShell/pull/1938
#1865https://github.com/IfcOpenShell/IfcOpenShell/pull/1865
https://github.com/sanderboer
sanderboerhttps://github.com/sanderboer
on Feb 10, 2020https://github.com/IfcOpenShell/IfcOpenShell/issues/744#issuecomment-584104704
https://github.com/aothms
aothmshttps://github.com/aothms
on Feb 10, 2020https://github.com/IfcOpenShell/IfcOpenShell/issues/744#issuecomment-584138908
https://github.com/IfcOpenBot/IfcOpenShell/blob/v0.6.0/src/ifcgeom/IfcGeomWires.cpp#L553https://github.com/IfcOpenBot/IfcOpenShell/blob/v0.6.0/src/ifcgeom/IfcGeomWires.cpp#L553
https://github.com/sanderboer
sanderboerhttps://github.com/sanderboer
on Feb 10, 2020https://github.com/IfcOpenShell/IfcOpenShell/issues/744#issuecomment-584187664
#1865https://github.com/IfcOpenShell/IfcOpenShell/pull/1865
https://github.com/sanderboer
sanderboerhttps://github.com/sanderboer
on Feb 10, 2020https://github.com/IfcOpenShell/IfcOpenShell/issues/744#issuecomment-584195343
#1862https://github.com/IfcOpenShell/IfcOpenShell/issues/1862
#1941https://github.com/IfcOpenShell/IfcOpenShell/issues/1941
sanderboerhttps://github.com/sanderboer
on Mar 1, 2020https://github.com/IfcOpenShell/IfcOpenShell/issues/744#event-3085386400
proposed fix for IfcOpenShell#744https://github.com/sanderboer/IfcOpenShell/commit/f2a29f02856e3f0137b81e5dc576f5eae6145744
IfcOpenShell#744https://github.com/IfcOpenShell/IfcOpenShell/issues/744
f2a29f0https://github.com/sanderboer/IfcOpenShell/commit/f2a29f02856e3f0137b81e5dc576f5eae6145744
proposed fix for IfcOpenShell#744https://github.com/sanderboer/IfcOpenShell/commit/a0730956740aa3a67464c2e7e85ac11169fe662d
IfcOpenShell#744https://github.com/IfcOpenShell/IfcOpenShell/issues/744
a073095https://github.com/sanderboer/IfcOpenShell/commit/a0730956740aa3a67464c2e7e85ac11169fe662d
https://github.com/sanderboer
sanderboerhttps://github.com/sanderboer
on Mar 1, 2020https://github.com/IfcOpenShell/IfcOpenShell/issues/744#issuecomment-593073586
https://user-images.githubusercontent.com/628480/75622756-27e05980-5ba4-11ea-8a62-b9bab65b11ce.png
https://user-images.githubusercontent.com/628480/75622806-a4733800-5ba4-11ea-82a7-c0e417bbbc60.png
sanderboerhttps://github.com/sanderboer
on Mar 1, 2020https://github.com/IfcOpenShell/IfcOpenShell/issues/744#event-3085400403
proposed fix for IfcOpenShell#744https://github.com/sanderboer/IfcOpenShell/commit/675079f2bf3978b36152833e293bbce7076a1d1b
IfcOpenShell#744https://github.com/IfcOpenShell/IfcOpenShell/issues/744
675079fhttps://github.com/sanderboer/IfcOpenShell/commit/675079f2bf3978b36152833e293bbce7076a1d1b
Moulthttps://github.com/Moult
IfcOpenShell-Corehttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Core%22
on Feb 14, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/744#event-8510977738
https://github.com/Moult
Moulthttps://github.com/Moult
on Mar 5, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/744#issuecomment-1454954118
@aothmshttps://github.com/aothms
https://forum.freecad.org/download/file.php?id=98792&sid=1a4859607625014ba52532309811d3f0https://forum.freecad.org/download/file.php?id=98792&sid=1a4859607625014ba52532309811d3f0
https://github.com/petruconduraru
petruconduraruhttps://github.com/petruconduraru
on Jul 5, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/744#issuecomment-4885598432
@berndhahnebachhttps://github.com/berndhahnebach
https://ifcopenshell.org/upload.htmlhttps://ifcopenshell.org/upload.html
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/744
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/744
IfcOpenShell-Corehttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Core%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.