Fuzzing Crash: VortexError in file_scan_expr
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 74/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- rust
調査の方向性
Start with vortex-array/src/stream/adapter.rs, where poll_next asserts that the scanned array type matches the expected decimal type, and inspect fuzz/scan_expr.rs for the failing input path. Download the crash artifact and run the provided cargo +nightly fuzz run file_scan_expr command to reproduce it. The change is done when the crash no longer occurs and a regression test or fuzz case covers the nullable decimal mismatch.
索引モデルが issue の本文から書いたものです。
説明
- Crash File:
crash-3b8b11f047fd49534761259d26f20177ef735cf5 - Commit: 97bccab7dd728e209d8362d9a587b121dd3726ad
- Crash Artifact: https://github.com/vortex-data/vortex/actions/runs/46782629204/artifacts/15565166268
Target crashed at vortex-array/src/stream/adapter.rs:55:poll_next:
assertion `left == right` failed: ArrayStreamAdapter expected array with type {=decimal(71,70)?}?, actual {=decimal(71,70)}?
left: Struct(StructFields { names: FieldNames([FieldName("")]), dtypes: [FieldDType { inner: Owned(Decimal(DecimalDType { precision: 71, scale: 70 }, NonNullable)) }] }, Nullable)
right: Struct(StructFields { names: FieldNames([FieldName("")]), dtypes: [FieldDType { inner: Owned(Decimal(DecimalDType { precision: 71, scale: 70 }, Nullable)) }] }, Nullable)
Stack trace
stack backtrace:
1: core::panicking::panic_fmt
at /rustc/8eb778d04094d3af4b26580cab327e0413eb1e02/library/core/src/panicking.rs:80:14
2: core::panicking::assert_failed_inner
3: core::panicking::assert_failed::<&vortex_array::dtype::DType, &mut vortex_array::dtype::DType>
at /home/runner/.rustup/toolchains/nightly-2026-11-13-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:407:5
4: poll_next<vortex_layout::scan::scan_builder::LazyScanStream<vortex_array::array::erased::ArrayRef>>
at ./vortex-array/src/stream/adapter.rs:55:13
5: poll_next<alloc::boxed::Box<(dyn futures_core::stream::Stream<Item=core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-core-0.3.34/src/stream.rs:130:33
6: poll_next_unpin<core::pin::Pin<alloc::boxed::Box<(dyn futures_core::stream::Stream<Item=core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>>
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.34/src/stream/stream/mod.rs:1637:24
7: poll<core::pin::Pin<alloc::boxed::Box<(dyn futures_core::stream::Stream<Item=core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>>
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.34/src/stream/stream/next.rs:32:21
8: poll<&mut futures_util::stream::stream::next::Next<core::pin::Pin<alloc::boxed::Box<(dyn futures_core::stream::Stream<Item=core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>>>
at /home/runner/.rustup/toolchains/nightly-2026-11-13-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:133:9
9: poll<core::option::Option<core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>>, core::pin::Pin<&mut futures_util::stream::stream::next::Next<core::pin::Pin<alloc::boxed::Box<(dyn futures_core::stream::Stream<Item=core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>>>, async_executor::{impl#13}::run::{async_fn#0}::{async_block_env#0}<core::option::Option<core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>>, core::pin::Pin<&mut futures_util::stream::stream::next::Next<core::pin::Pin<alloc::boxed::Box<(dyn futures_core::stream::Stream<Item=core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>>>>>
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-lite-2.6.1/src/future.rs:451:46
10: {async_fn#0}<core::option::Option<core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>>, core::pin::Pin<&mut futures_util::stream::stream::next::Next<core::pin::Pin<alloc::boxed::Box<(dyn futures_core::stream::Stream<Item=core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>>>>
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-executor-1.14.1/src/lib.rs:761:32
11: {async_fn#0}<core::option::Option<core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>>, core::pin::Pin<&mut futures_util::stream::stream::next::Next<core::pin::Pin<alloc::boxed::Box<(dyn futures_core::stream::Stream<Item=core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>>>>
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-executor-1.14.1/src/lib.rs:348:34
12: {closure#1}<core::option::Option<core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>>, async_executor::{impl#5}::run::{async_fn_env#0}<core::option::Option<core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>>, core::pin::Pin<&mut futures_util::stream::stream::next::Next<core::pin::Pin<alloc::boxed::Box<(dyn futures_core::stream::Stream<Item=core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>>>>>
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-io-2.6.0/src/driver.rs:204:53
13: try_with<core::cell::RefCell<(parking::Parker, core::task::wake::Waker, alloc::rcs::arc::Arc<core::sync::atomic::Atomic<bool>, alloc::alloc::Global>)>, async_io::driver::block_on::{closure_env#1}<core::option::Option<core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>>, async_executor::{impl#5}::run::{async_fn_env#0}<core::option::Option<core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>>, core::pin::Pin<&mut futures_util::stream::stream::next::Next<core::pin::Pin<alloc::boxed::Box<(dyn futures_core::stream::Stream<Item=core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>>>>>, core::option::Option<core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>>>
at /home/runner/.rustup/toolchains/nightly-2026-11-13-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:470:12
14: with<core::cell::RefCell<(parking::Parker, core::task::wake::Waker, alloc::rcs::arc::Arc<core::sync::atomic::Atomic<bool>, alloc::alloc::Global>)>, async_io::driver::block_on::{closure_env#1}<core::option::Option<core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>>, async_executor::{impl#5}::run::{async_fn_env#0}<core::option::Option<core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>>, core::pin::Pin<&mut futures_util::stream::stream::next::Next<core::pin::Pin<alloc::boxed::Box<(dyn futures_core::stream::Stream<Item=core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>>>>>, core::option::Option<core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>>>
at /home/runner/.rustup/toolchains/nightly-2026-11-13-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:434:20
15: block_on<core::option::Option<core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>>, async_executor::{impl#5}::run::{async_fn_env#0}<core::option::Option<core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>>, core::pin::Pin<&mut futures_util::stream::stream::next::Next<core::pin::Pin<alloc::boxed::Box<(dyn futures_core::stream::Stream<Item=core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>>>>>
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-io-2.6.0/src/driver.rs:180:11
16: drive<futures_util::stream::stream::next::Next<core::pin::Pin<alloc::boxed::Box<(dyn futures_core::stream::Stream<Item=core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>>>
at ./vortex-io/src/runtime/current.rs:162:5
17: next<core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>>
at ./vortex-io/src/runtime/current.rs:175:9
18: next<vortex_io::runtime::current::CurrentThreadIterator<core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>>>
at ./vortex-array/src/iter.rs:55:20
19: {closure#0}<vortex_array::iter::ArrayIteratorAdapter<vortex_io::runtime::current::CurrentThreadIterator<core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>>>, file_scan_expr::_::__libfuzzer_sys_run::{closure_env#0}>
at ./fuzz/scan_expr.rs:88:26
20: run<vortex_array::iter::ArrayIteratorAdapter<vortex_io::runtime::current::CurrentThreadIterator<core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>>>, file_scan_expr::_::__libfuzzer_sys_run::{closure_env#0}>
at ./fuzz/scan_expr.rs:93:9
... (30 more frames truncated)
To reproduce, download the crash artifact to ~/Downloads and run these
commands from the repository root:
unzip ~/Downloads/file_scan_expr-crash-artifacts.zip -d fuzz-artifacts
RUST_BACKTRACE=1 cargo +nightly fuzz run -D --sanitizer=none \
file_scan_expr \
fuzz-artifacts/file_scan_expr/crash-3b8b11f047fd49534761259d26f20177ef735cf5 \
-- -rss_limit_mb=0
Auto-created by fuzzing workflow
- 主要言語
- Rust
- スター
- 3.2k
- フォーク
- 239
- 平均マージ
- 1日 4時間
- マージ済み PR(30日)
- 684
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 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時間 初心者へのやさしさ 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 日以内に返信
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
area: engine bug needs milestone
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Mudcrab-Team/mudcrab#1197 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信