I've been investigating this for a while now, and I believe it has stopped happening, but I do not know why.
Things that are different in the code
I switched from using a std::packaged_task to simply using a std::function
My packaged_task actually spawned more worker threads - (that is what appears to be the trigger for the above crash log) - it now does not maybe at the cost of some performance... maybe
Normally I'd just say I'm bad at multithreaded programming and give up, but the fact that it is ONLY happening on iOS 15.4 makes me wonder if there was some sort of threading policy change.
Topic:
App & System Services
SubTopic:
Core OS
Tags: