duckdb / duckdb-fuzzer

Repository that contains automatic reports of issues found through fuzzing DuckDB
0 stars 0 forks source link

/home/runner/work/duckdb-fuzzer-ci/duckdb-fuzzer-ci/src/common/types/value.cpp:1351:16: runtime error: load of value 160, which is not a valid value for type 'bool' #3255

Closed fuzzerofducks closed 1 month ago

fuzzerofducks commented 1 month ago

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

To Reproduce

create table all_types as select * exclude(small_enum, medium_enum, large_enum) from test_all_types() limit 0;
SELECT NULL, CAST(NULL AS ENUM('enum_0', 'enum_69999')), c1, NULL, EXISTS(SELECT DISTINCT NULL, c9, 'f4579d71-16ff-41c7-999e-44447a61083c', ("+"(c28, '3f207332-ed5a-45e0-b7e3-7e128ca8927b'::BLOB) BETWEEN (5968 > 8386) AND 5068), c1 FROM all_types AS t57(c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c21, c22, c23, c24, c25, c26, c27, c28, c29, c30, c31, c32, c33, c34, c35, c36, c37, c38, c39, c40, c41, c42, c43, c44, c45, c46, c47, c48, c49, c50, c51, c52, c53, c54, c55, c56) WHERE c28 USING SAMPLE 95034 (Bernoulli) OFFSET current_user()) FROM test_vector_types(41, all_flat := NULL) AS t2(c1) PIVOT (list_filter(c1, (c3 -> c3)), pg_opfamily_is_visible(c1), icu_collate_bg(main.list_value()) FOR (c1) IN (0, 2815, 9685, 3460, 5935)) WHERE c1 HAVING c1 LIMIT (c1) % OFFSET main.list_value()

Error Message

/home/runner/work/duckdb-fuzzer-ci/duckdb-fuzzer-ci/src/common/types/value.cpp:1351:16: runtime error: load of value 160, which is not a valid value for type 'bool'