Menu

#238 Missing __PAGEZERO segment causes error on OSX Yosemite

None
pending-works-for-me
nobody
OSX (1)
5
2015-01-02
2014-11-19
FangQ
No

UPX 3.08 for Mac OSX generates a binary without the __PAGEZERO segment. This cases "Cannot enforce a hard page-zero" error on OSX Yosemite. Sample binary can be found here:

https://sourceforge.net/p/iso2mesh/code/401/tree/trunk/iso2mesh/bin/cgalmesh.mexmaci64?format=raw

running "otool -lV cgalmesh.mexmaci64" shows only the __TEXT segment.

Relevant discussions can be found at

http://stackoverflow.com/questions/26351831/os-x-app-that-runs-on-10-6-to-10-9-doesnt-run-on-10-10-yosemite-why

https://www.marshut.net/kshmnx/statically-linked-binaries-killed-by-signal-9-on-yosemite.html

https://groups.google.com/d/msg/iso2mesh-users/5kctBakrn_Y/Z88shCvaORsJ

Discussion

  • John Reiser

    John Reiser - 2015-01-02

    upx-3.08 was released on 12-Dec-2011, which is three years ago. The latest released version is upx-3.91 dated 30-Sep-2013, about 15 months ago. upx-3.91 generates the __PAGEZERO segment. Please use upx-3.91 or newer.

     
  • John Reiser

    John Reiser - 2015-01-02
    • status: open --> pending-works-for-me
     

Log in to post a comment.

MongoDB Logo MongoDB