-
-
Notifications
You must be signed in to change notification settings - Fork 818
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation Fault Under Node v0.11.14 #352
Comments
Same here under fedora 20 & travis-ci 😞 |
For what it's worth, it appears to be some sort of issue with the precompiled binding. If I Here's the backtrace when using the "bad" binding:
|
@jaswilli - thanks for that realization - it makes sense because latest node-sqlite3 binaries were packaged against node v0.11.13 and not v0.11.14. Reading nodejs/node-v0.x-archive#5789 seems to confirm that each patch-level odd-numbered (e.g. unstable) node.js release may break ABI without incrementing the
I think 2) would be the most solid solution and 4) is necessary long term way to avoid a breakage like this (although it would introduce other breakages since it is not realistic to support binaries for every patch release of unstable node.js releases!). |
I completely agree.
I certainly don't need a new version of Thanks for all your work on this project. It's a great package and always very easy to work with. |
Closing as I believe this was a version incompatibility issue with unstable node, and this should no longer be a problem. |
I'm running into a segfault under ArchLinux x64 (3.16.3-1-ARCH). I downloaded a fresh copy of Node from the Node dist site (http://nodejs.org/dist/v0.11.14/) and proceeded to do an
npm install
for a sqlite-based website app that works fine under v0.11 on Windows x64. When running the app I get a segfault. I tracked down the seqfault to the initial load of the dbs in my app (the are no other lines invoking the sqlite3 library before these lines)...The following code is in LiveScript.
Here's the output:
The application runs fine under Windows 8.1 x64 with Node v0.11.14. It also runs fine under ArchLinux x64 with Node v0.10.32. Just not Linux with v0.11.14, it seems. I also tried adding the git repository directly into package.json (
"sqlite3": "git://github.com/developmentseed/node-sqlite3.git"
) with no effect. I'd really like to use sqlite3 with Node v0.11.14, if possible. Does anyone know what could be going on here?Thank you!
The text was updated successfully, but these errors were encountered: