Menu

#317 Crash when reopening project in which one of the files on disk has been shortened, or has been removed altogether

0.3.34
open
None
bug
All
2025-04-13
2017-01-29
No

Create project.
Trim one of the clips at the beginning (trim away > 10s)
Save.
Edit the underlying file for the trimmed clip (make it smaller than 10s).
Reopen project.
Crash
(getMaxAdjustEnd assert fails, because the offsetin the clip is now larger than the underlying data)

1 Attachments

Discussion

  • Eric Raijmakers

    Eric Raijmakers - 2017-01-29
    • Attachments has changed:

    Diff:

    --- old
    +++ new
    @@ -0,0 +1 @@
    +Vidiot_dbgrpt-1049756-20170108T162024.rpt (99.2 kB; application/octet-stream)
    
     
  • Eric Raijmakers

    Eric Raijmakers - 2017-01-29

    Original bug

     
  • Eric Raijmakers

    Eric Raijmakers - 2017-10-31

    See also this attachment: a lot of the file length in the metadatacache are 1 longer than the length as read on disk. This causes a crash when selecting 'details' for the fourth clip: getmaxadjustend fails (renderlength < length of clip)

     
  • Eric Raijmakers

    Eric Raijmakers - 2025-04-13
    • summary: Crash when reopening project in which one of the files on disk has been shortened --> Crash when reopening project in which one of the files on disk has been shortened, or has been removed altogether
     

Log in to post a comment.

MongoDB Logo MongoDB