See PPro segfault crash during concurrent async locked access patterns - #2 by bbb_999
I also have a plugin that does A LOT of async and locked access pattern work and have encountered this crash bug. The PPro UXP team has been notified and is working to resolve. As a short term solution, I ended up forcing ALL PPro API calls to be serialized, AND I had to reduce the number of locked access patterns as much as possible. This means combining and making my code more efficient. Seems like there is some behind the scenes async PPro API calls being done inside of UXP that we don’t have control over, hence why I had to reduce the number of locked access patterns, to reduce the chances of this race condition.