Bug 380984 - Ark crashed while opening rar file from Dolphin
Summary: Ark crashed while opening rar file from Dolphin
Status: RESOLVED DUPLICATE of bug 364976
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 17.04.1
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-08 18:25 UTC by Peter Ped Helcmanovsky
Modified: 2017-06-11 17:46 UTC (History)
1 user (show)

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


Attachments
backtrace (~340kB) (344.82 KB, text/plain)
2017-06-08 18:25 UTC, Peter Ped Helcmanovsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Ped Helcmanovsky 2017-06-08 18:25:11 UTC
Created attachment 105995 [details]
backtrace (~340kB)

Application: ark (17.04.1)

Qt Version: 5.7.1
Frameworks Version: 5.34.0
Operating System: Linux 4.4.0-79-generic x86_64
Distribution: KDE neon User Edition 5.10

-- Information about the crash:
- What I was doing when the application crashed:

1) going through folders in Dolphin to the folder where I have ~1GiB rar file
2) clicking on it with LMB to open it (to check content)
3) Ark does crash almost instantly

RAR packages installed: rar unrar-free

Additional info about the rar file:
`rar t file.rar` works, ends with "All OK", the file contains roughly 10k files in about 1k folders, including names like "RetroMusicCollection/2017/IT.To Eslaria (3'06)".
`unrar -t file.rar` works as well, listing the ~10k file names.

The crash can be reproduced every time.

---
Tried to submit through the crash report tool at first, but got rejected due to final message being over 64ki limit.
Comment 1 Peter Ped Helcmanovsky 2017-06-08 18:50:49 UTC
After removing unrar-free package, and adding unrar package, the Ark does not crash any more, and opens the list of files from the rar.
Comment 2 Peter Ped Helcmanovsky 2017-06-08 19:03:18 UTC
Doing one more test, I created tiny text file (echo "dd" > a), rar-ed it with regular rar, and tried to test/list it with unrar-free, it seemingly worked.

Then I tried to actually extract it with unrar-free, and instead of text file an empty folder was created on disk with the "a" name.

So the unrar-free (1:0.0.1+cvs20140707-1) looks to be completely useless, more like a trap. Was there working version back then? Will there be? Maybe ark should conflict with unrar-free package, if it's broken like this.

Then again, the crash is still happening on Ark side. Uselessness of unrar-free is different topic.
Comment 3 Elvis Angelaccio 2017-06-08 19:39:44 UTC
Yes, unrar-free is unmantained and we dropped support for it a while ago. Ideally ark shouldn't crash if someone is using it, but honesty I'm not sure whethet that's worth fixing. The best fix here would be removing unrar-free from debian/ubuntu repositories.
Comment 4 Elvis Angelaccio 2017-06-11 17:46:02 UTC
*** This bug has been marked as a duplicate of bug 364976 ***