Title: [BUG] STATUS_STACK_BUFFER_OVERRUN from any operation · Issue #311 · arrayfire/arrayfire-rust · GitHub
Open Graph Title: [BUG] STATUS_STACK_BUFFER_OVERRUN from any operation · Issue #311 · arrayfire/arrayfire-rust
X Title: [BUG] STATUS_STACK_BUFFER_OVERRUN from any operation · Issue #311 · arrayfire/arrayfire-rust
Description: Description possibly related to #285 although the suggested solution didn't work for me and it crashes instantly on my machine instead of taking a "long time" like detailed in the old issue. i left a comment on the original post but thes...
Open Graph Description: Description possibly related to #285 although the suggested solution didn't work for me and it crashes instantly on my machine instead of taking a "long time" like detailed in the old issue. i left...
X Description: Description possibly related to #285 although the suggested solution didn't work for me and it crashes instantly on my machine instead of taking a "long time" like detailed in the old...
Opengraph URL: https://github.com/arrayfire/arrayfire-rust/issues/311
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] STATUS_STACK_BUFFER_OVERRUN from any operation","articleBody":"Description\r\n===========\r\npossibly related to #285 although the suggested solution didn't work for me and it crashes instantly on my machine instead of taking a \"long time\" like detailed in the old issue. i left a comment on the original post but these two factors make it seem like a separate issue so im filing this as well. feel free to close if you think its a duplicate.\r\n\r\nattempting to run any code examples causes `STATUS_STACK_BUFFER_OVERRUN`.\r\n\r\ni tried updating my drivers and cuda and i tried both the 10.x and 11.x arrayfire binaries to no avail. i also tried manually setting the back-end like in #285 but it didn't seem to fix anything; OpenCL, CUDA, and CPU all throw STATUS_STACK_BUFFER_OVERRUN. in fact it appears simply running `set_backend` causes an overrun.\r\n\r\nReproducible Code and/or Steps\r\n------------------------------\r\n```\r\nuse arrayfire::{set_backend, Backend};\r\n\r\nfn main() {\r\n // attempting arrayfire::info() or any other arrayfire call causes the same issue\r\n set_backend(Backend::CPU);\r\n}\r\n```\r\n\r\n```\r\nD:\\Work\\rust_playground\u003ecargo run\r\n Compiling rust_playground v0.1.0 (D:\\Work\\rust_playground)\r\n Finished dev [unoptimized + debuginfo] target(s) in 2.67s\r\n Running `target\\debug\\rust_playground.exe`\r\nerror: process didn't exit successfully: `target\\debug\\rust_playground.exe` (exit code: 0xc0000409, STATUS_STACK_BUFFER_OVERRUN)\r\n```\r\n\r\nSystem Information\r\n------------------\r\n- ArrayFire version 3.8.1\r\n- i have an rtx3090 and an i9-11900k running on windows 10\r\n- couldnt run `af::info` as it crashes with the same error\r\n\r\nthe download link for the cinfo binary seems to be down. heres nvidia-smi:\r\n```\r\nFri Feb 4 02:19:12 2022\r\n+-----------------------------------------------------------------------------+\r\n| NVIDIA-SMI 511.65 Driver Version: 511.65 CUDA Version: 11.6 |\r\n|-------------------------------+----------------------+----------------------+\r\n| GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC |\r\n| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |\r\n| | | MIG M. |\r\n|===============================+======================+======================|\r\n| 0 NVIDIA GeForce ... WDDM | 00000000:01:00.0 On | N/A |\r\n| 0% 49C P0 126W / 350W | 1056MiB / 24576MiB | 2% Default |\r\n| | | N/A |\r\n+-------------------------------+----------------------+----------------------+\r\n\r\n+-----------------------------------------------------------------------------+\r\n| Processes: |\r\n| GPU GI CI PID Type Process name GPU Memory |\r\n| ID ID Usage |\r\n|=============================================================================|\r\n| 0 N/A N/A 1580 C+G N/A |\r\n| 0 N/A N/A 2872 C+G ...icrosoft VS Code\\Code.exe N/A |\r\n| 0 N/A N/A 5536 C+G N/A |\r\n| 0 N/A N/A 6932 C+G ...kyb3d8bbwe\\Calculator.exe N/A |\r\n| 0 N/A N/A 7884 C+G C:\\Windows\\explorer.exe N/A |\r\n| 0 N/A N/A 12184 C+G ...artMenuExperienceHost.exe N/A |\r\n| 0 N/A N/A 12364 C+G ...ekyb3d8bbwe\\YourPhone.exe N/A |\r\n| 0 N/A N/A 12584 C+G ...5n1h2txyewy\\SearchApp.exe N/A |\r\n| 0 N/A N/A 13440 C+G ...4__htrsf667h5kn2\\AWCC.exe N/A |\r\n| 0 N/A N/A 14248 C+G ...ekyb3d8bbwe\\HxOutlook.exe N/A |\r\n| 0 N/A N/A 15588 C+G ...108.43\\msedgewebview2.exe N/A |\r\n| 0 N/A N/A 16044 C+G ...perience\\NVIDIA Share.exe N/A |\r\n| 0 N/A N/A 16160 C+G ...perience\\NVIDIA Share.exe N/A |\r\n| 0 N/A N/A 16676 C+G N/A |\r\n| 0 N/A N/A 16712 C+G ...zilla Firefox\\firefox.exe N/A |\r\n| 0 N/A N/A 16968 C+G ...nputApp\\TextInputHost.exe N/A |\r\n| 0 N/A N/A 21680 C+G ...lack\\app-4.23.0\\slack.exe N/A |\r\n| 0 N/A N/A 22944 C+G ...zilla Firefox\\firefox.exe N/A |\r\n| 0 N/A N/A 23416 C+G ...y\\ShellExperienceHost.exe N/A |\r\n| 0 N/A N/A 23752 C+G ...lPanel\\SystemSettings.exe N/A |\r\n+-----------------------------------------------------------------------------+\r\n```\r\nand heres `AF_TRACE=all`\r\n```\r\n[unified][1643970448][5736] [ ..\\src\\api\\unified\\symbol_manager.cpp(141) ] Attempting: Default System Paths\r\n[unified][1643970448][5736] [ ..\\src\\api\\unified\\symbol_manager.cpp(144) ] Found: afcpu.dll\r\n[unified][1643970448][5736] [ ..\\src\\api\\unified\\symbol_manager.cpp(151) ] Device Count: 1.\r\n[unified][1643970448][5736] [ ..\\src\\api\\unified\\symbol_manager.cpp(141) ] Attempting: Default System Paths\r\n[unified][1643970448][5736] [ ..\\src\\api\\unified\\symbol_manager.cpp(144) ] Found: afopencl.dll\r\n[platform][1643970448][5736] [ ..\\src\\backend\\common\\DependencyModule.cpp(99) ] Attempting to load: forge.dll\r\n[platform][1643970448][5736] [ ..\\src\\backend\\common\\DependencyModule.cpp(102) ] Found: forge.dll\r\n[platform][1643970448][5736] [ ..\\src\\backend\\opencl\\device_manager.cpp(218) ] Found 3 OpenCL platforms\r\n[platform][1643970448][5736] [ ..\\src\\backend\\opencl\\device_manager.cpp(230) ] Found 1 devices on platform NVIDIA CUDA\r\n[platform][1643970448][5736] [ ..\\src\\backend\\opencl\\device_manager.cpp(235) ] Found device NVIDIA GeForce RTX 3090 on platform NVIDIA CUDA\r\n[platform][1643970448][5736] [ ..\\src\\backend\\opencl\\device_manager.cpp(230) ] Found 1 devices on platform Intel(R) OpenCL\r\n[platform][1643970448][5736] [ ..\\src\\backend\\opencl\\device_manager.cpp(235) ] Found device 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz on platform Intel(R) OpenCL\r\n[platform][1643970448][5736] [ ..\\src\\backend\\opencl\\device_manager.cpp(230) ] Found 1 devices on platform Experimental OpenCL 2.1 CPU Only Platform\r\n[platform][1643970448][5736] [ ..\\src\\backend\\opencl\\device_manager.cpp(235) ] Found device 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz on platform Experimental OpenCL 2.1 CPU Only Platform\r\n[platform][1643970448][5736] [ ..\\src\\backend\\opencl\\device_manager.cpp(240) ] Found 3 OpenCL devices\r\nerror: process didn't exit successfully: `target\\debug\\rust_playground.exe` (exit code: 0xc0000409, STATUS_STACK_BUFFER_OVERRUN)\r\n```\r\n\r\nChecklist\r\n---------\r\n\r\n- [x] Using the latest available ArrayFire release\r\n- [x] GPU drivers are up to date\r\n","author":{"url":"https://github.com/0rphon","@type":"Person","name":"0rphon"},"datePublished":"2022-02-04T20:12:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/311/arrayfire-rust/issues/311"}
| 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:3616d3d4-9883-4f51-7bae-87555f41830d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 984C:29F45E:8D72EB:C75A5E:696E60AB |
| html-safe-nonce | 5cd09db89a9b26437e7d8ad5ac4bb0a6632da7145c1ddd68348fe9bb66f82645 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODRDOjI5RjQ1RTo4RDcyRUI6Qzc1QTVFOjY5NkU2MEFCIiwidmlzaXRvcl9pZCI6Ijc4NTQwNDQxNzg2OTY1MjgwNDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | db349509574a2e7df7cb3ec94923eb3ade954e7829f8f7aa057085a72a97ca94 |
| hovercard-subject-tag | issue:1124578153 |
| 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/arrayfire-rust/311/issue_layout |
| twitter:image | https://opengraph.githubassets.com/11a2be323b6819804c59e8183597cdc2a9624c1ddbc5dcfbc62a2b82e466863a/arrayfire/arrayfire-rust/issues/311 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/11a2be323b6819804c59e8183597cdc2a9624c1ddbc5dcfbc62a2b82e466863a/arrayfire/arrayfire-rust/issues/311 |
| og:image:alt | Description possibly related to #285 although the suggested solution didn't work for me and it crashes instantly on my machine instead of taking a "long time" like detailed in the old issue. i left... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 0rphon |
| hostname | github.com |
| expected-hostname | github.com |
| None | f68b42d371252b0f236260d6234f4304a806fe5ac43d59faa21fb59d80df103b |
| turbo-cache-control | no-preview |
| go-import | github.com/arrayfire/arrayfire-rust git https://github.com/arrayfire/arrayfire-rust.git |
| octolytics-dimension-user_id | 5395442 |
| octolytics-dimension-user_login | arrayfire |
| octolytics-dimension-repository_id | 35817370 |
| octolytics-dimension-repository_nwo | arrayfire/arrayfire-rust |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 35817370 |
| octolytics-dimension-repository_network_root_nwo | arrayfire/arrayfire-rust |
| 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 | 6b74bc8dbcd10b5d69fd9ee9d2cfdc8b35e18a4c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width