arrayfire / arrayfire/arrayfire-rust

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

Offen
#374 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Bug Needs More Info
Vorherrschende Sprache
Rust
Sterne
827
Forks
59
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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$

```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
rust
Bereich
hpc, testing
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.