Public bug reported:

When I try to compress a file using lrzip's -z option (use zpaq
compressinon) I get 'Illegal instruction':

mario@diamond:/tmp/mario$ dd if=/dev/zero of=file bs=1024 count=300000
300000+0 records in
300000+0 records out
307200000 bytes (307 MB, 293 MiB) copied, 0.764671 s, 402 MB/s
mario@diamond:/tmp/mario$ lrzip -vz file 
The following options are in effect for this COMPRESSION.
Threading is ENABLED. Number of CPUs detected: 20
Detected 1097149841408 bytes ram
Compression level 7
Nice Value: 19
Show Progress
Verbose
Temporary Directory set as: .//
Compression mode is: ZPAQ. LZO Compressibility testing enabled
Heuristically Computed Compression Window: 6975 = 697500MB
Output filename is: file.lrz
File size: 307200000
Will take 1 pass
Beginning rzip pre-processing phase
Illegal instruction99%
mario@diamond:/tmp/mario$ 
mario@diamond:/tmp/mario$ uname -a
Linux diamond 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 17:05:51 UTC 2017 
ppc64le ppc64le ppc64le GNU/Linux
mario@diamond:/tmp/mario$ apt-cache policy lrzip
lrzip:
  Installed: 0.621-1
  Candidate: 0.621-1
  Version table:
 *** 0.621-1 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial/universe ppc64el 
Packages
        100 /var/lib/dpkg/status
mario@diamond:/tmp/mario$ 


I repeated this locally on my amd64 workstation, inside ppc64el lxc
container (trusty container as xenial container fails to start):


root@lrzip:/# dd if=/dev/zero of=file bs=1024 count=300000
300000+0 records in
300000+0 records out
307200000 bytes (307 MB) copied, 0.612377 s, 502 MB/s
root@lrzip:/# lrzip -vz file 
The following options are in effect for this COMPRESSION.
Threading is ENABLED. Number of CPUs detected: 8
Detected 33551245312 bytes ram
Compression level 7
Nice Value: 19
Show Progress
Verbose
Compression mode is: ZPAQ. LZO Compressibility testing enabled
Heuristically Computed Compression Window: 213 = 21300MB
Output filename is: file.lrz
File size: 307200000
Will take 1 pass
Beginning rzip pre-processing phase
Invalid instruction99%
NIP 00000040ffb19004   LR 00000000100333e8 CTR 00000040ffb19000 XER 
0000000020000000 CPU#2
MSR 8000000002806001 HID0 0000000000000000  HF 0000000002806001 idx 0
TB 00426606 1832260385397170
GPR00 0000000010033444 0000004081dde250 00000000100690e8 0000004081dde420
GPR04 0000000000000006 0000000000000bb4 0000000000000007 000000000000001c
GPR08 0000000000000006 00000040ffb19000 ffffffffffffffc3 000000000000004c
GPR12 00000040ffb19000 0000004081e018d0 0000000010067950 0000000000000001
GPR16 0000000000000060 000000001004c9f8 000000001004cae8 0000000010067dd0
GPR20 00000040c2087010 000000000208d556 000000001004c0a0 0000000000000000
GPR24 0000000000000000 00000000100679b0 000000001004bd80 0000000000000000
GPR28 0000004081dde420 0000000000000bb9 0000004081dfe420 0000004081dde420
CR 48004444  [ G  L  -  -  G  G  G  G  ]             RES ffffffffffffffff
FPR00 0000000000007fff 3ff000000000003a 4030000000000000 3bbcc86800000000
FPR04 3fc5555555555a0f 3d6a63f14df01aa8 3fe000004d7e6bb1 3ff0000eae18ac9f
FPR08 3ff0000400000000 3da0000155556aab 3e20f4bb065ef979 beaa5f1e88400000
FPR12 3ff0000000000000 3d2ef35793c76730 0000000000000000 0000000000000000
FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR28 0000000000000000 0000000000000000 3ff0000000000000 0000000000000000
FPSCR 0000000082004000
qemu: uncaught target signal 4 (Illegal instruction) - core dumped
Illegal instruction (core dumped)
root@lrzip:/# 

This container is running on trusty machine using 3.13.0-110 kernel, and
I've created it like this:

lxc-create -n lrzip -t ubuntu -- -a ppc64el -r trusty

** Affects: lrzip (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669069

Title:
  ltzip dies on ppc64el when using zpaq

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lrzip/+bug/1669069/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to