vhbit / lmdb-rs

Rust bindings for LMDB
MIT License
114 stars 47 forks source link

Crashing due to mdb_freelist_save #59

Open flipchan opened 4 years ago

flipchan commented 4 years ago

lmdb is segment faulting in the function mdb_freelist_save

When debugging with rust-gdb:


[New Thread 0x7ffff47df700 (LWP 18986)]
mdb/libraries/liblmdb/mdb.c:3067: Assertion 'pglast <= env->me_pglast' failed in mdb_freelist_save()

Thread 62 "worker_0" received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff47df700 (LWP 18986)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb)

anyone had the same problem?

erthink commented 4 years ago

I suggest migrating to MDBX, where this and other errors are fixed.