Thanks for looking into this further! The thing to figure out is who still has a reference to either the Thread * or to the ThreadPlanStack over the destruction of the thread. That shouldn't be allowed to happen.
Jim > On Jan 11, 2021, at 10:01 PM, walter erquinigo via Phabricator > <revi...@reviews.llvm.org> wrote: > > wallace added a comment. > > I've done a lightweight test and it seems that the BaseThreadPlan is being > asked for the stop reason when the exec happens, but it holds a reference to > the thread whose destructor has been called, which causes the crash. On > Darwin, as Greg said, the BaseThreadPlan is deleted when the thread changes, > so this doesn't happen. > Later this week I'll spend more time gathering logs and I'll share them here > in a nice format. > > > Repository: > rG LLVM Github Monorepo > > CHANGES SINCE LAST ACTION > https://reviews.llvm.org/D93874/new/ > > https://reviews.llvm.org/D93874 > _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits