Bug 420712 - Dolphin crashes and corrupts file system when decompressing large zip
Summary: Dolphin crashes and corrupts file system when decompressing large zip
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 20.04.0
Platform: openSUSE Linux
: NOR major
Target Milestone: ---
Assignee: arshad.husain1@gmail.com
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-28 17:47 UTC by David
Modified: 2020-12-17 20:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2020-04-28 17:47:24 UTC
SUMMARY
Dolphin crashes when trying to decompress a large zip file with many small files inside, crashing the whole system along. The issue is not present when unzipping through the command line utility "unzip", nor when using other file browsers.

STEPS TO REPRODUCE
1. Create a large zip file consisting of many small files.
2. Decompress said zip file through dolphin's ark "extract" menu in a different location

OBSERVED RESULT
At first, dolphin hangs, then crashes the whole system requiring a forced poweroff, and corrupts the file system.

EXPECTED RESULT
Should decompress the file successfully.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 5.18.4 and 5.17.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.5
Comment 1 arshad.husain1@gmail.com 2020-04-30 07:48:08 UTC
Is it possible to give an example zip file that you described in your summary for testing? Also, can I confirm your distro being openSUSE? 
(In reply to David from comment #0)
> SUMMARY
> Dolphin crashes when trying to decompress a large zip file with many small
> files inside, crashing the whole system along. The issue is not present when
> unzipping through the command line utility "unzip", nor when using other
> file browsers.
> 
> STEPS TO REPRODUCE
> 1. Create a large zip file consisting of many small files.
> 2. Decompress said zip file through dolphin's ark "extract" menu in a
> different location
> 
> OBSERVED RESULT
> At first, dolphin hangs, then crashes the whole system requiring a forced
> poweroff, and corrupts the file system.
> 
> EXPECTED RESULT
> Should decompress the file successfully.
> 
> SOFTWARE/OS VERSIONS
> Linux/KDE Plasma:
> (available in About System)
> KDE Plasma Version: 5.18.4 and 5.17.5
> KDE Frameworks Version: 5.62.0
> Qt Version: 5.12.5
Comment 2 David 2020-04-30 08:13:04 UTC
(In reply to arshad.husain1@gmail.com from comment #1)
> Is it possible to give an example zip file that you described in your
> summary for testing? Also, can I confirm your distro being openSUSE? 
> (In reply to David from comment #0)
> > SUMMARY
> > Dolphin crashes when trying to decompress a large zip file with many small
> > files inside, crashing the whole system along. The issue is not present when
> > unzipping through the command line utility "unzip", nor when using other
> > file browsers.
> > 
> > STEPS TO REPRODUCE
> > 1. Create a large zip file consisting of many small files.
> > 2. Decompress said zip file through dolphin's ark "extract" menu in a
> > different location
> > 
> > OBSERVED RESULT
> > At first, dolphin hangs, then crashes the whole system requiring a forced
> > poweroff, and corrupts the file system.
> > 
> > EXPECTED RESULT
> > Should decompress the file successfully.
> > 
> > SOFTWARE/OS VERSIONS
> > Linux/KDE Plasma:
> > (available in About System)
> > KDE Plasma Version: 5.18.4 and 5.17.5
> > KDE Frameworks Version: 5.62.0
> > Qt Version: 5.12.5

It's not possible unfortunately, and would be rather big files (>50gb). Happens with both OpenSuSe and Debian.
Comment 3 JSladek 2020-12-17 20:22:07 UTC
I am seeing the same thing on PCLinuxOS when I use Ark and the decompressed files overwrite files at the destination AND the option "Apply to all" is check marked.  Until that point, I can overwrite each item as it is presented.

The same crash occurs with Dolphin when copying folders with subfolders and there is any overwrite detected.

I have not had any system crashes occur with either event, but I do have "extraction" or Copy" of files Failed and in Konsole will get a "segmentation fault"
Comment 4 JSladek 2020-12-17 20:33:27 UTC
Just noticed that this bug report is for Dolphibn 20.04.0

The problem I am describing is for Dolphin 20.12.0-2pclos2021