Nautilus corrupts 7z archive files when extracting via 'Extract here' context menu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libarchive (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Disco |
Won't Fix
|
High
|
Unassigned |
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:
https:/
Re-zipped corrupted archive here:
https:/
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: nautilus 1:3.26.4-0ubuntu7.1
ProcVersionSign
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
GsettingsChanges:
b'org.
b'org.
b'org.
b'org.
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)
usr_lib_nautilus:
tags: | added: rls-dd-incoming |
tags: | removed: rls-dd-incoming |
Changed in libarchive (Ubuntu Disco): | |
status: | Triaged → Won't Fix |
The issue is with libarchive, installed libarchive-tools and trying to extract the archive with bsdtar gives that
'# bsdtar -xf TestWavFile.7z Sweep_1Hz_ 44000Hz_ -3dBFS_ 30s.wav: 7-Zip bad CRC: 0x5f2fe0a4 should be 0x2a268c5a Sweep_1Hz_ 48000Hz_ -3dBFS_ 30s.wav: 7-Zip bad CRC: 0x48c4d6a2 should be 0xb05eb55d Sweep_1Hz_ 88000Hz_ -3dBFS_ 30s.wav: 7-Zip bad CRC: 0x3f9e0eb1 should be 0xc82c61f7 Sweep_1Hz_ 96000Hz_ -3dBFS_ 30s.wav: 7-Zip bad CRC: 0xef123101 should be 0x79650d07 cuts_like_ a_knife_ 44KHz_16bit_ stereo_ SMALL.wav: 7-Zip bad CRC: 0x9c17a479 should be 0x2aed26ef
TestWavFile/
TestWavFile/
TestWavFile/
TestWavFile/
TestWavFile/
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)