The attached file is a PPC Linux executable. With UPX 3.03, upx crashed with a segmentation fault during compression. I've tried both the prebuilt Linux and Windows versions of upx. The executable runs just fine on a PPC.
I have generated other compressed PPC images that work fine. For some reason, about 1 in 10 executables cause this segementation fault.
Please let me know if there is any addtional information that could help. I have not tried earlier versions of UPX.
gzipped PPC image that causes the crash
Logged In: YES
user_id=33687
Originator: NO
The UPX source code omitted endian conversion in a few places. This has been fixed in Revision: 1982, currently at the tip of the Mercurial ("hg") repository http://upx.sourceforge.net/cgi-bin/hgwebdir.cgi/upx.hg . The fix will appear in the next release of UPX; until then, use the source.
Logged In: NO
I compiled the hg tip and it fixed the problem on all the executables I had problems with. Thanks!