coolzhao / py-leveldb

Automatically exported from code.google.com/p/py-leveldb
Other
0 stars 0 forks source link

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

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:52

GoogleCodeExporter commented 9 years ago
I managed to reproduce this. Will have a fix for you soon.

Original comment by arnim...@gmail.com on 28 Apr 2013 at 1:37

GoogleCodeExporter commented 9 years ago

Original comment by arnim...@gmail.com on 28 Apr 2013 at 5:15