https://bugs.openldap.org/show_bug.cgi?id=9274
Issue ID: 9274 Summary: sample-mdb.txt SIGSEGV Product: LMDB Version: 0.9.22 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: liblmdb Assignee: bugs@openldap.org Reporter: txtoth@gmail.com Target Milestone: ---
Running on centos7. Installed lmdb, lmdb-libs and lmdb-devel version 0.9.22-2 from the EPEL repo. Copied code from: https://github.com/LMDB/lmdb/blob/mdb.master/libraries/liblmdb/sample-mdb.tx...
Compiled: gcc -g -o sample-mdb -llmdb sample-mdb.c
gdb sample-mdb (gdb) r Program received signal SIGSEGV, Segmentation fault. 0x00007ffff79c2d91 in mdb_txn_renew0 () from /lib64/liblmdb.so.0.0.0 (gdb) where #0 0x00007ffff79c2d91 in mdb_txn_renew0 () from /lib64/liblmdb.so.0.0.0 #1 0x00007ffff79c4454 in mdb_txn_begin () from /lib64/liblmdb.so.0.0.0 #2 0x0000000000400b29 in main (argc=1, argv=0x7fffffffe0d8) at sample-mdb.c:34 (gdb)
https://bugs.openldap.org/show_bug.cgi?id=9274
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Howard Chu hyc@openldap.org --- (In reply to txtoth from comment #0)
Running on centos7. Installed lmdb, lmdb-libs and lmdb-devel version 0.9.22-2 from the EPEL repo. Copied code from: https://github.com/LMDB/lmdb/blob/mdb.master/libraries/liblmdb/sample-mdb.tx...
Compiled: gcc -g -o sample-mdb -llmdb sample-mdb.c
Files with .txt suffix are meant to be read by humans, not compiled and run.
Closing this.
https://bugs.openldap.org/show_bug.cgi?id=9274
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED