duckdb-wasm
duckdb-wasm copied to clipboard
"memory access out of bounds" after updating to 1.15.0
Overview
Hi, I was updating some modules in a repo for duckdb-wasm-examples and I found that updating @duckdb/duckdb-wasm from 1.14.4 to 1.15.0 broke the example's capability to read parts of the parquet file being used. The UI of the example allows one to display/filter entries by year, and when attempting to select past a certain year a "memory access out of bounds" error would pop up and no access to any of the data would work including those years that functioned previously.

Steps to reproduce the functioning example
- Clone duckdb-wasm-examples/sveltekit-typescript
- Run a clean install using
npm ci. It must be clean so it installs duckdb-wasm 1.14.4 instead of skipping over to 1.15.0 - Start the example using
npm run devand confirm that all years work (click around and see that the speeches load)
Steps to reproduce the broken example
- Update duckdb-wasm to 1.15.0 using
npm i @duckdb/duckdb-wasm - Start the page again using
npm run dev - Click through some years: earlier than 1959 seem to still work fine but past 1959 tend to crash the example.
Please feel free to let me know if I should clarify anything or narrow down the steps. Thank you for any help you can offer!