Fuzzing Crash: unknown in compress_gpu
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
Start with the reported panic in vortex-buffer/src/buffer.rs:991 and follow the stack through vortex-array/src/arrays/varbinview/array.rs:582 and vortex-array/src/arrays/varbinview/vtable/operations.rs:28. Reproduce with the listed cargo +nightly fuzz run command and crash artifact. Done when the input no longer triggers the alignment panic and the relevant behavior is covered by a regression test.
由索引模型根據 Issue 內容生成。
描述
- Crash File:
crash-0ef3f7f0067c674d743be412ffa0b7fae5b3dbf2 - Commit: 6968680baa513c14aed12b504816673fb26a491d
- Crash Artifact: https://github.com/vortex-data/vortex/actions/runs/46446068341/artifacts/15393916982
Target crashed at vortex-buffer/src/buffer.rs:991:slice_start_misaligned:
range start must be aligned to Alignment(8), byte 31
Stack trace
stack backtrace:
0: __rustc::rust_begin_unwind
at /rustc/8eb778d04094d3af4b26580cab327e0413eb1e02/library/std/src/panicking.rs:676:5
1: core::panicking::panic_fmt
at /rustc/8eb778d04094d3af4b26580cab327e0413eb1e02/library/core/src/panicking.rs:80:14
2: panic_err
at ./vortex-error/src/lib.rs:539:9
3: slice_start_misaligned
at ./vortex-buffer/src/buffer.rs:991:5
4: slice_with_alignment<u8, core::ops::range::Range<usize>>
at ./vortex-buffer/src/buffer.rs:472:13
5: slice<u8, core::ops::range::Range<usize>>
at ./vortex-buffer/src/buffer.rs:418:14
6: bytes_at
at ./vortex-array/src/arrays/varbinview/array.rs:582:18
7: probe_scalar
at ./vortex-array/src/arrays/varbinview/vtable/operations.rs:28:51
8: probe_scalar_once<vortex_array::arrays::varbinview::vtable::VarBinView>
at ./vortex-array/src/array/mod.rs:503:9
9: execute_scalar_once
at ./vortex-array/src/array/probe/array.rs:90:27
10: execute_scalar
at ./vortex-array/src/array/probe/array.rs:55:34
11: execute_scalar
at ./vortex-array/src/array/erased.rs:285:22
12: {async_fn#0}
at ./fuzz/fuzz_targets/compress_gpu.rs:594:14
13: {closure#0}<compress_gpu::run_compress_gpu::{async_fn_env#0}>
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.54.1/src/runtime/scheduler/current_thread/mod.rs:830:70
14: with_budget<core::task::poll::Poll<core::result::Result<bool, vortex_fuzz::error::VortexFuzzError>>, tokio::runtime::scheduler::current_thread::{impl#9}::block_on::{closure#0}::{closure#0}::{closure_env#0}<compress_gpu::run_compress_gpu::{async_fn_env#0}>>
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.54.1/src/task/coop/mod.rs:167:5
15: budget<core::task::poll::Poll<core::result::Result<bool, vortex_fuzz::error::VortexFuzzError>>, tokio::runtime::scheduler::current_thread::{impl#9}::block_on::{closure#0}::{closure#0}::{closure_env#0}<compress_gpu::run_compress_gpu::{async_fn_env#0}>>
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.54.1/src/task/coop/mod.rs:133:5
16: {closure#0}<compress_gpu::run_compress_gpu::{async_fn_env#0}>
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.54.1/src/runtime/scheduler/current_thread/mod.rs:830:25
17: enter<core::task::poll::Poll<core::result::Result<bool, vortex_fuzz::error::VortexFuzzError>>, tokio::runtime::scheduler::current_thread::{impl#9}::block_on::{closure#0}::{closure_env#0}<compress_gpu::run_compress_gpu::{async_fn_env#0}>>
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.54.1/src/runtime/scheduler/current_thread/mod.rs:486:19
18: {closure#0}<compress_gpu::run_compress_gpu::{async_fn_env#0}>
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.54.1/src/runtime/scheduler/current_thread/mod.rs:829:44
19: {closure#0}<tokio::runtime::scheduler::current_thread::{impl#9}::block_on::{closure_env#0}<compress_gpu::run_compress_gpu::{async_fn_env#0}>, core::option::Option<core::result::Result<bool, vortex_fuzz::error::VortexFuzzError>>>
... (51 more frames truncated)
To reproduce, download the crash artifact to ~/Downloads and run these
commands from the repository root:
unzip ~/Downloads/compress_gpu-crash-artifacts.zip -d fuzz-artifacts
RUST_BACKTRACE=1 cargo +nightly fuzz run -D --sanitizer=none \
--features cuda compress_gpu \
fuzz-artifacts/compress_gpu/crash-0ef3f7f0067c674d743be412ffa0b7fae5b3dbf2 \
-- -rss_limit_mb=0
Auto-created by fuzzing workflow
- 主要語言
- Rust
- 星號
- 3.2k
- 分支
- 239
- 平均合併
- 1 天 4 小時
- 30 天內合併 PR
- 684
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
vortex-data/vortex 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 70/100
vortex-data/vortex#12633 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 77/100
vortex-data/vortex#12628 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 88/100
vortex-data/vortex#12491 ·
維護者通常 1 天內回覆
-
Fallible constructor for nested_case_when可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
vortex-data/vortex#11425 ·
維護者通常 1 天內回覆
-
難度 3/5 1-2 天 新手友好度 67/100
vortex-data/vortex#12635 ·
維護者通常 1 天內回覆
查看 vortex-data/vortex 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 83/100
valkey-io/valkey-glide#7975 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 65/100
marklauter/tsong#110 ·
-
docs enhancement
難度 2/5 1-3 小時 新手友好度 78/100
wasm-bindgen/wasm-bindgen#5503 · 1 則留言 ·
維護者通常 1 天內回覆
-
needs-triage
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆