| Summary: | Gibberish error when extracting large file from zip archive | ||
|---|---|---|---|
| Product: | [Applications] krusader | Reporter: | Dan Dascalescu <ddascalescu+kde> |
| Component: | krarc | Assignee: | Krusader Bugs Distribution List <krusader-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | davide, krusader-bugs-null, toni.asensi |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/utilities/krusader/commit/48b385d255e00a75f406fb10d650cd03aeccae95 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: |
Weird error
16EiB error |
||
|
Description
Dan Dascalescu
2021-02-20 07:52:50 UTC
Created attachment 135940 [details]
16EiB error
After clicking Cancel in that error dialog, I see a dialog to overwrite the extracted file (.vmdk), with the text "The destination is smaller by 16.0 EiB). The source file is only ~6GiB.
Running `unzip` on the .zip file unpacked it without any errors (and the .vmdk was imported correctly by VMWare). Confirmed. The process fails, that doesn't happen e.g. dragging the aforementioned folder from Ark to Dolphin. There seems to be a communication error between krarc and unzip (I've found "QProcess: Destroyed while process ("/usr/bin/unzip") is still running." in user log).
I need to investigate furthermore.
A possibly relevant merge request was started @ https://invent.kde.org/utilities/krusader/-/merge_requests/44 Git commit 48b385d255e00a75f406fb10d650cd03aeccae95 by Toni Asensi Esteve.
Committed on 01/05/2021 at 18:17.
Pushed by asensi into branch 'master'.
Give time to external unpackers to uncompress very big files. Show more error messages
Notes:
1) A method in order to {check if the process is running} was used like the
one in <https://doc.qt.io/qt-5/qprocess.html>:
if (!builder.waitForFinished())
qDebug() << "Make failed:" << builder.errorString();
else
qDebug() << "Make output:" << builder.readAll();
2) An
error(KIO::ERR_SLAVE_DEFINED, i18n("After [...]
line was utilized, which is analogous to the
error(KIO::ERR_SLAVE_DEFINED, i18n("Copying to mtp slaves is still under development!"));
line in
https://github.com/KDE/kio-stash/blob/master/src/ioslave/ioslave.cpp
3) A `proc.waitForFinished(-1);` line was used, like two similar ones
in kmountman.cpp.
GUI: A new error message can be seen by the user.
FIXED: [ 433294 ] Gibberish error when extracting large file from zip archive
Revision: https://invent.kde.org/utilities/krusader/-/merge_requests/44
M +6 -1 krArc/krarc.cpp
https://invent.kde.org/utilities/krusader/commit/48b385d255e00a75f406fb10d650cd03aeccae95
|