On 05.11.24 00:34, Patrick Luby wrote:
OK. I finally found a way to stop the crashing: https://gerrit.libreoffice.org/c/core/+/176037 Apparently, doing a dynamic_cast from a UNO reference to its base pointer is failing in two places so use static_cast for now.
See <https://gerrit.libreoffice.org/c/core/+/176188> "Make sure VCLXPopupMenu has unique RTTI" for why it crashed. When that is in, you may or may not want to revert your workaround <https://git.libreoffice.org/core/+/f00ad8a93fa1c57480a507530aef932a0c747339%5E%21> "Fix crash due to unexpected dynamic_cast failures in optimized build" and its follow-up <https://git.libreoffice.org/core/+/ed9bd5c8bc1da7d06d39bf40c84d572e6354ecf7%5E%21> "Replace unnecessary #include with forward declaration".