Description
Issue found by csv_multi_param_fuzzer
for duckdb commit hash 946a2bd1bf8a72997f3d8e99420790a6df17166a
- crashes found: 15
- hangs found: 4
Scenario
duckdb:
- SHA:
946a2bd1bf8a72997f3d8e99420790a6df17166a
- version:
v1.3.0-dev2212 946a2bd1bf
- ref:
main
fuzzer:
- scenrio:
csv_multi_param_fuzzer
- CI:
duckdblabs/duckdb-fuzzer-ci
->Fuzz DuckDb File Readers
-> run 14276794805 - reproduction files
Reproduction
steps:
- download the csv files generated by the fuzzer from https://github.com/duckdb/duckdb-fuzzer/tree/main/fuzz_result_duckdb_file_readers/run_14276794805/main-946a2bd1bf8a72997f3d8e99420790a6df17166a/csv_multi_param_fuzzer
git clone --no-checkout [email protected]:duckdb/duckdb-fuzzer.git afl_repr
cd afl_repr
git sparse-checkout set --no-cone fuzz_result_duckdb_file_readers/run_14276794805/main-946a2bd1bf8a72997f3d8e99420790a6df17166a/csv_multi_param_fuzzer
git checkout
-
copy the sqllogic test to a local duckdb repo; update the paths in the file to point to the location where you downloaded the csv files
https://github.com/duckdb/duckdb-fuzzer/tree/main/fuzz_result_duckdb_file_readers/run_14276794805/main-946a2bd1bf8a72997f3d8e99420790a6df17166a/csv_multi_param_fuzzer/csv_multi_param_fuzzer-946a2bd1bf8a72997f3d8e99420790a6df17166a.test
https://github.com/duckdb/duckdb-fuzzer/tree/main/fuzz_result_duckdb_file_readers/run_14276794805/main-946a2bd1bf8a72997f3d8e99420790a6df17166a/csv_multi_param_fuzzer/csv_multi_param_fuzzer-946a2bd1bf8a72997f3d8e99420790a6df17166a-hangs.test -
run the sqllogic tests to reproduce the error. Note that some crashes do not occur every run, so run multiple times if needed.