SIGSEGV on qr decomposition
还没有人认领这个 Issue。
评估
调研方向
Start with the Cargo.toml and shell.nix configurations, then run the minimal 5x5 Rust reproduction and isolate the test.qr() call. Investigate the interaction between ndarray-linalg 0.17.0, the openblas-system feature, and the system OpenBLAS setup. Done means identifying the cause of the SIGSEGV and confirming that QR decomposition no longer crashes in the reproduction.
由索引模型根据 Issue 内容生成。
描述
I am trying to use the qr decomposition method but am getting signal: 11, SIGSEGV: invalid memory reference whenever I call it.
Cargo.toml:
[dependencies]
ndarray = { version = "0.16.1", features = ["blas", "rayon"] }
ndarray-linalg = { version = "0.17.0", features = ["openblas-system"] }
shell.nix:
with import <nixpkgs> { };
mkShell {
buildInputs = [
rustup
gcc
bacon
pkg-config
openssl.dev
openblas
];
}
Minimal reproduction:
let mut rng = rand::rng();
let test = Array2::from_shape_fn((5, 5), |_| rng.random::<i8>() as f64);
let (q, r) = test .qr().unwrap();
removing the last line, this runs fine.
- 主要语言
- Rust
- 星标
- 452
- 派生
- 95
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rust-ndarray/ndarray-linalg 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 48/100
rust-ndarray/ndarray-linalg#420 ·
-
Thin SVD未关闭
难度 5/5 一周以上 新手友好度 38/100
rust-ndarray/ndarray-linalg#414 ·
-
难度 5/5 一周以上 新手友好度 30/100
rust-ndarray/ndarray-linalg#413 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
rust-ndarray/ndarray-linalg#404 ·
-
难度 4/5 3-5 天 新手友好度 35/100
rust-ndarray/ndarray-linalg#401 · 2 个 reaction ·
查看 rust-ndarray/ndarray-linalg 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
[Bug]: Bedrock request metadata forwarding does not work for /embeddings可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug llm translation
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
pytest plugin: a crashed xdist worker aborts the whole session with INTERNALERROR可能已有人在做 @hazelxue 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
skillfs: one malformed chat-log line aborts the entire skill-usage analysis (skill_usage_from_chat_logs.py)可能已有人在做 @zjncs 今天认领。 未关闭component:skillfs
难度 2/5 1-3 小时 新手友好度 82/100
agentic-os-org/ANOLISA#6116 · 1 条评论 ·
维护者通常 1 天内回复