At some point while rearranging displays using the Display preferences in OS X, the number of displays available is apparently zero. So Desktop::Displays::getDisplayContaining() throws an assertion at the line
const Display* best = &displays.getReference(0);
when the size of Array<Display> displays is 0.
[EDIT] Can reproduce on 10.8.5 and 10.9.