Menu

#111 Segmentation fault on compression of PPC execuatable

closed-fixed
None
5
2008-07-16
2008-07-14
Anonymous
No

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.

Discussion

  • Nobody/Anonymous

    gzipped PPC image that causes the crash

     
  • Markus F.X.J. Oberhumer

    • assigned_to: nobody --> jreiser
     
  • John Reiser

    John Reiser - 2008-07-16
    • status: open --> closed-fixed
     
  • John Reiser

    John Reiser - 2008-07-16

    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.

     
  • Nobody/Anonymous

    Logged In: NO

    I compiled the hg tip and it fixed the problem on all the executables I had problems with. Thanks!

     

Log in to post a comment.

MongoDB Logo MongoDB