Title: Access Violation exception on 2D boolean operation · Issue #4839 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Access Violation exception on 2D boolean operation · Issue #4839 · IfcOpenShell/IfcOpenShell
X Title: Access Violation exception on 2D boolean operation · Issue #4839 · IfcOpenShell/IfcOpenShell
Description: There is a possibility that a memory access violation will be thrown. At this code: maybe this code would be saver? for (auto& w : wires) { auto face = BRepBuilderAPI_MakeFace(w).Face(); if (!face.IsNull()) { wire_faces.push_back(BRepBui...
Open Graph Description: There is a possibility that a memory access violation will be thrown. At this code: maybe this code would be saver? for (auto& w : wires) { auto face = BRepBuilderAPI_MakeFace(w).Face(); if (!face....
X Description: There is a possibility that a memory access violation will be thrown. At this code: maybe this code would be saver? for (auto& w : wires) { auto face = BRepBuilderAPI_MakeFace(w).Face(); if (!f...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/4839
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Access Violation exception on 2D boolean operation","articleBody":"There is a possibility that a memory access violation will be thrown. At this code:\r\n\r\n\r\n\r\nmaybe this code would be saver?\r\n\r\n`for (auto& w : wires) {`\r\n`\tauto face = BRepBuilderAPI_MakeFace(w).Face();`\r\n`\tif (!face.IsNull()) {`\r\n`\t\twire_faces.push_back(BRepBuilderAPI_MakeFace(w).Face());`\r\n`\t\twire_clss.emplace_back(wire_faces.back(), eps);`\r\n`\t\tsass.push_back(std::make_unique\u003cShapeAnalysis_Surface>(BRep_Tool::Surface(wire_faces.back())));`\r\n`\t}`\r\n`\telse {`\r\n`\t\treturn false;`\r\n`\t}`\r\n`}`\r\n\r\nSadly, I can't share my example IFC.","author":{"url":"https://github.com/CKiOne","@type":"Person","name":"CKiOne"},"datePublished":"2024-06-10T14:42:35Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/4839"}
| 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:faabc2ee-6c21-38f1-e88b-e179c854abb0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7C2:12E21E:D1EA6:1242B0:6B04B0A8 |
| html-safe-nonce | 9c4c8f6a0f2e927e218788921a99aa6fbec7ef8086965a40064b2e05ac885408 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0MyOjEyRTIxRTpEMUVBNjoxMjQyQjA6NkIwNEIwQTgiLCJ2aXNpdG9yX2lkIjoiMzMwNzExNzg2MTg2ODQ0OTk2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 069bc3020b036dffe44ae42ad0554eb335e1e8b159380947bda33110360da931 |
| hovercard-subject-tag | issue:2344107028 |
| 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/4839/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5077a7fa922d803e375b3f09cd9aa3f13f163a2845eeb7d6f0f2081794636283/IfcOpenShell/IfcOpenShell/issues/4839 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5077a7fa922d803e375b3f09cd9aa3f13f163a2845eeb7d6f0f2081794636283/IfcOpenShell/IfcOpenShell/issues/4839 |
| og:image:alt | There is a possibility that a memory access violation will be thrown. At this code: maybe this code would be saver? for (auto& w : wires) { auto face = BRepBuilderAPI_MakeFace(w).Face(); if (!face.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | CKiOne |
| 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 | canary-1 |
| 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