Nautilus corrupts 7z archive files when extracting via 'Extract here' context menu

Bug #1814109 reported by munbi on 2019-01-31
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libarchive (Ubuntu)

Bug Description

Nautilus corrupts 7z archive files when extracting via 'Extract here' context menu.
Extractions completes without errors, but the files are corrupted (mangled bytes, wrong size).
This does happen only when extracting with 'Extract here' context menu action.
Using 7z or p7zip via command line or opening the archive via file-roller and then drag&dropping
single files or directory to a folder works well.
This only happens with this particular archive, others 7z archives are extracted correctly.

Original 7z archive:

Re-zipped corrupted archive here:

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: nautilus 1:3.26.4-0ubuntu7.1
ProcVersionSignature: Ubuntu 4.18.0-13.14-generic 4.18.17
Uname: Linux 4.18.0-13-generic x86_64
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Jan 31 15:03:45 2019
 b'org.gnome.nautilus.window-state' b'sidebar-width' b'222'
 b'org.gnome.nautilus.window-state' b'geometry' b"'1133x703+51+273'"
 b'org.gnome.nautilus.desktop' b'trash-icon-visible' b'false'
 b'org.gnome.nautilus.desktop' b'volumes-visible' b'false'
InstallationDate: Installed on 2018-05-31 (245 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
SourcePackage: nautilus
UpgradeStatus: Upgraded to cosmic on 2018-10-20 (103 days ago)

munbi (gabriele) wrote :
Sebastien Bacher (seb128) wrote :

The issue is with libarchive, installed libarchive-tools and trying to extract the archive with bsdtar gives that

'# bsdtar -xf TestWavFile.7z
TestWavFile/Sweep_1Hz_44000Hz_-3dBFS_30s.wav: 7-Zip bad CRC: 0x5f2fe0a4 should be 0x2a268c5a
TestWavFile/Sweep_1Hz_48000Hz_-3dBFS_30s.wav: 7-Zip bad CRC: 0x48c4d6a2 should be 0xb05eb55d
TestWavFile/Sweep_1Hz_88000Hz_-3dBFS_30s.wav: 7-Zip bad CRC: 0x3f9e0eb1 should be 0xc82c61f7
TestWavFile/Sweep_1Hz_96000Hz_-3dBFS_30s.wav: 7-Zip bad CRC: 0xef123101 should be 0x79650d07
TestWavFile/cuts_like_a_knife_44KHz_16bit_stereo_SMALL.wav: 7-Zip bad CRC: 0x9c17a479 should be 0x2aed26ef
bsdtar: Error exit delayed from previous errors.'

installing p7zip-full and extracting with it indeed gives different file content (which is what file-roller is doing)

affects: nautilus (Ubuntu) → libarchive (Ubuntu)
Sebastien Bacher (seb128) wrote :
Changed in libarchive (Ubuntu):
importance: Undecided → High
status: New → Triaged
tags: added: rls-dd-incoming
tags: removed: rls-dd-incoming
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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