Bug 365870

Summary: [Libarchive] Ark hangs when aborting a DeleteJob
Product: [Applications] ark Reporter: Elvis Angelaccio <elvis.angelaccio>
Component: pluginsAssignee: Ragnar Thomsen <rthomsen6>
Status: RESOLVED FIXED    
Severity: crash CC: elvis.angelaccio
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 16.08.3
Sentry Crash Report:

Description Elvis Angelaccio 2016-07-19 16:36:48 UTC
See steps below.

Reproducible: Always

Steps to Reproduce:
1. Open a huge tar-based archive
2. Delete some file from it
3. Cose Ark while the Job is still running

Actual Results:  
Ark hangs, the process seems still running (I get 25% cpu load from the ark process).

Expected Results:  
Ark should quit gracefully

CLI-based archives are not affected.
Comment 1 Elvis Angelaccio 2016-10-21 12:46:00 UTC
Git commit d587749dbdb1f13cd497934d15388488bc199c2b by Elvis Angelaccio.
Committed on 21/10/2016 at 12:41.
Pushed by elvisangelaccio into branch 'Applications/16.08'.

libarchive: properly kill DeleteJobs

Use m_abortOperation like the other jobs do.
FIXED-IN: 16.08.3

M  +1    -1    plugins/libarchive/readwritelibarchiveplugin.cpp

http://commits.kde.org/ark/d587749dbdb1f13cd497934d15388488bc199c2b