Comments (7)
it also doesnt work with any other libev since lenny (libev 3.43) until sid (libev 4.04) with the same error.
all define ev_invoke as void ev_invoke(ev_loop*, void*, int) in /usr/include/ev.h
I'm very interested in finding out what libev version is required so that ev_invoke accepts ev_async* as the first argument?
from node-sqlite3.
solved it.
the issue is, that debian distributes libev with EV_MULTIPLICITY enabled. this means that the ev_invoke function takes three parameters instead of the two provided in src/async.h where the first parameter is an ev_loop.
the author of node-sqlite seems to use a libev with EV_MULTIPLICITY disabled.
to make it work with both EV_MULTIPLICITY settings, one has to use the EV_DEFAULT_UC_ macro like this:
--- a/src/async.h
+++ b/src/async.h
@@ -53,7 +53,7 @@ public:
}
inline ~Async() {
- ev_invoke(&watcher, ev_async_pending(&watcher));
+ ev_invoke(EV_DEFAULT_UC_ &watcher, ev_async_pending(&watcher));
pthread_mutex_destroy(&mutex);
ev_async_stop(EV_DEFAULT_UC_ &watcher);
}
from node-sqlite3.
Yep, looks like that fixes it!
from node-sqlite3.
dude - why would you close a bugreport if it is not yet fixed???
from node-sqlite3.
lol, totally hit the wrong button :D
from node-sqlite3.
cool! now lets just hope that Konstantin is not too annoyed by all this spam in his inbox ^^
from node-sqlite3.
Sorry, this went under on my notifications page :/ I've been able to compile node-sqlite3 on lenny just fine, but since that code is what is implied anyway, I just committed this change in 6127c75 and published v2.0.14.
from node-sqlite3.
Related Issues (20)
- Not safe for use concurrently from multiple async scopes HOT 4
- @npmcli/move-file is deprecated, use @npmcli/fs instead HOT 2
- finalize is necessary
- Bug creating foreign key
- when i run test my extension get error in init use sqlite
- Running Sequelize on Bun using sqlite3 produces undefined symbol: uv_close error HOT 1
- How to obtain the fragmented size of a sqlite database
- v5.1.7 changes the usage of a binary mirror (incompatibly)
- Too many non-runtime dependencies after installation
- Add character offset to error message
- How install sqlite3 package manually after electron-packager on linux for windows
- electron v30.0.1 install error HOT 3
- Getting "Could not locate the bindings file" when trying to open DB in Angular 17 SSR project (ExpressJs) HOT 1
- Couldn't be built successfully HOT 1
- IOT instruction node testing.js
- Install on Vercel: warning "[email protected]" has no binaries
- node-sqlite3 package not supported for Cross platform
- sqlite3 installs but fails on require/import in mingw64 HOT 2
- sqlite fts feature
- pnpm i sqlite3 WITH AttributeError: 'NoneType' object has no attribute 'groupdict' HOT 1
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 node-sqlite3.