Comments (3)
Hi @khanhhua
This error comes when non-ldt bin is used for a LDT operation. For example, when one tries to add a value to a bin, which is not LDT bin, server returns this error.
And are you setting policy value when creating the LargeList? I tried reproducing the same error, but could not. Could you share the sample piece of code that produces this segfault to help us debug further.
Thanks
from aerospike-client-nodejs.
I am getting the same error
The code is from sample node.js Answers section of the exercises
// Read User record
var key = {
ns: "test",
set: "users",
key: answer.username
};
// Retrieve the record using the key.
client.get(key, function(err, record, metadata, key) {
if(err.code===0){
console.log("FOUND : " + JSON.stringify(record));
}else{
console.log("NOT_FOUND - " + JSON.stringify(err));
}
client.close();
});
The result:
? What would you like to do: Read User Record
********** Read User Record **********
? Enter username: user2341
Error : {"code":2,"message":"AEROSPIKE_ERR_RECORD_NOT_FOUND","func":"as_command_parse_result","file":"src/main/aerospike/as_command.c","line":915}
node(8707,0x7fff7d82c300) malloc: *** error for object 0x1018b4600: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
Interesting enough, one time using same code and same username, the record WAS found
? What would you like to do: Read User Record
********** Read User Record **********
? Enter username: user241
FOUND : {"username":"user241","password":"pwd241","gender":"m","region":"s","tweetcount":0,"lasttweeted":0,"interests":["Camping","Camping","Travel"]}
node(8696,0x7fff7d82c300) malloc: *** error for object 0x102027800: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
I am on Mac OS Yosemite, using latest version of Node.js
from aerospike-client-nodejs.
Closing out this old issue.
from aerospike-client-nodejs.
Related Issues (20)
- Typescript file missing in npm package? HOT 2
- aerospike-client-nodejs on MacOS builds successfully but doesn't work HOT 4
- Fix code scanning alert - Clear-text logging of sensitive information HOT 1
- Incompatibility between client version 5.0.2 and Ubuntu 18.04 HOT 1
- Docs: Broken "Client" doumentation HOT 1
- Version 5.1.1 breaks using Docker HOT 1
- Can't launch the library on macOS. HOT 3
- Error: Running aerospike client on Arm64(aarch) on MacOS HOT 7
- What is the latest version of Aerospike goes with Ubuntu 18.04 HOT 2
- error TS2304: Cannot find name 'Class' HOT 12
- Does aerospike-client-nodejs need python on runtime as well? HOT 1
- I cant install on windows 10 HOT 2
- Issue with using client.operate with policy exists: AS.policy.exists.CREATE HOT 1
- Serialized and blocking connection
- Unable to install aerospike with nexus3 HOT 16
- Unable to install v5.9.0 with yarn, published version requires "npm-run-all" HOT 3
- System's openssl version since static linking in v5.6.0 HOT 4
- Missing 'bool/AS_EXP_TYPE_BOOL' in exp bin type HOT 2
- Unable to use pnpm package manager because of preinstall script of the package HOT 2
- Client.close(true) does not release underlying event loop 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 aerospike-client-nodejs.