It was an issue when the device's local was set incorrectly and would return NULL, leading to a crash in CFStringCompare.