On Sat, 2024-11-02 at 19:39 -0400, Patrick Luby wrote: > In the official Silicon Mac installation that crashes, > pthread_mutex_lock() is passed a garbage address. It’s always 0x40 so > I am guessing that is a data member of some parent class that > std::mutex holds and that parent instance is a nullptr. It’s as if > std::mutex is failing to fully initialize itself but only in this one > official installer. > > Any theories or ideas welcome. No idea what is happening there, but I see that m_xPopupMenu in include/svtools/popupmenucontrollerbase.hxx is a VCLXPopupMenu and it seems to only need to be a VCLXMenu in case it makes any difference to use m_xPopupMenu = dynamic_cast<VCLXMenu*>(xPopupMenu.get()); instead of m_xPopupMenu = dynamic_cast<VCLXPopupMenu*>(xPopupMenu.get()); in PopupMenuControllerBase::setPopupMenu