shuttler/nessDB — Issue #34: EXISTS after REMOVE crash nessDB in Lua and Python binding
Author: ogoudron
Created: 2012-02-21 17:49:53+00:00
State: open

This Python code :

import nessdb

db=nessdb.NessDB("test.db")
db.db_add("key","value")
print db.db_get("key")
print db.db_exists("key")
db.db_remove("key")
print db.db_exists("key")
db.db_close()

Cause nessDB to crash at "print db.db_exists("key")" with this message :

*** glibc detected *** python: free(): invalid pointer: 0xb737d0b0 ***

I have the same problem with my Lua binding.

Olivier.