Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on OS X 10.8.5 caused by lib tag.1.dylib #98

Open
sch4llfl3g3l opened this issue Jan 10, 2016 · 5 comments
Open

crash on OS X 10.8.5 caused by lib tag.1.dylib #98

sch4llfl3g3l opened this issue Jan 10, 2016 · 5 comments

Comments

@sch4llfl3g3l
Copy link

Drag 'n drop mp3 into GUI causes KeyFinder to crash on OS X 10.8.5 with the following error (shortened, full log file attached):

"Dyld Error Message:
Symbol not found: _OSAtomicDecrement32Barrier
Referenced from: /Applications/KeyFinder.app/Contents/MacOS/../Frameworks/libtag.1.dylib
Expected in: /usr/lib/libSystem.B.dylib"

FIX (in my case): compile taglib-1.10 for OS X 10.8 with CMake.app (GUI) + make (CLI), replace libtag.1.dylib inside the app package with the new compiled version (remove libtag.1.dylib, copy the 3 .dylib-files including the symlinks into there).

Attached is the source (from tag lib.github.io), the build dir with compiled dylib + symlinks (inside build/taglib), a Screenshot of CMake showing the compile-flags and the crash log.

As i had problems to find a proper HowTo for CMake GUI: to compile, first set the paths + flags in the GUI, then click "Generate" (i accidentally did "Generate" -> "Configure" -> "Generate" again). The next step cannot be done with the GUI: the GUI just creates the Makefile for OS X make. You have to cd to the chosen build-dir by Terminal.app and then run "make".
keyfinder_taglib_osx_10_8.zip

@mastoppa
Copy link

hello i am on OSX 10.8.5 and of course i have the same crash....
can you "translate" the solution in normal human language? ;-) i understand that it's about recompiling the source code with another "component" but cannot understand anything about the procedure....
are you not allowed to upload the compiled app with the 10.8.5 fix? if not could you please explain step by step what should i have to do with the files you uploaded?
thanks

@sch4llfl3g3l
Copy link
Author

Hi mastoppa, i attached the recompiled files to my post (keyfinder_taglib_osx_10.8.zip). Anyway: attached you find my fixed KeyFinder.app. Just use this until there is an official fix.
I found another problem few minutes ago: loading FLAC files also leads to a crash. In this case i don't get a distinct error log, so i have no clue what may be the reason … WAV and MP3 are working. I mostly use MP3 but FLAC is getting more and more important these Days.
KeyFinder.app.zip

@mastoppa
Copy link

It works!! THANKS A LOT!!!

Date: Thu, 14 Jan 2016 05:47:11 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [is_KeyFinder] crash on OS X 10.8.5 caused by lib tag.1.dylib (#98)

Hi mastoppa, i attached the recompiled files to my post (keyfinder_taglib_osx_10.8.zip). Anyway: attached you find my fixed KeyFinder.app. Just use this until there is an official fix.

I found another problem few minutes ago: loading FLAC files also leads to a crash. In this case i don't get a distinct error log, so i have no clue what may be the reason … WAV and MP3 are working. I mostly use MP3 but FLAC is getting more and more important these Days.

KeyFinder.app.zip


Reply to this email directly or view it on GitHub.

@sch4llfl3g3l
Copy link
Author

You're welcome. Open Source means users help each other and the developers.
I'm in luck to be a systems-admin & programmer. DJing is my hobby.
Am 16.01.2016 16:07 schrieb "mastoppa" [email protected]:

It works!! THANKS A LOT!!!

Date: Thu, 14 Jan 2016 05:47:11 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [is_KeyFinder] crash on OS X 10.8.5 caused by lib tag.1.dylib
(#98)

Hi mastoppa, i attached the recompiled files to my post
(keyfinder_taglib_osx_10.8.zip). Anyway: attached you find my fixed
KeyFinder.app. Just use this until there is an official fix.

I found another problem few minutes ago: loading FLAC files also leads to
a crash. In this case i don't get a distinct error log, so i have no clue
what may be the reason … WAV and MP3 are working. I mostly use MP3 but FLAC
is getting more and more important these Days.

KeyFinder.app.zip


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#98 (comment).

@james-mcgoodwin
Copy link

Have a similar report for MacOS X 10.9.5 here.

Same crash report and cause: libtag.1.dylib

I solved using Homebrew and essentially the same as above @mastoppa only I relied on Homebrew to download/compile the libtag library from it's repository.

This assumes:

  1. You want/have Homebrew installed
  2. Your Homebrew install has it's Cellar at this path: /usr/local/Cellar (see brew config to validate)

brew install libtag
cd '/Applications/KeyFinder.app/Contents/Frameworks'
rm libtag.1.dylib
INSTALLED_LIBTAG_VERSION=$(brew info --json=v1 libtag | python -c 'import json,sys;obj=json.load(sys.stdin);print obj[0]["installed"][0]["version"]')
cp /usr/local/Cellar/taglib/${INSTALLED_LIBTAG_VERSION}/lib/libtag.1.dylib libtag.1.dylib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants