Bug 365075 - Ark crashes while creating password-protected 7z and zip archives
Summary: Ark crashes while creating password-protected 7z and zip archives
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (other bugs)
Version First Reported In: 16.04.3
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-04 16:26 UTC by KDE Neon user
Modified: 2016-07-16 14:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 16.08.0
Sentry Crash Report:


Attachments
Backtrace (3.80 KB, text/plain)
2016-07-04 18:38 UTC, KDE Neon user
Details
Debug output (12.72 KB, text/plain)
2016-07-04 18:43 UTC, KDE Neon user
Details

Note You need to log in before you can comment on or make changes to this bug.
Description KDE Neon user 2016-07-04 16:26:01 UTC
KDE Neon 5.6. Plasma 5.6.5.

Reproducible: Always

Steps to Reproduce:
1. Launch Ark from the start menu or use the context menu action on Dolphin
2. Create a password-protected 7z or zip archive

Actual Results:  
Ark crashes


Another user has reported on Telegram that he managed to create a .7z file, but .zip still crashed Ark on his system.
Comment 1 Ragnar Thomsen 2016-07-04 17:22:47 UTC
Could you please provide some more information such as:
1. Your version of Ark.
2. The backtrace from the crash.
3. Please run Ark from terminal using the command "QT_LOGGING_RULES=ark.*.debug=true ark" and then do the steps that causes the crash and post the output here.
Comment 2 KDE Neon user 2016-07-04 18:38:06 UTC
Created attachment 99849 [details]
Backtrace
Comment 3 KDE Neon user 2016-07-04 18:43:50 UTC
Created attachment 99850 [details]
Debug output
Comment 4 KDE Neon user 2016-07-04 18:50:54 UTC
I've picked a file from my ramdisk for this test, but the source of the files is irrelevant. The same happens when I compress files already on the physical partition. This small file apparently was created successfully, but Ark still crashed at the end of the compression.
Comment 5 Elvis Angelaccio 2016-07-04 20:58:53 UTC
Thanks for reporting. I can reproduce the crash on the 16.04 branch, but not on master.
For now I'm confirming the report, but it's very unlikely that we manage to fix this on the 16.04 series (ark 16.04.3 is due in a couple days).
Comment 6 Elvis Angelaccio 2016-07-13 09:28:08 UTC
(In reply to Elvis Angelaccio from comment #5)
> Thanks for reporting. I can reproduce the crash on the 16.04 branch, but not
> on master.
> For now I'm confirming the report, but it's very unlikely that we manage to
> fix this on the 16.04 series (ark 16.04.3 is due in a couple days).

Ark 16.04 is over, marking as fixed in 16.08.
Comment 7 KDE Neon user 2016-07-13 12:31:23 UTC
@Elvis It's still present on 16.04.3 though. Will KDE Neon get this fix soon or only in August? I'm asking because of date in the version name.
Comment 8 Elvis Angelaccio 2016-07-13 12:41:20 UTC
(In reply to anewuser from comment #7)
> @Elvis It's still present on 16.04.3 though. Will KDE Neon get this fix soon
> or only in August? I'm asking because of date in the version name.

Unfortunately there is nothing we can do for 16.04.3
Neon User edition will get it in August, while the Git-Unstable Developer edition should already have the fixed version of Ark.
Comment 9 KDE Neon user 2016-07-13 19:48:25 UTC
I see. I'll wait then not to mess up things accidently. Thanks for fixing it.
Comment 10 KDE Neon user 2016-07-16 14:36:50 UTC
(In reply to Elvis Angelaccio from comment #8)

Can you check if Ark also no longer crashes when you try to extract a .rar file without having unrar installed? It happened to me with Ark 16.04.3 and a password-protected .rar.
Comment 11 Elvis Angelaccio 2016-07-16 14:39:21 UTC
(In reply to anewuser from comment #10)
> (In reply to Elvis Angelaccio from comment #8)
> 
> Can you check if Ark also no longer crashes when you try to extract a .rar
> file without having unrar installed? It happened to me with Ark 16.04.3 and
> a password-protected .rar.

Sure, but please open another report. If possible, try also to attach the backtrace from the crash.