Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ABORT THROWN BY INTERNAL EXCEPTION: ValidityMask::RowIsValid - row_idx 2048 is out-of-range for mask with capacity 2048 #3297

Closed
fuzzerofducks opened this issue Nov 26, 2024 · 0 comments · Fixed by duckdb/duckdb#14997
Assignees
Labels
bug Something isn't working

Comments

@fuzzerofducks
Copy link
Collaborator

Issue found by DuckFuzz on git commit hash using seed 454139362.

To Reproduce

call dbgen(sf=0.1);
SELECT DISTINCT nth_value(NULL, (c2 IS NOT NULL)) OVER (PARTITION BY 1585 ROWS BETWEEN CURRENT ROW AND CURRENT ROW) FROM part AS t10(c1, c2, c3, c4, c5, c6, c7, c8, c9) ORDER BY * ASC NULLS LAST

Error Message

ABORT THROWN BY INTERNAL EXCEPTION: ValidityMask::RowIsValid - row_idx 2048 is out-of-range for mask with capacity 2048
@hawkfish hawkfish self-assigned this Nov 26, 2024
@hawkfish hawkfish added the bug Something isn't working label Nov 26, 2024
hawkfish added a commit to hawkfish/duckdb that referenced this issue Nov 26, 2024
Fix indexing problem triggered when the partition size
is larger than the chunk size.

fixes: duckdb/duckdb-fuzzer#3297
Mytherin added a commit to duckdb/duckdb that referenced this issue Nov 27, 2024
Fix indexing problem triggered when the partition size is larger than
the chunk size.

fixes: duckdb/duckdb-fuzzer#3297
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants