Skip to content

deadlock in org.fusesource.lmdbjni.JNI.mdb_txn_begin? #70

@jayenashar

Description

@jayenashar

I'm trying to convert from my old db to lmdb, using 8 threads in parallel. There's about 20000 entries, but after about 6000 org.fusesource.lmdbjni.Database#put(byte[], byte[])s, I either hit a SIGSEGV or the threads lock up all with this stack trace:

      at org.fusesource.lmdbjni.JNI.mdb_txn_begin(JNI.java:-1)
      at org.fusesource.lmdbjni.Env.createTransaction(Env.java:453)
      at org.fusesource.lmdbjni.Env.createWriteTransaction(Env.java:411)
      at org.fusesource.lmdbjni.Database.put(Database.java:394)
      at org.fusesource.lmdbjni.Database.put(Database.java:386)

I'm using my fork of 0.4.7-SNAPSHOT. Increasing the map size works, but I would have expected a MDB_MAP_FULL instead of a hang.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions