Title: Segmentation fault when running IfcConvert with multiple threads · Issue #1173 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Segmentation fault when running IfcConvert with multiple threads · Issue #1173 · IfcOpenShell/IfcOpenShell
X Title: Segmentation fault when running IfcConvert with multiple threads · Issue #1173 · IfcOpenShell/IfcOpenShell
Description: Hi, Thank you for a great library! We are consistently, but not deterministically, experiencing segmentation faults when running IfcConvert with multiple threads. We are using the pre-built IfcConvert dated 2020-11-01 for x86_64. Output:...
Open Graph Description: Hi, Thank you for a great library! We are consistently, but not deterministically, experiencing segmentation faults when running IfcConvert with multiple threads. We are using the pre-built IfcConv...
X Description: Hi, Thank you for a great library! We are consistently, but not deterministically, experiencing segmentation faults when running IfcConvert with multiple threads. We are using the pre-built IfcConv...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/1173
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Segmentation fault when running IfcConvert with multiple threads","articleBody":"Hi,\r\n\r\nThank you for a great library!\r\n\r\nWe are consistently, but not deterministically, experiencing segmentation faults when running `IfcConvert` with multiple threads. We are using the pre-built `IfcConvert` dated 2020-11-01 for x86_64.\r\n\r\nOutput:\r\n\r\n```sh\r\n$ IfcConvert -vv --threads 5 --yes eksempel_simplification.ifc \r\nIfcOpenShell IfcConvert 0.6.0b0 (OCC 7.3.0)\r\n[Notice] exclude entities IfcOpeningElement IfcSpace\r\nScanning file...\r\nDone scanning file \r\nParsing input file took 0 seconds\r\nCreating geometry...\r\n[ ][Warning] No material and surface styles for:\r\n#677=IfcBuildingElementProxy('3nOAxr0fv6nQ4fm13mZGmx',#41,'Generic Models 2402:Generic Models 2387:406639',$,'Generic Models 2402:Generic Models 2387',#675,#670,'406639',$)\r\n[Warning] No material and surface styles for:\r\n#787=IfcBuildingElementProxy('3nOAxr0fv6nQ4fm13mZGme',#41,'Generic Models 2403:Generic Models 2387:406652',$,'Generic Models 2403:Generic Models 2387',#785,#780,'406652',$)\r\n[Warning] No material and surface styles for:\r\nSegmentation fault (core dumped)\r\n```\r\n\r\ngdb output without symbols:\r\n\r\n```\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\r\nIfcOpenShell IfcConvert 0.6.0b0 (OCC 7.3.0)\r\nCreating geometry...\r\n[ ][New Thread 0x7ffff7a12700 (LWP 579381)]\r\n[New Thread 0x7ffff7211700 (LWP 579382)]\r\n[New Thread 0x7ffff6a10700 (LWP 579383)]\r\n[New Thread 0x7ffff620f700 (LWP 579384)]\r\n[New Thread 0x7ffff5a0e700 (LWP 579385)]\r\nThread 3 \"IfcConvert\" received signal SIGSEGV, Segmentation fault.\r\n[Switching to Thread 0x7ffff7211700 (LWP 579382)]\r\n0x0000000000cda924 in ?? ()\r\n(gdb) backtrace\r\n#0 0x0000000000cda924 in ?? ()\r\n#1 0x0000000000cda987 in ?? ()\r\n#2 0x0000000000cdb857 in ?? ()\r\n#3 0x0000000000cdc86d in ?? ()\r\n#4 0x0000000000d3d804 in ?? ()\r\n#5 0x0000000000d3e14c in ?? ()\r\n#6 0x0000000000d3e30b in ?? ()\r\n#7 0x0000000000d3e4ba in ?? ()\r\n#8 0x0000000000d2fbbe in std::_Function_handler\u003cstd::unique_ptr\u003cstd::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter\u003cstd::unique_ptr\u003cstd::__future_base::_Result\u003cvoid>, std::__future_base::_Result_base::_Deleter>, void> >::_M_invoke(std::_Any_data const&) ()\r\n#9 0x0000000000d2fff2 in ?? ()\r\n#10 0x00007ffff7f9c47f in __pthread_once_slow (once_control=0x3196b0c, init_routine=0x7ffff7e6db80 \u003c__once_proxy>) at pthread_once.c:116\r\n#11 0x0000000000d3a5ac in ?? ()\r\n#12 0x00007ffff7e6f112 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6\r\n#13 0x00007ffff7f93609 in start_thread (arg=\u003coptimized out>) at pthread_create.c:477\r\n#14 0x00007ffff7b5c293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95\r\n(gdb) \r\n```\r\n\r\nFails on all IFC files we are encountering. We thought it was related to #894 , but our build is from long after this commit.\r\n","author":{"url":"https://github.com/hawkaa","@type":"Person","name":"hawkaa"},"datePublished":"2020-12-15T09:38:45Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/1173"}
| 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:b6be1842-a252-fcd1-d1a5-da6e6757d37b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B2F2:192237:767971:A1D62E:6B0479CD |
| html-safe-nonce | bfd2957360129c35842a2be799b7e19af489bd878ec75063e9201a6b8b8110fd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkYyOjE5MjIzNzo3Njc5NzE6QTFENjJFOjZCMDQ3OUNEIiwidmlzaXRvcl9pZCI6IjI1MzQ3MjQ3MjU5MDU4NDg3ODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 64c42462605fa4da514af6cb0b725e7638306beccb85d101c82c8a9c5deabe6c |
| hovercard-subject-tag | issue:767384760 |
| 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/1173/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c4dc0868920290d772c915de7b1809ad0b784a5e3bf134d79846aa9b7bca2d78/IfcOpenShell/IfcOpenShell/issues/1173 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c4dc0868920290d772c915de7b1809ad0b784a5e3bf134d79846aa9b7bca2d78/IfcOpenShell/IfcOpenShell/issues/1173 |
| og:image:alt | Hi, Thank you for a great library! We are consistently, but not deterministically, experiencing segmentation faults when running IfcConvert with multiple threads. We are using the pre-built IfcConv... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hawkaa |
| 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