[BUG] STATUS_STACK_BUFFER_OVERRUN from any operation
@9prady9 已經在處理了。
開始於 2022年2月12日。
評估
這個 Issue 還沒有評估資料。
描述
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 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.
attempting to run any code examples causes STATUS_STACK_BUFFER_OVERRUN.
i 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.
Reproducible Code and/or Steps
use arrayfire::{set_backend, Backend};
fn main() {
// attempting arrayfire::info() or any other arrayfire call causes the same issue
set_backend(Backend::CPU);
}
D:\Work\rust_playground>cargo run
Compiling rust_playground v0.1.0 (D:\Work\rust_playground)
Finished dev [unoptimized + debuginfo] target(s) in 2.67s
Running `target\debug\rust_playground.exe`
error: process didn't exit successfully: `target\debug\rust_playground.exe` (exit code: 0xc0000409, STATUS_STACK_BUFFER_OVERRUN)
System Information
- ArrayFire version 3.8.1
- i have an rtx3090 and an i9-11900k running on windows 10
- couldnt run
af::infoas it crashes with the same error
the download link for the cinfo binary seems to be down. heres nvidia-smi:
Fri Feb 4 02:19:12 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 511.65 Driver Version: 511.65 CUDA Version: 11.6 |
|-------------------------------+----------------------+----------------------+
| GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... WDDM | 00000000:01:00.0 On | N/A |
| 0% 49C P0 126W / 350W | 1056MiB / 24576MiB | 2% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1580 C+G N/A |
| 0 N/A N/A 2872 C+G ...icrosoft VS Code\Code.exe N/A |
| 0 N/A N/A 5536 C+G N/A |
| 0 N/A N/A 6932 C+G ...kyb3d8bbwe\Calculator.exe N/A |
| 0 N/A N/A 7884 C+G C:\Windows\explorer.exe N/A |
| 0 N/A N/A 12184 C+G ...artMenuExperienceHost.exe N/A |
| 0 N/A N/A 12364 C+G ...ekyb3d8bbwe\YourPhone.exe N/A |
| 0 N/A N/A 12584 C+G ...5n1h2txyewy\SearchApp.exe N/A |
| 0 N/A N/A 13440 C+G ...4__htrsf667h5kn2\AWCC.exe N/A |
| 0 N/A N/A 14248 C+G ...ekyb3d8bbwe\HxOutlook.exe N/A |
| 0 N/A N/A 15588 C+G ...108.43\msedgewebview2.exe N/A |
| 0 N/A N/A 16044 C+G ...perience\NVIDIA Share.exe N/A |
| 0 N/A N/A 16160 C+G ...perience\NVIDIA Share.exe N/A |
| 0 N/A N/A 16676 C+G N/A |
| 0 N/A N/A 16712 C+G ...zilla Firefox\firefox.exe N/A |
| 0 N/A N/A 16968 C+G ...nputApp\TextInputHost.exe N/A |
| 0 N/A N/A 21680 C+G ...lack\app-4.23.0\slack.exe N/A |
| 0 N/A N/A 22944 C+G ...zilla Firefox\firefox.exe N/A |
| 0 N/A N/A 23416 C+G ...y\ShellExperienceHost.exe N/A |
| 0 N/A N/A 23752 C+G ...lPanel\SystemSettings.exe N/A |
+-----------------------------------------------------------------------------+
and heres AF_TRACE=all
[unified][1643970448][5736] [ ..\src\api\unified\symbol_manager.cpp(141) ] Attempting: Default System Paths
[unified][1643970448][5736] [ ..\src\api\unified\symbol_manager.cpp(144) ] Found: afcpu.dll
[unified][1643970448][5736] [ ..\src\api\unified\symbol_manager.cpp(151) ] Device Count: 1.
[unified][1643970448][5736] [ ..\src\api\unified\symbol_manager.cpp(141) ] Attempting: Default System Paths
[unified][1643970448][5736] [ ..\src\api\unified\symbol_manager.cpp(144) ] Found: afopencl.dll
[platform][1643970448][5736] [ ..\src\backend\common\DependencyModule.cpp(99) ] Attempting to load: forge.dll
[platform][1643970448][5736] [ ..\src\backend\common\DependencyModule.cpp(102) ] Found: forge.dll
[platform][1643970448][5736] [ ..\src\backend\opencl\device_manager.cpp(218) ] Found 3 OpenCL platforms
[platform][1643970448][5736] [ ..\src\backend\opencl\device_manager.cpp(230) ] Found 1 devices on platform NVIDIA CUDA
[platform][1643970448][5736] [ ..\src\backend\opencl\device_manager.cpp(235) ] Found device NVIDIA GeForce RTX 3090 on platform NVIDIA CUDA
[platform][1643970448][5736] [ ..\src\backend\opencl\device_manager.cpp(230) ] Found 1 devices on platform Intel(R) OpenCL
[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
[platform][1643970448][5736] [ ..\src\backend\opencl\device_manager.cpp(230) ] Found 1 devices on platform Experimental OpenCL 2.1 CPU Only Platform
[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
[platform][1643970448][5736] [ ..\src\backend\opencl\device_manager.cpp(240) ] Found 3 OpenCL devices
error: process didn't exit successfully: `target\debug\rust_playground.exe` (exit code: 0xc0000409, STATUS_STACK_BUFFER_OVERRUN)
Checklist
- Using the latest available ArrayFire release
- GPU drivers are up to date
- 主要語言
- Rust
- 星號
- 827
- 分支
- 59
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
arrayfire/arrayfire-rust 的其他 Issue
-
Bug
難度 1/5 1 小時以內 新手友好度 88/100
arrayfire/arrayfire-rust#388 ·
-
Bug
難度 1/5 1 小時以內 新手友好度 88/100
arrayfire/arrayfire-rust#387 ·
-
Bug
難度 2/5 1-3 小時 新手友好度 78/100
arrayfire/arrayfire-rust#386 ·
-
[BUG] device_info() buffers are 64 bytes; CUDA backend writes 257, corrupting the stack可能已有人在做 @phil-opp 於 65 天前認領。 未關閉Bug
難度 2/5 1-3 小時 新手友好度 76/100
arrayfire/arrayfire-rust#384 ·
-
Bug
難度 5/5 一週以上 新手友好度 35/100
arrayfire/arrayfire-rust#385 · 1 則留言 ·
查看 arrayfire/arrayfire-rust 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 82/100
bmander/geomsolver#118 ·
維護者通常 1 天內回覆
-
Three Windows builds are keyed on a later release than their layout可能已有人在做 @ero-qt 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 2 天內回覆
-
難度 1/5 1 小時以內 新手友好度 95/100
維護者通常 1 天內回覆
-
Markdown Preview Fonts Don't Show Selected Option可能已有人在做 @RadhiRasho 今天認領。 未關閉state:needs triage
難度 2/5 1-3 小時 新手友好度 61/100
zed-industries/zed#65300 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 73/100
維護者通常 1 天內回覆