As a general rule, the system should protect itself from bad app behaviour, so even if you’re doing something wrong I’d still classify this as a bug in the OS. You wrote:
After some testing we have determined that the new Spotlight indexing of routes was the root cause.
Does that mean you can reproduce this internally? If so, please do file a bug about that. Make sure to attach a sysdiagnose log taken while the problem is happening. For information about sysdiagnose logs, see our Bug Reporting > Profiles and Logs.
Please post your bug number, just for the record.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"