Segmentation fault when using the python library

XMLWordPrintableJSON

    • None
    • None

      Hey,
      I have installed mongodb using `apt-get install mongodb`.
      Then I copied the whole directory `/var/lib/mongodb` to another instance and tried to use `wiredtiger` python package. When I tried to open the directory, I got Segmentation Fault

      I ran those commands:

      In [1]: import wiredtiger
      
      In [2]: wiredtiger.wiredtiger_open("/var/lib/mongodb/", "readonly")
      application error event handler failed: Operation not permitted
      WiredTiger Error: Invalid argument: Error parsing '(1,0)' at offset 94489280512: Unexpected character
      [1603617984:313778][10864:0x7f348ea33740], txn-recover: __wt_txn_recover, 712: Recovery failed: Invalid argument
      corrupted size vs. prev_size
      Aborted (core dumped)
      

      Link to tar.gz of the mongodb directory:
      https://github.com/gilad-orca/wiredtiger/blob/dump/mongo_dump/mongo.tar.gz

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Gilad Sheffer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: