Bug 436492 - Archiving project to zip generates corrupt zip-file
Summary: Archiving project to zip generates corrupt zip-file
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: 21.04.3
Platform: Other Microsoft Windows
: NOR major
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-02 15:26 UTC by Arno Rog
Modified: 2021-08-02 15:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
fritzibaby: timeline_corruption+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arno Rog 2021-05-02 15:26:13 UTC
SUMMARY
Archiving to zip creates corrupt zip-file

STEPS TO REPRODUCE
1. Open project
2. Archive to zip (no other options selected)

OBSERVED RESULT
A zip-file (21.8 GB) is created.
Testing the zip via 7zip gives the following error: 
Header Error
Unconfirmed start of archive
Warnings:
There are some data after the end of the payload data
The mp4 in the zip is truncated(!) and unusable!

EXPECTED RESULT
a zip-file which does not contain errors 

SOFTWARE/OS VERSIONS
Windows: Windows 10 Pro / 20H2 / 19042.928
KDEnlive: 20.12.3

ADDITIONAL INFORMATION
This error is 100% reproducable for different projects
Archiving to tar.gz does not give an error
Comment 1 emohr 2021-05-02 15:45:08 UTC
Thank you for reporting. A couple of archiving issues are fixed in the meantime. Please try with the nightly build to see if your issue is fixed.

https://kdenlive.org/en/download/ -> scroll down and choose standalone version for testing.
Comment 2 Arno Rog 2021-07-23 13:23:56 UTC
Version 21.04.3 still generates a corrupt zip archive file (Win10)
Comment 3 emohr 2021-07-23 14:37:39 UTC
Zip version was updated in the package lately (on Win7 it works). Please test with tomorrow's nightly build if the backup zip file is still corrupt: https://binary-factory.kde.org/job/Kdenlive_Nightly_mingw64/
Comment 4 Arno Rog 2021-07-27 10:37:32 UTC
Tested with nightly build 21.11.70
(Non blocking) errors while extracting tar or zip (using 7zip 64bit)
zip: 'Warning: 32-bit overflow in headers'
tar: 'unexpected end of data'

kdiff does not show any difference in the extracted files
Comment 5 emohr 2021-07-28 15:54:44 UTC
So you are saying with the daily build it works beside the warnings? Nevertheless can you upload here a small backup zip-file which "contains" the error?
Comment 6 Arno Rog 2021-08-02 10:07:06 UTC
I'm trying to reproduce the error with freely available video and audio files, but to no avail (even projects larger than 1 GB archive correctly).
My projects are usually larger than 5 GB.
Since I'm unable to help, (the problem is not solved) I'll close the story and make my archives uncompressed and compress them later.
Comment 7 emohr 2021-08-02 15:01:53 UTC
Thank you for the feedback. Yes this is a good workaround.