Comments (13)
The custom-built SQLite works perfectly fine in QEMU Aarch64. This must be a problem with Deno FFI on Aarch64 because even a simple sqlite3_initialize
call doesn't work via FFI (but at the same time FFI is not completely broken either, I could call libc malloc easily). It's hard for me to debug this right now, I'll investigate this later.
from sqlite3.
So loading the binary works fine but trying to create Database object and using it results in segmentation fault? I don't have any Aarch64 Linux machine so this one would be hard to debug for me (VM is an option though).
from sqlite3.
Could you try building sqlite 3.40.1 locally and try using that binary?
from sqlite3.
I've managed to make SQLite3 ARM64 builds on CI but from my testing on QEMU locally, trying to load and call any SQLite lib function fails via Deno FFI regardless of its built in or custom built. This might be actually a problem with Deno (or its FFI) on ARM64. Anyhow, I'll try including Linux Arm64 binaries in next release, still worth trying out.
from sqlite3.
Related Issues (20)
- Unsafe pointer create exception HOT 4
- Bug in Reading Integers HOT 1
- Get one row as object HOT 3
- Getting this error for some reason HOT 8
- Error: Native SQLite3 library not found, try installing SQLite3 HOT 3
- not working inside docker HOT 4
- Support user-defined functions HOT 3
- Insertions in prepared statements need to be finalized to persist HOT 2
- empty string and NOT NULL constraint
- Segfault after close() (regression from 0.6.1) HOT 2
- Error running the example HOT 10
- Support extensions HOT 1
- Breaks with Deno v1.30 HOT 2
- TS Error when running the vendored code HOT 2
- `ext/` folder containing import helpers for common extensions HOT 1
- `ext/` folder containing import helpers for common extensions
- Use tagged releases of SQLite HOT 3
- Open database readOnly not working HOT 3
- Fts5 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlite3.