Dolphin, the GameCube and Wii emulator - Forums

Full Version: _OSAtomicIncrement32Barrier missing on OSX 10.9.5
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3

Gallo

Hello my first post here. I'm getting this error just launching the newest Dolphin 5.0 binary downloaded from the site in OSX 10.9.5:

dyld: Symbol not found: _OSAtomicIncrement32Barrier
Referenced from: /Applications/Games/Dolphin.app/Contents/MacOS/./../Frameworks/libusb-1.0.0.dylib
Expected in: /usr/lib/libSystem.B.dylib

I'm compiling from sources right now (85%) to see how to fix it. Probably libSystem.B.dylib in OSX 10.9.5 is older (or newer) than the one you used to build/test the binary?
This has been already reported: https://forums.dolphin-emu.org/Thread-dolphin-5-0-crashes-on-startup-mac
Solution: Mac OS X 10.9 isn't supported, update it.
We never dropped 10.9 support formally as far as I know, but since 5.0 has this problem that makes it not work on 10.9, the 10.9 support might very well end up being formally dropped retroactively.

Gallo

Anyway I will try to fix it for 10.9, I'm also fixing two other things in order to compile and link, this error:

1. /Users/galloman/Documents/Proyectos/DolphinEmu/dolphin/Source/Core/DolphinWX/Config/GeneralConfigPane.cpp:28:4: current parser token ';'
2. /Users/galloman/Documents/Proyectos/DolphinEmu/dolphin/Source/Core/DolphinWX/Config/GeneralConfigPane.cpp:25:1: parsing function body 'GeneralConfigPane'
3. /Users/galloman/Documents/Proyectos/DolphinEmu/dolphin/Source/Core/DolphinWX/Config/GeneralConfigPane.cpp:25:1: in compound statement ('{}')
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal (use -v to see invocation)

Replacing the cpu_cores initialization by a more classic one.

And:

Undefined symbols for architecture x86_64:
"_png_set_longjmp_fn", referenced from:
TextureToPng(unsigned char*, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, int, bool) in libvideocommon.a(ImageWrite.cpp.o)
ld: symbol(s) not found for architecture x86_64

The png error is related to this: http://stackoverflow.com/questions/5190554/unresolved-external-png-set-longjmp-fn-in-libpng
I swear we unofficially dropped support for OSX 10.9 about a year ago, but I might be crazy cause I can't find the thread.
Sad fact, expect all environments as broken which are not checked by a buildbot. Our OSX buildbot was updated a while ago :/
That's also why we have such outdated ubuntu builds.
Hey Gallo, were you able to make any progress on getting this bug fixed, or finding some workaround?

I am also and OS X 10.9.5 and I am getting the same error message.

I have tried both Dolphin 5.0.321 and 5.0-424. I get the same error on both versions of the application, which crashes upon opening most every time. On the few times it does not crash, I have also seen the application open (its staying open in my dock) but the Dolphin window / menu never appears.

This is part of the main the error message that pops up from the crash report:
"Exception Type: EXC_BREAKPOINT (SIGTRAP)

Dyld Error Message:
Symbol not found: _OSAtomicIncrement32Barrier
Referenced from: /Volumes/VOLUME/Dolphin.app/Contents/MacOS/../Frameworks/libusb-1.0.0.dylib
Expected in: /usr/lib/libSystem.B.dylib"


What actually is _OSAtomicIncrement32Barrier? Can these files be downloaded and put in the right place in some way?

Other threads / information about the same issue:
https://bugs.dolphin-emu.org/issues/9631
https://forums.dolphin-emu.org/Thread-dolphin-5-0-crash

EDIT: From my understanding after looking at some more information... I could potentially get the application to open by instead downloading Dolphin from github, and then building it myself on Xcode, then it would use the library which would work with my operating system. Does that seem correct?

randomaccount6723

I found a way to make Dolphin 5.0 work on OS X 10.9.5. You just need to use a newer version of libusb (in Dolphin.app/Contents/Frameworks). I downloaded the source code for libusb (version 1.0.20) from their website and compiled it according to their instructions (in the INSTALL file). Note that you might have to use 'sudo make install' rather than just 'make install.'
Also, the final compiled library is found at usr/local/lib/libusb-1.0.0.dylib (even though it's actually version 1.0.20). I used the new dylib file to replace the one that came with Dolphin and it worked!

If you're a dev and you're reading this, please fix the Dolphin 5.0 download to work on Mavericks. Some of have reasons to not want to upgrade.
Does this pr work for you?
https://github.com/dolphin-emu/dolphin/pull/4150

If yes, can you comment on that pr, so it gets more attention?
Mimimi, I don't understand how to download a certain pull request from GitHub. There doesn't seem to be any way to do it from the page for the request. I think I have to go to the account that made the request and download from their page the one that is titled Dolphin? If I can figure out how to test it I will make an account and comment there if it worked.

EDIT: So I think I found out where to download it, but it just gives me a .zip of the folder and I have to build it myself. I would need to be told how to do that correctly. Is there somewhere I can just download the .dmg of the pull request already built?
Pages: 1 2 3