The audiodrivers loaded by OS_X11 are not destroyed before the audioserver is. This causes a segfault on exit. The code is taken from os_windows.cpp which did have the cleanup code.