| Summary: | *.kim export file has a size limit of ~4GB | ||
|---|---|---|---|
| Product: | [Applications] kphotoalbum | Reporter: | Andreas Schleth <schleth_es> |
| Component: | Import/Export | Assignee: | KPhotoAlbum Bugs <kphotoalbum-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | rsquared42 |
| Priority: | NOR | ||
| Version First Reported In: | GIT master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Andreas Schleth
2025-11-16 16:28:33 UTC
I exported an personal folder with 5.4G of images and videos.
$ unzip -t 2017.kim
Archive: 2017.kim
warning [2017.kim]: 4294967296 extra bytes at beginning or within zipfile
(attempting to process anyway)
file #1: bad zipfile offset (local header sig): 4294967296
(attempting to re-compensate)
testing: Images/imgp0465.mov OK
error: not enough memory for bomb detection
At least one error was detected in 2017.kim.
$ 7z -t 2017.kim
...
WARNING = 32-bit overflow in headers
...
Interestingly, my command-line zip (from Info-Zip) is built with LARGE_FILE_SUPPORT and can create a valid zip file of the same folder. $ unzip -qt images/2017.zip No errors detected in compressed data of images/2017.zip. $ echo $? 0 $ ls -l images/2017.zip -rw-rw-r-- 1 me me 5686177599 Dec 5 12:18 images/2017.zip So this is a limitation of KZip. A possibly relevant merge request was started @ https://invent.kde.org/graphics/kphotoalbum/-/merge_requests/61 |