macOS code signature errors cause crash at startup

Bug #1761617 reported by Be
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Critical
Unassigned

Bug Description

Beta build 6647 is okay. See attached log.

Revision history for this message
Be (be.ing) wrote :
Changed in mixxx:
importance: Undecided → Critical
milestone: none → 2.1.0
Revision history for this message
Be (be.ing) wrote :

This happened once with one of the 2.1 beta builds then somehow the next build was fine...

Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

"code signature invalid for '/Applications/Mixxx.app/Contents/MacOS/../Frameworks/libchromaprint.1.3.0.dylib'"

@RJ: Do we need to update that dependency in the OSX build env?

Revision history for this message
Be (be.ing) wrote :

This looks like a recurrence of https://bugs.launchpad.net/mixxx/+bug/1730333 which mysteriously went away in future builds. I just manually triggered a new build.

Revision history for this message
Be (be.ing) wrote :

Build log shows:
Codesigning: osx64_build/Mixxx.app/Contents/Frameworks/libchromaprint.1.3.0.dylib
codesign -f -s 'Developer ID Application: Albert Santoni' --keychain /Users/mixxx/Library/Keychains/Mixxx.keychain osx64_build/Mixxx.app/Contents/Frameworks/libchromaprint.1.3.0.dylib

without any associated error. I don't know what's going on.

Revision history for this message
Be (be.ing) wrote :

Fixed by RJ:
"Just wiped the Jenkins workspace (which jenkins admins can do from the web interface) and restarted the mac VM. I also deleted the cached build environments so it'll re-download the golden environment."

Changed in mixxx:
status: New → Incomplete
status: Incomplete → Fix Committed
Revision history for this message
Foss-4 (foss-4) wrote :

bit confused so adding another data point:
2.1.0-rc1 (build 2.1 r6663) opens fine on my macbook pro. but maybe that's already the fixed build?

Revision history for this message
Foss-4 (foss-4) wrote :

And now I am even more confused:
 mixxx-2.1.0-rc1-2.1-git6663-release-macintel64.dmg

Downloaded today crashes on me with above error message. That build was created yesterday. But if I had another build earlier, why did about show the r6663 info I posted above?

So for me with latest 2.1 release build this is not fixed.

Revision history for this message
jus (jus) wrote :

Not fixed with the download available on website
"Mixxx" "2.1.0-rc1" "(git 2.1 r6655; built on: Apr 6 2018 @ 08:55:48
http://downloads.mixxx.org/builds/2.1/release/mixxx-2.1.0-rc1-2.1-release-macintel64-latest.dmg

and with the latest available build
``
$ /Applications/mixxx-2.1.0-rc1-2.1-git6663-release-macintel64.app/Contents/MacOS/Mixxx
dyld: Library not loaded: @executable_path/../Frameworks/libchromaprint.1.3.0.dylib
  Referenced from: /Applications/mixxx-2.1.0-rc1-2.1-git6663-release-macintel64.app/Contents/MacOS/Mixxx
  Reason: no suitable image found. Did find:
 /Applications/mixxx-2.1.0-rc1-2.1-git6663-release-macintel64.app/Contents/MacOS/../Frameworks/libchromaprint.1.3.0.dylib: code signature invalid for '/Applications/mixxx-2.1.0-rc1-2.1-git6663-release-macintel64.app/Contents/MacOS/../Frameworks/libchromaprint.1.3.0.dylib'

 /Applications/mixxx-2.1.0-rc1-2.1-git6663-release-macintel64.app/Contents/MacOS/../Frameworks/libchromaprint.1.3.0.dylib: stat() failed with errno=1
 /Applications/mixxx-2.1.0-rc1-2.1-git6663-release-macintel64.app/Contents/MacOS/../Frameworks/libchromaprint.1.3.0.dylib: code signature invalid for '/Applications/mixxx-2.1.0-rc1-2.1-git6663-release-macintel64.app/Contents/MacOS/../Frameworks/libchromaprint.1.3.0.dylib'

 /Applications/mixxx-2.1.0-rc1-2.1-git6663-release-macintel64.app/Contents/MacOS/../Frameworks/libchromaprint.1.3.0.dylib: stat() failed with errno=1
Abort trap: 6
``

Changed in mixxx:
status: Fix Committed → Confirmed
Revision history for this message
Be (be.ing) wrote :

I can confirm the latest build is not working again. I'm not sure what changed since the last working build.

RJ Skerry-Ryan (rryan)
summary: - 2.1 RC1 immediately crashes on macOS
+ macOS code signature errors cause crash at startup
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Disabled code signing (our DeveloperID cert is expired) and the latest build works.

Revision history for this message
Be (be.ing) wrote :

The latest build works. Curiously it also seems to be numbered 6663 like the last broken build.

Changed in mixxx:
status: Confirmed → Won't Fix
status: Won't Fix → Fix Committed
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/9220

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.