arrayfire / arrayfire/arrayfire-rust

cargo test failed with msg "error: test failed, to rerun pass `--lib`"

未关闭
#374 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bug Needs More Info
主要语言
Rust
星标
827
派生
59
PR 合并指标
30 天内没有已合并 PR

描述

Below is the output:

```
test core::macros::tests::match_view_macro_with_get_rows ... ok
test core::index::tests::non_macro_seq_assign ... ok
test core::macros::tests::match_eval_macro_with_set_rows ... ok
[kernel][1678353237][1039744] [ /work/gitee/j_arrayfires/arrayfire/src/backend/cuda/kernel/random_engine.hpp:1065 ] Launching uniformPhilox: Blocks: [1] Threads: [256] Shared Memory: 0
[kernel][1678353237][1039743] [ /work/gitee/j_arrayfires/arrayfire/src/backend/cuda/kernel/random_engine.hpp:1065 ] Launching uniformPhilox: Blocks: [1] Threads: [256] Shared Memory: 0
[jit][1678353237][1039683] [ /work/gitee/j_arrayfires/arrayfire/src/backend/cuda/compile_module.cpp:467 ] {5423006948853190671 : loaded from /home/eli/.arrayfire/KER5423006948853190671_CU_86_AF_39.bin for NVIDIA GeForce RTX 3080 }
1 1 1
1 1 1
1 1 1

[kernel][1678353237][1039744] [ /work/gitee/j_arrayfires/arrayfire/src/backend/cuda/kernel/random_engine.hpp:1065 ] Launching uniformPhilox: Blocks: [1] Threads: [256] Shared Memory: 0
test core::macros::tests::seq_view2 ... ok[kernel][1678353237][1039686] [ /work/gitee/j_arrayfires/arrayfire/src/backend/cuda/Kernel.hpp:37 ] Launching arrayfire::cuda::index: Blocks: [1, 1, 1] Threads: [64, 4, 1] Shared Memory: 0

test core::array::tests::thread_borrow_array ... [kernel][1678353237][1039739] [ /work/gitee/j_arrayfires/arrayfire/src/backend/cuda/kernel/random_engine.hpp:1065 ] Launching uniformPhilox: Blocks: [1] Threads: [256] Shared Memory: 0
ok
test core::macros::tests::seq_view ... ok
[kernel][1678353237][1039736] [ /work/gitee/j_arrayfires/arrayfire/src/backend/cuda/jit.cpp:520 ] Launching : Dims: [9,1,1,1] Blocks: [1 1 1] Threads: [128 1 1] threads: 128
[kernel][1678353237][1039669] [ /work/gitee/j_arrayfires/arrayfire/src/backend/cuda/kernel/random_engine.hpp:1065 ] Launching uniformPhilox: Blocks: [1] Threads: [256] Shared Memory: 0
error: test failed, to rerun pass `--lib`

Caused by:
process didn't exit successfully: `/work/gitee/j_arrayfires/arrayfire-rust/target/debug/deps/arrayfire-32e4c111c1706860` (signal: 11, SIGSEGV: invalid memory reference)
eli@sf-5820:/work/gitee/j_arrayfires/arrayfire-rust/tests$

```

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by rerunning the reported cargo test command with the CUDA backend and identify which test runs immediately before the SIGSEGV. Use the ArrayFire CUDA paths shown in the output as investigation entry points, and consider the run complete only when the failing test is reproducible and cargo test --lib exits without the invalid-memory-reference crash.

由索引模型根据 Issue 内容生成。

评估

技术栈
rust
领域
hpc, testing
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。