You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I switched my codebase to the experimental COI implementation, and all extension loading began to fail with:
Error: IO Error: Extension "https://extensions.duckdb.org/v1.1.2/wasm_threads/parquet.duckdb_extension.wasm" could not be loaded: Could not load dynamic lib: parquet
LinkError: WebAssembly.Instance(): Import #3541 "env" "memory": mismatch in shared state of memory, declared = 0, imported = 1
My instantiation is as follows:
import*asduckdbfrom'@duckdb/duckdb-wasm';importduckdb_pthread_workerfrom"@duckdb/duckdb-wasm/dist/duckdb-browser-coi.pthread.worker.js?url";importcoi_workerfrom'@duckdb/duckdb-wasm/dist/duckdb-browser-coi.worker.js?url';importeh_workerfrom'@duckdb/duckdb-wasm/dist/duckdb-browser-eh.worker.js?url';importmvp_workerfrom'@duckdb/duckdb-wasm/dist/duckdb-browser-mvp.worker.js?url';importduckdb_wasm_coifrom'@duckdb/duckdb-wasm/dist/duckdb-coi.wasm?url';importduckdb_wasm_ehfrom'@duckdb/duckdb-wasm/dist/duckdb-eh.wasm?url';importduckdb_wasmfrom'@duckdb/duckdb-wasm/dist/duckdb-mvp.wasm?url';constMANUAL_BUNDLES: duckdb.DuckDBBundles={mvp: {mainModule: duckdb_wasm,mainWorker: mvp_worker},eh: {mainModule: duckdb_wasm_eh,mainWorker: eh_worker},coi: {mainModule: duckdb_wasm_coi,mainWorker: coi_worker,pthreadWorker: duckdb_pthread_worker},};constlogger=newduckdb.ConsoleLogger();constbundle=awaitduckdb.selectBundle(MANUAL_BUNDLES);constworker=newWorker(bundle?.mainWorkerasstring);constdb=newduckdb.AsyncDuckDB(logger,worker);awaitdb.instantiate(bundle?.mainModuleasstring,bundle?.pthreadWorkerasstring);// Confirmed that this logs the COI modulesconsole.log('Using DuckDB bundle: ',bundle);
(Interestingly, I get a different error when I try to load the spatial extension: the fetch call errors with a 403 forbidden, this may be a different error entirely)
To Reproduce
See above instantiation code. I've tested this on 1.92.0, 1.29.1-dev13.0, 1.28.1-dev297.0, and 1.28.1.
Browser/Environment:
Chrome 130
Device:
Macbook Pro
DuckDB-Wasm Version:
1.92.0, 1.29.1-dev13.0, 1.28.1-dev297.0, and 1.28.1
DuckDB-Wasm Deployment:
Loaded locally, installed via NPM, extensions from extensions.duckdb.org
Full Name:
Adam Miller
Affiliation:
Universe
The text was updated successfully, but these errors were encountered:
What happens?
I switched my codebase to the experimental COI implementation, and all extension loading began to fail with:
My instantiation is as follows:
(Interestingly, I get a different error when I try to load the
spatial
extension: the fetch call errors with a 403 forbidden, this may be a different error entirely)To Reproduce
See above instantiation code. I've tested this on
1.92.0
,1.29.1-dev13.0
,1.28.1-dev297.0
, and1.28.1
.Browser/Environment:
Chrome 130
Device:
Macbook Pro
DuckDB-Wasm Version:
1.92.0
,1.29.1-dev13.0
,1.28.1-dev297.0
, and1.28.1
DuckDB-Wasm Deployment:
Loaded locally, installed via NPM, extensions from extensions.duckdb.org
Full Name:
Adam Miller
Affiliation:
Universe
The text was updated successfully, but these errors were encountered: