Fuzzing Crash: VortexError in file_scan_expr
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- Ein halber Tag
- Anfängerfreundlichkeit
- 74/100
- Issue-Typ
- Bug
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- rust
- Bereich
- data-engineering
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
- 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
- Vorherrschende Sprache
- Rust
- Sterne
- 3.2k
- Forks
- 239
- Ø Merge
- 1 T. 4 Std.
- Gemergte PRs (30 T.)
- 684
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus vortex-data/vortex
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
vortex-data/vortex#12633 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
vortex-data/vortex#12628 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
vortex-data/vortex#12491 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Fallible constructor for nested_case_whenEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
vortex-data/vortex#11425 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 67/100
vortex-data/vortex#12635 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in vortex-data/vortex
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
marklauter/tsong#110 ·
-
docs enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
wasm-bindgen/wasm-bindgen#5503 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
marketing
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
area: engine bug needs milestone
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
Mudcrab-Team/mudcrab#1197 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag