Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#374 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
hpc, testing

Direzione di ricerca

Inizia rieseguendo il comando cargo test segnalato con il backend CUDA e identifica quale test viene eseguito immediatamente prima del SIGSEGV. Usa i percorsi ArrayFire CUDA mostrati nell’output come punti di ingresso per l’indagine e considera l’esecuzione completata solo quando il test che fallisce è riproducibile e cargo test --lib termina senza il crash dovuto a un riferimento di memoria non valido.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Bug Needs More Info

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$ 

Lingua principale
Rust
Stelle
827
Fork
59
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di arrayfire/arrayfire-rust

Tutte le issue di arrayfire/arrayfire-rust

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.