René's URL Explorer Experiment


Title: v0.8.0 C++ example programs crash when built with boost 1.86.0 · Issue #5308 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: v0.8.0 C++ example programs crash when built with boost 1.86.0 · Issue #5308 · IfcOpenShell/IfcOpenShell

X Title: v0.8.0 C++ example programs crash when built with boost 1.86.0 · Issue #5308 · IfcOpenShell/IfcOpenShell

Description: I'm trying to get past the build issues with Visual Studio since the toolchain change, described in #4744. In summary, Visual Studio toolchain was changed and boost 1.79 would no longer compile. The problem has been fixed in boost 1.86. ...

Open Graph Description: I'm trying to get past the build issues with Visual Studio since the toolchain change, described in #4744. In summary, Visual Studio toolchain was changed and boost 1.79 would no longer compile. Th...

X Description: I'm trying to get past the build issues with Visual Studio since the toolchain change, described in #4744. In summary, Visual Studio toolchain was changed and boost 1.79 would no longer compile...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"v0.8.0 C++ example programs crash when built with boost 1.86.0","articleBody":"I'm trying to get past the build issues with Visual Studio since the toolchain change, described in #4744. In summary, Visual Studio toolchain was changed and boost 1.79 would no longer compile. The problem has been fixed in boost 1.86.\r\n\r\nIn `build-deps.cmd` and `run-cmake.bat` I changed `set BOOST_VERSION=1.79.0` to `set BOOST_VERSION=1.86.0`.\r\n\r\nAfter running `build-deps.cmd vs2024-x64 Debug` `build-deps.com vs2022-x64 Release` and `run-cmake.bat vs2022-x64`, I jump over to Visual Studio and build the whole of IfcOpenShell from the Solution file.\r\n\r\nWhen I run the IfcAdvancedHouse.cpp example (or any of the other examples), there is an Access Violation reading location 0x000000000\r\n\r\nThe call stack is:\r\n~~~\r\n>\tIfcAdvancedHouse.exe!IfcParse::IfcFile::build_inverses_::__l2::\u003clambda_1>::operator()(IfcUtil::IfcBaseClass * attr, int idx) Line 2294\tC++\r\n \t[External Code]\t\r\n \tIfcAdvancedHouse.exe!apply_individual_instance_visitor::apply_attribute_\u003cstd::function\u003cvoid __cdecl(IfcUtil::IfcBaseClass *,int)>>(std::function\u003cvoid __cdecl(IfcUtil::IfcBaseClass *,int)> & t, const AttributeValue & attr, int index) Line 1090\tC++\r\n \tIfcAdvancedHouse.exe!apply_individual_instance_visitor::apply\u003cstd::function\u003cvoid __cdecl(IfcUtil::IfcBaseClass *,int)>>(std::function\u003cvoid __cdecl(IfcUtil::IfcBaseClass *,int)> & t) Line 1124\tC++\r\n \tIfcAdvancedHouse.exe!IfcParse::IfcFile::build_inverses_(IfcUtil::IfcBaseClass * inst) Line 2301\tC++\r\n \tIfcAdvancedHouse.exe!IfcParse::IfcFile::addEntity(IfcUtil::IfcBaseClass * entity, int id) Line 1781\tC++\r\n \tIfcAdvancedHouse.exe!IfcHierarchyHelper\u003cIfc2x3>::addLocalPlacement(Ifc2x3::IfcObjectPlacement * parent, double ox, double oy, double oz, double zx, double zy, double zz, double xx, double xy, double xz) Line 70\tC++\r\n \tIfcAdvancedHouse.exe!IfcHierarchyHelper\u003cIfc2x3>::addSite(Ifc2x3::IfcProject * proj, Ifc2x3::IfcOwnerHistory * owner_hist) Line 183\tC++\r\n \tIfcAdvancedHouse.exe!IfcHierarchyHelper\u003cIfc2x3>::addBuilding(Ifc2x3::IfcSite * site, Ifc2x3::IfcOwnerHistory * owner_hist) Line 215\tC++\r\n \tIfcAdvancedHouse.exe!main() Line 65\tC++\r\n~~~\r\n\r\nThe function where the access violation occurs is\r\n~~~\r\nvoid IfcParse::IfcFile::build_inverses_(IfcUtil::IfcBaseClass* inst) {\r\n    std::function\u003cvoid(IfcUtil::IfcBaseClass*, int)> fn = [this, inst](IfcUtil::IfcBaseClass* attr, int idx) {\r\n        if (attr->declaration().as_entity() != nullptr) {  // \u003c--- Access Violation Here\r\n            unsigned entity_attribute_id = attr->id();\r\n            const auto* decl = inst->declaration().as_entity();\r\n            byref_excl_[{entity_attribute_id, decl->index_in_schema(), idx}].push_back(inst->id());\r\n        }\r\n    };\r\n\r\n    apply_individual_instance_visitor(&inst->data()).apply(fn);\r\n}\r\n~~~\r\n\r\n`attr` is a nullptr.\r\n\r\n\r\nAnyone experiencing this problem?\r\nAny ideas how to resolve it?\r\n\r\n\r\n","author":{"url":"https://github.com/RickBrice","@type":"Person","name":"RickBrice"},"datePublished":"2024-09-04T14:29:34Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/5308"}

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:65d5f78f-4777-6170-b3e1-9539215c7e43
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD0E4:199A0D:1F0E8A:295869:6B04B411
html-safe-nonce0d5aa662f1a62a05c7c9909b4f5301e343de9b29381a3f1079c30e9593167fff
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEU0OjE5OUEwRDoxRjBFOEE6Mjk1ODY5OjZCMDRCNDExIiwidmlzaXRvcl9pZCI6IjE1MDAyMzg0MTc2NTk5OTkyNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac73839336afd457dc373b9b7d4c12d8e4b9cff58f671f41c26fd2d1a9c01ffcd9
hovercard-subject-tagissue:2505537668
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/5308/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b9995d502c75de6b935a603767d8a2e9e489c0c9c6463dc3e3f02ba7c9a44398/IfcOpenShell/IfcOpenShell/issues/5308
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b9995d502c75de6b935a603767d8a2e9e489c0c9c6463dc3e3f02ba7c9a44398/IfcOpenShell/IfcOpenShell/issues/5308
og:image:altI'm trying to get past the build issues with Visual Studio since the toolchain change, described in #4744. In summary, Visual Studio toolchain was changed and boost 1.79 would no longer compile. Th...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameRickBrice
hostnamegithub.com
expected-hostnamegithub.com
None378bd702ac792b3550e484ad39d9a898fcd25bb52ba6962b0c9cc457c1ea71c7
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
releaseb032e77f1ea437ede6c115446a0a467709b468e7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/5308#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F5308
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%2F5308
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/5308
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/5308
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/5308
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 requests940 (940)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/5308
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/5308
v0.8.0 C++ example programs crash when built with boost 1.86.0https://github.com/IfcOpenShell/IfcOpenShell/issues/5308#top
IfcOpenShell-Corehttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Core%22
https://github.com/RickBrice
RickBricehttps://github.com/RickBrice
on Sep 4, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5308#issue-2505537668
#4744https://github.com/IfcOpenShell/IfcOpenShell/issues/4744
Andrej730https://github.com/Andrej730
IfcOpenShell-Corehttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Core%22
on Sep 5, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5308#event-14140749234
https://github.com/aothms
aothmshttps://github.com/aothms
on Sep 5, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5308#issuecomment-2331505772
aothmshttps://github.com/aothms
on Sep 5, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5308#event-14146399624
Handle storage of nullptr as a proper Blank type in variant #5308https://github.com/IfcOpenShell/IfcOpenShell/commit/12318fbfc2a52785dd16ee65c0297fbd019af470
#5308https://github.com/IfcOpenShell/IfcOpenShell/issues/5308
12318fbhttps://github.com/IfcOpenShell/IfcOpenShell/commit/12318fbfc2a52785dd16ee65c0297fbd019af470
https://github.com/RickBrice
RickBricehttps://github.com/RickBrice
on Sep 5, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5308#issuecomment-2331793137
RickBricehttps://github.com/RickBrice
completedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Sep 5, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5308#event-14148119342
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/5308
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/5308
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.