extracting rar archives sometime incomplete

Bug #2063397 reported by Jurgen Schellaert
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Autoar
New
Unknown
gnome-autoar (Ubuntu)
Triaged
High
Unassigned

Bug Description

Extraction of rar files (v5) from the context menu ("Extract") occasionally results in one or more subfolders silently being skipped.

This behavior is not systematic. Some rar archives extract properly, other ones do not.

There is not any warning or error message when the problem manifests, which make it likely that the problem goes overlooked. I have effectively sustained data loss until I discovered that one of my extracted folders was much smaller than it should have been.

I have unrar (non-free) and 7z installed.

Applications like file-roller and arqiver appear to function properly.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: nautilus 1:46.0-0ubuntu2
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Apr 25 05:26:17 2024
InstallationDate: Installed on 2022-03-27 (759 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220326)
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_nautilus:
 eiciel 0.10.0-1build2
 file-roller 44.1-1
 nautilus-extension-gnome-terminal 3.52.0-1ubuntu2
 python3-nautilus 4.0-1build4

Revision history for this message
Jurgen Schellaert (jurgen-schellaert-j) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Could you perhaps attach an example of archive triggering the bug?

Changed in nautilus (Ubuntu):
importance: Undecided → High
status: New → Incomplete
summary: - nautilus extract option causes date loss from rar archives
+ extracting rar archives sometime incomplete
Revision history for this message
Jurgen Schellaert (jurgen-schellaert-j) wrote :

Sadly, no. The archives in question are copyrighted so I doubt it would be a good idea to post them here in the open.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Setting back to new for now but it's going to be difficult to investigate without a way to trigger the issue :-/

Changed in nautilus (Ubuntu):
status: Incomplete → New
Revision history for this message
Jurgen Schellaert (jurgen-schellaert-j) wrote (last edit ):

I have tried to create an archive of my own to reproduce the problem. I think I have succeeded.

Check the included archive, which contains:
- 10 folders containing 10 (empty) text files
- a zip archive containing a single file filled with some data gleaned from /dev/random

observation:
- trying to inspect the contents with file-roller causes file-roller to crash
- extracting the file extracts only the contents of the zip archive (compare: extraction from the CLI with rar e)

more observations:
- I had to compress from the command line (with the rar utility) as nautilus consistently crashes if I try to compress through the context menu ("compress")
- the issue appears to match this report on reddit: https://www.reddit.com/r/gnome/comments/1btxk69/nautilus_crashing_when_selecting_multiple_files/

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, confirming that extracting that archive leads to described issues. You mentioned data loss in the original description so I guess the 'directory with empty files' might not be the only trigger but at least we have a base to work on

I've reported the file-roller segfault upstream now
https://gitlab.gnome.org/GNOME/file-roller/-/issues/243

Nautilus crashing when trying to compress is a known upstream issue fixes in 46.1 which we will SRU
https://gitlab.gnome.org/GNOME/nautilus/-/commit/6ea1f9ad

Changed in nautilus (Ubuntu):
status: New → Triaged
Revision history for this message
Sebastien Bacher (seb128) wrote :

The gnome-autoar test-extract utility has the same issue, I've reported that upstream now, https://gitlab.gnome.org/GNOME/gnome-autoar/-/issues/48

affects: nautilus (Ubuntu) → gnome-autoar (Ubuntu)
Changed in gnome-autoar:
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.