[MacPorts] #36490: cctools: lipo assertion failure and crash

MacPorts noreply at macports.org
Fri Oct 5 22:02:18 PDT 2012


#36490: cctools: lipo assertion failure and crash
--------------------------+------------------------
 Reporter:  ryandesign@…  |      Owner:  jeremyhu@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.1.2
 Keywords:                |       Port:  cctools
--------------------------+------------------------
 lipo is crashing again with an assertion failure on certain input files
 (files less than 4 bytes long). This is like #36081, except that
 rebuilding cctools has not helped.

 {{{
 $ echo hi > a
 $ /usr/bin/lipo -info a
 /usr/bin/lipo: can't figure out the architecture type of: a
 $ /opt/local/bin/lipo -info a
 Assertion failed: (length >=4 && "Invalid magic number length"), function
 IdentifyFileType, file Path.cpp, line 44.
 Abort trap: 6
 $ echo -n four > a
 $ /opt/local/bin/lipo -info a
 /opt/local/bin/lipo: can't figure out the architecture type of: a
 $ port provides $(which lipo)
 /opt/local/bin/lipo is provided by: cctools
 $ port installed cctools
 The following ports are currently installed:
   cctools @829_1+llvm31+universal (active)
 $
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/36490>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list