orifs crash

Issue #8 resolved
LightPulserTeam created an issue

Reproducable filesystem crash on file renaming:

  1. mount repository with 'orifs ./MyRepo'
  2. rename a file: 'mv file1 file2'
  3. do a snapshot : 'ori snapshot'

The filesystem will crash because of assertion violation in oripriv.cc(897): ASSERT(oldEntry != oldTree.end());

The suggested solution is to add the line: " info->type = FILETYPE_DIRTY; " in OriPriv::rename() somewhere after "paths[toPath] = info;"

Comments (3)

  1. Log in to comment