Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6829

Segmentation fault when using the python library

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      ['WiredTiger 3.2.1: (August 27, 2019)', 3, 2, 1]
      Installed on ubuntu18

      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:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            gilad@orca.security Gilad Sheffer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: