[Mlir-commits] [mlir] fix a concurrent destruction issue for FallbackTypeIDResolver::registerImplicitTypeID due to function static variable (PR #85471)

Li Deng llvmlistbot at llvm.org
Mon Mar 18 17:19:44 PDT 2024


dengl11 wrote:

Closing this now;

the root cause is that there are unjoined threads when the program is exiting, thus causing usage of memory that has already been destructed by the main thread. Once we fix the unjoined threads in our program, this issue is gone.

Thanks a lot to @stellaraccident and @joker-eph  for the review and suggestions!

https://github.com/llvm/llvm-project/pull/85471


More information about the Mlir-commits mailing list