Red Hat Bugzilla – Bug 1309772
./lrzip -z COPYING crashed on ARMv7
Last modified: 2016-02-29 17:23:02 EST
The lrzip-0.621 has no tests. I tried to add a simple round-trip test into Fedora package that does: ./lrzip -z COPYING ./lrzip --info COPYING.lrz ./lrzip -d -o COPYING.new COPYING.lrz cmp COPYING COPYING.new and it turned out that the compression command segfaults at the end of compression on ARMv7. See [https://kojipkgs.fedoraproject.org//work/tasks/5807/13035807/build.log]: ------------------------------------------------------------------------ lrzip 0.621 ------------------------------------------------------------------------ Configuration Options Summary: ASM.(32 bit only)..: no Static binary......: no Documentation..........: no Compilation............: make (or gmake) CPPFLAGS.............: CFLAGS...............: -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard CXXFLAGS.............: -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard LDFLAGS..............: -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld Installation...........: make install (as root if needed, with 'su' or 'sudo') prefix...............: /usr + make -j4 [...] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.c7AUDz + umask 022 + cd /builddir/build/BUILD + cd lrzip-0.621 + ./lrzip -z COPYING Output filename is: COPYING.lrz Total: 1% Chunk: 1% Total: 2% Chunk: 2% [...] Total: 98% Chunk: 98% Total: 99% Chunk: 99% /var/tmp/rpm-tmp.c7AUDz: line 31: 24743 Segmentation fault (core dumped) ./lrzip -z COP
The problem is JIT that produces x86 code even on ARM.
lrzip-0.621-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-33f4e0bbfc
lrzip-0.616-5.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-eaff2c6d99
lrzip-0.621-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-33f4e0bbfc
lrzip-0.616-5.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-eaff2c6d99
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase
lrzip-0.616-5.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
lrzip-0.621-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.