Title: Linux installer's Forge causes MATLAB to crash · Issue #231 · arrayfire/forge · GitHub
Open Graph Title: Linux installer's Forge causes MATLAB to crash · Issue #231 · arrayfire/forge
X Title: Linux installer's Forge causes MATLAB to crash · Issue #231 · arrayfire/forge
Description: The Forge included in the official Linux installer is currently causing MATLAB to crash (segfault) when an ArrayFire mex-code is run (the below example causes this). #include "arrayfire.h" #include "mex.h" void mexFunction(int nlhs, mxAr...
Open Graph Description: The Forge included in the official Linux installer is currently causing MATLAB to crash (segfault) when an ArrayFire mex-code is run (the below example causes this). #include "arrayfire.h" #include...
X Description: The Forge included in the official Linux installer is currently causing MATLAB to crash (segfault) when an ArrayFire mex-code is run (the below example causes this). #include "arrayfire.h"...
Opengraph URL: https://github.com/arrayfire/forge/issues/231
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Linux installer's Forge causes MATLAB to crash","articleBody":"The Forge included in the official Linux installer is currently causing MATLAB to crash (segfault) when an ArrayFire mex-code is run (the below example causes this).\r\n\r\n```\r\n#include \"arrayfire.h\"\r\n#include \"mex.h\"\r\n\r\n\r\nvoid mexFunction(int nlhs, mxArray *plhs[],\r\n\tint nrhs, const mxArray *prhs[])\r\n\r\n{\r\n\tconst char * c = af::infoString();\r\n\r\n\tmexPrintf(\"\\n%s\\n\", c);\r\n\r\n\tplhs[0] = mxCreateString(c);\r\n}\r\n```\r\nOn Windows, using the installer and MATLAB has no issues. Furthermore, building AF from source with Forge ON (or OFF) also works. If these built Forge libraries are replaced with the ones from the installer, the crashes start to occur. Removing the Forge libraries altogether removes the crashes.\r\n\r\nThis occurs both with AF 3.7.1 and 3.6.2 (where the no-gl installer works). GCC/G++ used was 7.5.0 with Ubuntu 18.04.","author":{"url":"https://github.com/villekf","@type":"Person","name":"villekf"},"datePublished":"2020-05-18T09:18:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":14},"url":"https://github.com/231/forge/issues/231"}
| 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:96ae27a7-0ef9-7351-97de-32254b402932 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C056:19F9B0:5010A07:6BE950E:696E11CE |
| html-safe-nonce | 23f133fc4b5d809987febc2105e71b8908e40ea6ce388404ae6c13cb8094b1ea |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDU2OjE5RjlCMDo1MDEwQTA3OjZCRTk1MEU6Njk2RTExQ0UiLCJ2aXNpdG9yX2lkIjoiMTcyMjM1ODk0MjQ5MjcxODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 680fdc0e8b1a62dfb0f37da451aa33b0172d1302d51be26f8ed09c3fd58fc498 |
| hovercard-subject-tag | issue:880252908 |
| 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/arrayfire/forge/231/issue_layout |
| twitter:image | https://opengraph.githubassets.com/749c47eac7da55a7ba25a67e233516c6828be33a7875c771673223b69572f901/arrayfire/forge/issues/231 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/749c47eac7da55a7ba25a67e233516c6828be33a7875c771673223b69572f901/arrayfire/forge/issues/231 |
| og:image:alt | The Forge included in the official Linux installer is currently causing MATLAB to crash (segfault) when an ArrayFire mex-code is run (the below example causes this). #include "arrayfire.h" #include... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | villekf |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1a7d6d739bf034e67486b9f97a31887ca30302b72a0acac49b6bcddff34356d7 |
| turbo-cache-control | no-preview |
| go-import | github.com/arrayfire/forge git https://github.com/arrayfire/forge.git |
| octolytics-dimension-user_id | 5395442 |
| octolytics-dimension-user_login | arrayfire |
| octolytics-dimension-repository_id | 35898690 |
| octolytics-dimension-repository_nwo | arrayfire/forge |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 35898690 |
| octolytics-dimension-repository_network_root_nwo | arrayfire/forge |
| 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 | 87d7872ec7094ed247923539669aabda9230966f |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width