With master branch:
* thread #1: tid = 0x18bf98, 0x00007fff951b3fcf libsystem_platform.dylib`OSSpinLockLock + 7, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0x100001f18)
* frame #0: 0x00007fff951b3fcf libsystem_platform.dylib`OSSpinLockLock + 7
frame #1: 0x00007fff8b70477d libsystem_pthread.dylib`pthread_mutex_destroy + 25
frame #2: 0x0000000100045e85 sfml-system`sf::priv::MutexImpl::~MutexImpl() + 21
frame #3: 0x0000000100045e65 sfml-system`sf::priv::MutexImpl::~MutexImpl() + 21
frame #4: 0x0000000100036ccd sfml-system`sf::Mutex::~Mutex() + 45
frame #5: 0x0000000100036c95 sfml-system`sf::Mutex::~Mutex() + 21
frame #6: 0x00000001000097cc sfml-audio`sf::Music::~Music() + 108
frame #7: 0x0000000100009755 sfml-audio`sf::Music::~Music() + 21
frame #8: 0x0000000100000e35 a.out`main + 389
frame #9: 0x00007fff8da4c5c9 libdyld.dylib`start + 1
frame #10: 0x00007fff8da4c5c9 libdyld.dylib`start + 1
thread #2: tid = 0x18bfb9, 0x00007fff9185522e libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
frame #0: 0x00007fff9185522e libsystem_kernel.dylib`kevent64 + 10
frame #1: 0x00007fff8d384d91 libdispatch.dylib`_dispatch_mgr_invoke + 247
frame #2: 0x00007fff8d384a6a libdispatch.dylib`_dispatch_mgr_thread + 52
thread #3: tid = 0x18bfba, 0x00007fff91854946 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff91854946 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff8b704757 libsystem_pthread.dylib`_pthread_wqthread + 869
frame #2: 0x00007fff8b7024a1 libsystem_pthread.dylib`start_wqthread + 13
thread #4: tid = 0x18bfbb, 0x00007fff91854946 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff91854946 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff8b704757 libsystem_pthread.dylib`_pthread_wqthread + 869
frame #2: 0x00007fff8b7024a1 libsystem_pthread.dylib`start_wqthread + 13
thread #5: tid = 0x18bfbc, 0x00007fff91854946 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff91854946 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff8b704757 libsystem_pthread.dylib`_pthread_wqthread + 869
frame #2: 0x00007fff8b7024a1 libsystem_pthread.dylib`start_wqthread + 13
thread #6: tid = 0x18bfbd, 0x00007fff91854946 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff91854946 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff8b704757 libsystem_pthread.dylib`_pthread_wqthread + 869
frame #2: 0x00007fff8b7024a1 libsystem_pthread.dylib`start_wqthread + 13
thread #7: tid = 0x18bfcd, 0x00007fff9184f52e libsystem_kernel.dylib`mach_msg_trap + 10, name = 'com.apple.audio.IOThread.client'
frame #0: 0x00007fff9184f52e libsystem_kernel.dylib`mach_msg_trap + 10
frame #1: 0x00007fff9184e69f libsystem_kernel.dylib`mach_msg + 55
frame #2: 0x00007fff97cb4980 CoreAudio`HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned int, unsigned int, mach_msg_header_t*, bool, unsigned int) + 98
frame #3: 0x00007fff97cb490e CoreAudio`HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 42
frame #4: 0x00007fff97cb2f60 CoreAudio`HALC_ProxyIOContext::IOWorkLoop() + 952
frame #5: 0x00007fff97cb2b0e CoreAudio`HALC_ProxyIOContext::IOThreadEntry(void*) + 88
frame #6: 0x00007fff97cb29eb CoreAudio`HALB_IOThread::Entry(void*) + 157
frame #7: 0x00007fff8b7042fc libsystem_pthread.dylib`_pthread_body + 131
frame #8: 0x00007fff8b704279 libsystem_pthread.dylib`_pthread_start + 176
frame #9: 0x00007fff8b7024b1 libsystem_pthread.dylib`thread_start + 13
With no libsndfile branch:
* thread #1: tid = 0x18c937, 0x00007fff951b3fcf libsystem_platform.dylib`OSSpinLockLock + 7, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0x100001f18)
* frame #0: 0x00007fff951b3fcf libsystem_platform.dylib`OSSpinLockLock + 7
frame #1: 0x00007fff8b70477d libsystem_pthread.dylib`pthread_mutex_destroy + 25
frame #2: 0x0000000100045e85 sfml-system`sf::priv::MutexImpl::~MutexImpl() + 21
frame #3: 0x0000000100045e65 sfml-system`sf::priv::MutexImpl::~MutexImpl() + 21
frame #4: 0x0000000100036ccd sfml-system`sf::Mutex::~Mutex() + 45
frame #5: 0x0000000100036c95 sfml-system`sf::Mutex::~Mutex() + 21
frame #6: 0x00000001000097cc sfml-audio`sf::Music::~Music() + 108
frame #7: 0x0000000100009755 sfml-audio`sf::Music::~Music() + 21
frame #8: 0x0000000100000e35 a.out`main + 389
frame #9: 0x00007fff8da4c5c9 libdyld.dylib`start + 1
frame #10: 0x00007fff8da4c5c9 libdyld.dylib`start + 1
thread #2: tid = 0x18c954, 0x00007fff9185522e libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
frame #0: 0x00007fff9185522e libsystem_kernel.dylib`kevent64 + 10
frame #1: 0x00007fff8d384d91 libdispatch.dylib`_dispatch_mgr_invoke + 247
frame #2: 0x00007fff8d384a6a libdispatch.dylib`_dispatch_mgr_thread + 52
thread #3: tid = 0x18c955, 0x00007fff91854946 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff91854946 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff8b704757 libsystem_pthread.dylib`_pthread_wqthread + 869
frame #2: 0x00007fff8b7024a1 libsystem_pthread.dylib`start_wqthread + 13
thread #4: tid = 0x18c956, 0x00007fff91854946 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff91854946 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff8b704757 libsystem_pthread.dylib`_pthread_wqthread + 869
frame #2: 0x00007fff8b7024a1 libsystem_pthread.dylib`start_wqthread + 13
thread #5: tid = 0x18c957, 0x00007fff91854946 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff91854946 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff8b704757 libsystem_pthread.dylib`_pthread_wqthread + 869
frame #2: 0x00007fff8b7024a1 libsystem_pthread.dylib`start_wqthread + 13
thread #6: tid = 0x18c958, 0x00007fff91854946 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff91854946 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff8b704757 libsystem_pthread.dylib`_pthread_wqthread + 869
frame #2: 0x00007fff8b7024a1 libsystem_pthread.dylib`start_wqthread + 13
thread #7: tid = 0x18c96b, 0x00007fff9184f52e libsystem_kernel.dylib`mach_msg_trap + 10, name = 'com.apple.audio.IOThread.client'
frame #0: 0x00007fff9184f52e libsystem_kernel.dylib`mach_msg_trap + 10
frame #1: 0x00007fff9184e69f libsystem_kernel.dylib`mach_msg + 55
frame #2: 0x00007fff97cb3e11 CoreAudio`HALC_IOContext_Start + 135
frame #3: 0x00007fff97cb2cad CoreAudio`HALC_ProxyIOContext::IOWorkLoop() + 261
frame #4: 0x00007fff97cb2b0e CoreAudio`HALC_ProxyIOContext::IOThreadEntry(void*) + 88
frame #5: 0x00007fff97cb29eb CoreAudio`HALB_IOThread::Entry(void*) + 157
frame #6: 0x00007fff8b7042fc libsystem_pthread.dylib`_pthread_body + 131
frame #7: 0x00007fff8b704279 libsystem_pthread.dylib`_pthread_start + 176
frame #8: 0x00007fff8b7024b1 libsystem_pthread.dylib`thread_start + 13