duckdb-wasm icon indicating copy to clipboard operation
duckdb-wasm copied to clipboard

"memory access out of bounds" after updating to 1.15.0

Open jzavala-gonzalez opened this issue 3 years ago • 0 comments

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.

screenshot of example error

Steps to reproduce the functioning example

  1. Clone duckdb-wasm-examples/sveltekit-typescript
  2. 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
  3. Start the example using npm run dev and confirm that all years work (click around and see that the speeches load)

Steps to reproduce the broken example

  1. Update duckdb-wasm to 1.15.0 using npm i @duckdb/duckdb-wasm
  2. Start the page again using npm run dev
  3. 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!

jzavala-gonzalez avatar Jul 18 '22 04:07 jzavala-gonzalez