mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The executor may execute and free the task while the enqueue code is still finishing up. If that code tries to get an async backtrace (for example, if it calls malloc/free with malloc stack logging enabled) then it will find a dangling pointer in the current task TSD, and dereferencing it may crash. rdar://130125017
89 KiB
89 KiB