[MacPorts] #36081: cctools: lipo assertion failure and crash
#36081: cctools: lipo assertion failure and crash -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mfeiri@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: cctools -------------------------------------+-------------------------------------- lipo provided by the cctools port sometimes has assertion failures and crashes: {{{ $ file /opt/local/lib/io/addons/AsyncRequest/CMakeFiles/progress.marks /opt/local/lib/io/addons/AsyncRequest/CMakeFiles/progress.marks: ASCII text $ lipo -info /opt/local/lib/io/addons/AsyncRequest/CMakeFiles/progress.marks Assertion failed: (length >=4 && "Invalid magic number length"), function IdentifyFileType, file Path.cpp, line 44. Abort trap: 6 $ which lipo /opt/local/bin/lipo $ port provides $(which lipo) /opt/local/bin/lipo is provided by: cctools $ port installed cctools The following ports are currently installed: cctools @829_0+llvm31 (active) $ }}} The lipo provided by Xcode doesn't crash; it correctly states: {{{ $ /usr/bin/lipo -info /opt/local/lib/io/addons/AsyncRequest/CMakeFiles/progress.marks /usr/bin/lipo: can't figure out the architecture type of: /opt/local/lib/io/addons/AsyncRequest/CMakeFiles/progress.marks }}} -- Ticket URL: <https://trac.macports.org/ticket/36081> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36081: cctools: lipo assertion failure and crash -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: cctools -------------------------------------+-------------------------------------- Changes (by jeremyhu@…): * owner: mfeiri@… => jeremyhu@… * status: new => assigned Comment: What version of cctools do you have in your XCode? IE what is reported by '/usr/bin/as -v' ? -- Ticket URL: <https://trac.macports.org/ticket/36081#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36081: cctools: lipo assertion failure and crash -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: cctools -------------------------------------+-------------------------------------- Comment(by jeremyhu@…): {{{ ~ $ /usr/bin/lipo -info text /usr/bin/lipo: can't figure out the architecture type of: text ~ $ /opt/local/bin/lipo -info text /opt/local/bin/lipo: can't figure out the architecture type of: text }}} Can you please try rebuilding cctools? It may need a revbump to pick up newer dyld_headers -- Ticket URL: <https://trac.macports.org/ticket/36081#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36081: cctools: lipo assertion failure and crash -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: cctools -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Replying to [comment:1 jeremyhu@…]:
What version of cctools do you have in your XCode? IE what is reported by '/usr/bin/as -v' ?
It's Xcode 4.4.1 with latest command line tools (no updates shown in Downloads section). {{{ $ /usr/bin/as -v Apple Inc version cctools-829, GNU assembler version 1.38 }}} -- Ticket URL: <https://trac.macports.org/ticket/36081#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36081: cctools: lipo assertion failure and crash -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: cctools -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Wait, no, it was on the Lion machine with Xcode 4.3.3. {{{ $ /usr/bin/as -v Apple Inc version cctools-822, GNU assembler version 1.38 }}} -- Ticket URL: <https://trac.macports.org/ticket/36081#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36081: cctools: lipo assertion failure and crash -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: cctools -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Replying to [comment:2 jeremyhu@…]:
Can you please try rebuilding cctools? It may need a revbump to pick up newer dyld_headers
In fact that worked! Thanks. -- Ticket URL: <https://trac.macports.org/ticket/36081#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36081: cctools: lipo assertion failure and crash --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: cctools | --------------------------------------+------------------------------------- Changes (by jeremyhu@…): * status: assigned => closed * resolution: => fixed Comment: Thanks. r97648 -- Ticket URL: <https://trac.macports.org/ticket/36081#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts