duckdb-node
duckdb-node copied to clipboard
NodeJS 'duckdb' module SEGVs
What happens?
This NodeJS code that instantiates the DuckDB object SEGVs:
const duckdb = require("duckdb");
const db = new duckdb.Database(":memory:", {
"access_mode": "READ_WRITE",
"threads": "1"
}, (err) => {
console.log(err);
});
To Reproduce
- Run 'npm install --save duckdb'
- Create this trivial program as duckdb.js:
const duckdb = require("duckdb");
const db = new duckdb.Database(":memory:", {
"access_mode": "READ_WRITE",
"threads": "1"
}, (err) => {
console.log(err);
});
- Run 'node duckdb.js' which will fail with a segmentation fault.
This bug report is forwarded from this FreeBSD bug report.
OS:
FreeBSD 14.0
DuckDB Version:
Not sure what version NodeJS uses.
DuckDB Client:
NodeJS
Full Name:
Yuri Victorovich
Affiliation:
n/a
Have you tried this on the latest nightly build?
I have tested with a nightly build
Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?
- [X] Yes, I have