byzhang / leveldb

Automatically exported from code.google.com/p/leveldb
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Segmentation fault ? It was py-leveldb bug ? or levelDB bug? #162

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
[root@localhost leveldb]# python
Python 2.6.7 (r267:88850, Apr 25 2013, 16:12:30) 
[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> leveldb
<module 'leveldb' from 
'/root/.python-eggs/leveldb-0.1-py2.6-linux-x86_64.egg-tmp/leveldb.so'>

>>> import leveldb
>>> db = leveldb.LevelDB('./db')
>>> dir(db.RangeIter())
Segmentation fault

leveldb version was 1.9

Original issue reported on code.google.com by ChuanTon...@gmail.com on 27 Apr 2013 at 7:54

GoogleCodeExporter commented 9 years ago
May I suggest you try Plyvel instead? It has more API coverage and a lot of 
tests. See https://plyvel.readthedocs.org/ for more information.

Original comment by wouter.b...@gmail.com on 27 Apr 2013 at 10:26

GoogleCodeExporter commented 9 years ago
Without further evidence, assuming this is a bindings issue.

Original comment by dgrogan@chromium.org on 29 May 2013 at 2:35

GoogleCodeExporter commented 9 years ago
I can verify that this was a bindings issue and has been fixed since April 29.

https://code.google.com/p/py-leveldb/source/detail?r=68

Original comment by arnim...@gmail.com on 29 May 2013 at 6:16