cargo test failed with msg "error: test failed, to rerun pass `--lib`"
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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<float>: 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$
- Dominant language
- Rust
- Stars
- 827
- Forks
- 59
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from arrayfire/arrayfire-rust
-
Bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
arrayfire/arrayfire-rust#388 ·
-
Bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
arrayfire/arrayfire-rust#387 ·
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
arrayfire/arrayfire-rust#386 ·
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
arrayfire/arrayfire-rust#384 ·
-
Bug
Difficulty 5/5 Over a week Newbie friendliness 35/100
arrayfire/arrayfire-rust#385 · 1 comment ·
All issues in arrayfire/arrayfire-rust
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
issue
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
web-infra-dev/rspack#15847 ·