Comments (8)
you have to rebuild leveldown, e.g.
cd node_modules/level/node_modules/leveldown && npm i
or maybe npm i
inside node_modules/level
, or maybe also node-gyp rebuild
inside the leveldown folder...:D
from leveldown.
As said in IRC: http://f.cl.ly/items/220V2D3F3V0W2i3r360K/Text%202013.08.22%2019%3A18%3A44.txt.
from leveldown.
hmm, so did @juliangruber's suggestion work?
from leveldown.
@dominictarr conversation is in ##leveldb atm
from leveldown.
Okay. Here's more to it: it only appears to happen if MSGPACK & LevelDown are alltogether included by the node app.
So, here's a list of errors we collected so far.
Sounds like information:
node: malloc.c:2451: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
Generic failures: (if MSGPACK is included; doesn't fail if either LevelDown is excluded or script is run in sudo
context which is schizophrene since the running user is root anyway..)
*** glibc detected *** node: free(): invalid pointer: 0x0000000002adb980 ***
System information:
Ubuntu 12 — Linux * 3.8.6-joyent-ubuntu-12-opt #1 SMP Tue Apr 9 01:13:00 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux — yields the assertion upon failure.
CentOS 6 — Linux * 2.6.32-279.1.1.el6.x86_64 #1 SMP Tue Jul 10 13:47:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux — only yields the generic failure information.
Might be a hint (found it through Google): http://pastebin.com/zLa3UEcM.
This is what fixed the issue for an issue in Lustre (they happened to stumble over it): http://review.whamcloud.com/#/c/4583/7/lustre/utils/lustre_rsync.c. (“One off allocation errors in lustre_rsync test program cause corruption of malloc arena and program faults.”)
from leveldown.
it should be mentioned that you're doing hot code swapping
from leveldown.
@juliangruber The hot swap is initiated manually on-demand.. that has no impact on the initialization of the app
from leveldown.
@KenanSulayman Is this still a problem? The please re-open if that's the case.
from leveldown.
Related Issues (20)
- Leveldown Stream HOT 7
- db.iterator() gt & lt HOT 2
- Inbuilt Encryption HOT 1
- Currency and Parallelism HOT 3
- Snappy compression HOT 4
- iteratorStream(db.iterator()) HOT 4
- Support more than 32bit ApproximateSize bindings HOT 4
- Find key createReadStream HOT 4
- support custom comparison function HOT 1
- Explanation of name in README? eg why is this called "leveldown" HOT 1
- Two Oparation HOT 3
- Possible memory leak in getMany? HOT 6
- Compiling legacy on arm HOT 1
- Question: iterate old entries? HOT 3
- `db.get()` doesn't read from a snapshot HOT 1
- Question: db.put() callback order HOT 2
- Operation ordering guarantee HOT 2
- macOS Catalina build errors HOT 1
- Raspbian Bullseye 64 Bit install error HOT 9
- Android cross-compilation errors 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 leveldown.