Bug 467654 - Akr fails to open some valid rar files saying: "The archive is empty or Ark could not open its content."
Summary: Akr fails to open some valid rar files saying: "The archive is empty or Ark c...
Status: REPORTED
Alias: None
Product: ark
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.12.3
Platform: Debian testing Other
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-21 15:53 UTC by local10
Modified: 2023-05-15 18:51 UTC (History)
2 users (show)

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


Attachments
Part 1: The output of "strace ark 2>&1 | tee strace.ark.rar.file.txt" (1.45 MB, text/plain)
2023-03-21 15:57 UTC, local10
Details
Part 2: The output of "strace ark 2>&1 | tee strace.ark.rar.file.txt" (2.89 MB, text/plain)
2023-03-21 15:57 UTC, local10
Details
Ark enabled plugins. (50.20 KB, image/png)
2023-05-15 18:41 UTC, local10
Details

Note You need to log in before you can comment on or make changes to this bug.
Description local10 2023-03-21 15:53:17 UTC
SUMMARY
Akr fails to open some valid rar fil es saying: "The archive is empty or Ark could not open its content." See the enclosed output of "strace ark 2>&1 | tee strace.ark.rar.file.txt" for details.

Running "unrar-free some.valid.rar.file.rar" unpacks the rar files without any issues.


SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-6-amd64 (64-bit)


$ aptitude show ark
Package: ark                             
Version: 4:22.12.3-1

$ aptitude show unrar-free
Package: unrar-free                      
Version: 1:0.1.3-1
Comment 1 local10 2023-03-21 15:57:24 UTC
Created attachment 157496 [details]
Part 1: The output of "strace ark 2>&1 | tee strace.ark.rar.file.txt"
Comment 2 local10 2023-03-21 15:57:59 UTC
Created attachment 157497 [details]
Part 2: The output of "strace ark 2>&1 | tee strace.ark.rar.file.txt"
Comment 3 local10 2023-03-21 16:05:14 UTC
The enclosed files show strace output when starting Ark from the command prompt and when Ark opens navigating to the "/tmp/deleteme" dir and then trying to open a valid rar file "some.valid.rar.file.rar"
Comment 4 Elvis Angelaccio 2023-05-15 17:11:59 UTC
Does it happen with all rar files or just some?

Any chance you can upload an affected file?

Also, please check which RAR plugin are you using (you can do it in the Ark settings).
Comment 5 local10 2023-05-15 18:40:28 UTC
> Does it happen with all rar files or just some?
> Any chance you can upload an affected file?

The issue only happens with some files. I can email you one of  the problem file if you provide me with an email address.

> Also, please check which RAR plugin are you using (you can do it in the Ark settings).

See the attached pic for enabled plug-ins.
Comment 6 local10 2023-05-15 18:41:32 UTC
Created attachment 158977 [details]
Ark enabled plugins.
Comment 7 local10 2023-05-15 18:51:48 UTC
> Also, please check which RAR plugin are you using (you can do it in the Ark settings).

Not sure how to do this from settings but:

$ aptitude search rar | grepci ^i
i A libkpimitinerary-data - library for Travel Reservation information - arch independent data
i A libkpimitinerary5 - library for Travel Reservation information
i  unrar-free - Unarchiver for .rar files