gzip from Ubuntu Jammy doesn't execute · Issue #8219 · microsoft/WSL (original) (raw)
Version
Microsoft Windows [Version 10.0.19044.1586]
WSL Version
- WSL 2
- WSL 1
Kernel Version
4.4.0-19041-Microsoft
Distro Version
Ubuntu 22.04 "Jammy Jellyfish"
Other Software
GZip version 1.10-4ubuntu3
and 1.10-4ubuntu4
amd64.
Repro Steps
apt install gzip=1.10-4ubuntu3
then rungzip
.apt install gzip=1.10-4ubuntu4
then rungzip
.
Expected Behavior
No error shows up.
Actual Behavior
sh: 1: gzip: Exec format error
The binary doesn't execute, so no strace
.
Diagnostic Logs
- Report on Launchpad: LP#1966849
- Possibly related: gzip from Ubuntu Eoan doesn't execute #4461.
Similar to that one, the same binary runs perfectly OK on a native Ubuntu Jammy machine. However, this time the binary is 97520 bytes and no section points outside this range.
Dissected binary using Wireshark: https://paste.ubuntu.com/p/nc2v6ZSRHW/
The previous version gzip 1.10-4ubuntu1
is fine, so I've installed that one instead and setting apt-mark hold
for now.
It's very interesting that only gzip
is found problematic. And it's the same program as 3 years ago. Time to wonder if gzip has any magic to break on WSL1.