Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Crash on MacOS when ~/Library/Application Support/Bitcoin is a link #2434
=> instead of blindly trying to create the "Bitcoin" directory, look for symlinks
Process: Bitcoin-Qt 
Date/Time: 2013-04-01 09:29:48.032 +0200
Interval Since Last Report: 514711 sec
Exception Type: EXC_CRASH (SIGABRT)
Application Specific Information:
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
Thread 1: Dispatch queue: com.apple.libdispatch-manager
Thread 0 crashed with X86 Thread State (32-bit):
Model: MacBookPro4,1, BootROM MBP41.00C1.B03, 2 processors, Intel Core 2 Duo, 2.5 GHz, 6 GB, SMC 1.27f3
I would recommend creating a BSD hardlink instead. Reading up on alias (an Apple "shortcut" file, not using any *nix construct), it looks potentially dangerous anyway, as it can search your hard drive when files are changed, and might just as easily pick another datadir:
"Since any of these properties can change without the computer's knowledge, as a result of user activity, various search algorithms are used to find the most plausible target. This fault-tolerance sets the alias apart from similar functions in some other operating systems, such as the Unix symbolic link or the Microsoft Windows shortcut, at the expense of increased complexity and unpredictability." (wikipedia)
@gavinandresen: they are more than symlinks, they are designed not to (easily) break if you move the target.
@qubez You cannot - from the GUI - create hard or symlinks in MacOS. As a Mac user, you create Aliases. Symlinking worked for me, but how many Maccies will go to the terminal and symlink the new position of the Bitcoins folder?
it would be fixable... but i'm not sure if it's worth.
One way would be:
If someone thinks, this is worth coding,.. i'll do it. :)