https://bugs.documentfoundation.org/show_bug.cgi?id=89343
--- Comment #5 from Mike Kaganski <mikekagan...@hotmail.com> --- Commenting out the 'denylist.emplace_back("SwXMailMerge");' in postprocess/qa/services.cxx, and making CppunitTest_services, crashes for me in the same destruction, but at a later point in SfxFrame::DoClose, past the 'CancelTransfers' call: > ucrtbased.dll!_wassert(const wchar_t * expression, const wchar_t * file_name, > unsigned int line_number) Line 442 C++ > comphelper.dll!`anonymous namespace'::implLookupClient(const unsigned long > nClient, > std::_Tree_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<unsigned > long const > ,comphelper::OInterfaceContainerHelper4<com::sun::star::accessibility::XAccessibleEventListener> > *>>>> & rPos) Line 139 C++ > comphelper.dll!comphelper::AccessibleEventNotifier::removeEventListener(const > unsigned long _nClient, const > com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessibleEventListener> > & _rxListener) Line 231 C++ > swlo.dll!SwAccessibleContext::removeAccessibleEventListener(const > com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessibleEventListener> > & xListener) Line 779 C++ > winaccessibility.dll!AccEventListener::RemoveMeFromBroadcaster() Line 235 > C++ > winaccessibility.dll!AccEventListener::disposing(const > com::sun::star::lang::EventObject & __formal) Line 257 C++ > comphelper.dll!comphelper::OInterfaceContainerHelper4<com::sun::star::accessibility::XAccessibleEventListener>::disposeAndClear(std::unique_lock<std::mutex> > & rGuard, const com::sun::star::lang::EventObject & rEvt) Line 368 C++ > comphelper.dll!comphelper::AccessibleEventNotifier::revokeClientNotifyDisposing(const > unsigned long _nClient, const > com::sun::star::uno::Reference<com::sun::star::uno::XInterface> & > _rxEventSource) Line 206 C++ > swlo.dll!SwAccessibleContext::Dispose(bool bRecursive, bool > bCanSkipInvisible) Line 1098 C++ > swlo.dll!SwAccessibleDocument::Dispose(bool bRecursive, bool > bCanSkipInvisible) Line 384 C++ > swlo.dll!SwAccessibleMap::~SwAccessibleMap() Line 1663 C++ > swlo.dll!SwAccessibleMap::`scalar deleting destructor'(unsigned int) C++ > swlo.dll!std::_Destroy_in_place<SwAccessibleMap>(SwAccessibleMap & _Obj) Line > 300 C++ > swlo.dll!std::_Ref_count_obj2<SwAccessibleMap>::_Destroy() Line 2033 C++ > swlo.dll!std::_Ref_count_base::_Decref() Line 1106 C++ > swlo.dll!std::_Ptr_base<SwAccessibleMap>::_Decref() Line 1332 C++ > swlo.dll!std::shared_ptr<SwAccessibleMap>::~shared_ptr<SwAccessibleMap>() > Line 1615 C++ > swlo.dll!std::shared_ptr<SwAccessibleMap>::reset() Line 1659 C++ > swlo.dll!SwViewShellImp::~SwViewShellImp() Line 105 C++ > swlo.dll!SwViewShellImp::`scalar deleting destructor'(unsigned int) C++ > swlo.dll!std::default_delete<SwViewShellImp>::operator()(SwViewShellImp * > _Ptr) Line 3125 C++ > swlo.dll!std::unique_ptr<SwViewShellImp,std::default_delete<SwViewShellImp>>::reset(SwViewShellImp > * _Ptr) Line 3270 C++ > swlo.dll!SwViewShell::~SwViewShell() Line 320 C++ > swlo.dll!SwCursorShell::~SwCursorShell() Line 3046 C++ > swlo.dll!SwEditShell::~SwEditShell() Line 63 C++ > swlo.dll!SwFEShell::~SwFEShell() Line 683 C++ > swlo.dll!SwWrtShell::~SwWrtShell() Line 1886 C++ > swlo.dll!SwWrtShell::`scalar deleting destructor'(unsigned int) C++ > swlo.dll!std::default_delete<SwWrtShell>::operator()(SwWrtShell * _Ptr) Line > 3125 C++ > swlo.dll!std::unique_ptr<SwWrtShell,std::default_delete<SwWrtShell>>::reset(SwWrtShell > * _Ptr) Line 3270 C++ > swlo.dll!SwView::~SwView() Line 1114 C++ > swlo.dll!SwView::`vector deleting destructor'(unsigned int) C++ > sfxlo.dll!SfxViewFrame::ReleaseObjectShell_Impl() Line 1140 C++ > sfxlo.dll!SfxViewFrame::~SfxViewFrame() Line 1813 C++ > sfxlo.dll!SfxViewFrame::`scalar deleting destructor'(unsigned int) C++ > sfxlo.dll!SfxViewFrame::Close() Line 1192 C++ > sfxlo.dll!SfxFrame::DoClose_Impl() Line 136 C++ > sfxlo.dll!SfxBaseController::dispose() Line 981 C++ > fwklo.dll!`anonymous namespace'::XFrameImpl::setComponent(const > com::sun::star::uno::Reference<com::sun::star::awt::XWindow> & > xComponentWindow, const > com::sun::star::uno::Reference<com::sun::star::frame::XController> & > xController) Line 1485 C++ > fwklo.dll!`anonymous namespace'::XFrameImpl::close(unsigned char > bDeliverOwnership) Line 1696 C++ > sfxlo.dll!SfxFrame::DoClose() Line 100 C++ > sfxlo.dll!SfxViewFrame::Notify(SfxBroadcaster & __formal, const SfxHint & > rHint) Line 1633 C++ > svllo.dll!SfxBroadcaster::Broadcast(const SfxHint & rHint) Line 40 C++ > sfxlo.dll!`anonymous namespace'::SfxModelListener_Impl::notifyClosing(const > com::sun::star::lang::EventObject & __formal) Line 145 C++ > sfxlo.dll!SfxBaseModel::close(unsigned char bDeliverOwnership) Line 1470 > C++ > swlo.dll!SwXTextDocument::close(unsigned char bDeliverOwnership) Line 555 > C++ > swlo.dll!CloseModelAndDocSh(const > com::sun::star::uno::Reference<com::sun::star::frame::XModel> & rxModel, > tools::SvRef<SfxObjectShell> & rxDocSh) Line 116 C++ > swlo.dll!SwXMailMerge::~SwXMailMerge() Line 398 C++ > swlo.dll!SwXMailMerge::`scalar deleting destructor'(unsigned int) C++ > cppuhelper3MSC.dll!cppu::OWeakObject::release() Line 230 C++ > swlo.dll!cppu::WeakImplHelper<com::sun::star::task::XJob,com::sun::star::util::XCancellable,com::sun::star::beans::XPropertySet,com::sun::star::text::XMailMergeBroadcaster,com::sun::star::lang::XComponent,com::sun::star::lang::XServiceInfo>::release() > Line 115 C++ > test_services.dll!com::sun::star::uno::Reference<com::sun::star::lang::XComponent>::~Reference<com::sun::star::lang::XComponent>() > Line 114 C++ > test_services.dll!com::sun::star::uno::Reference<com::sun::star::lang::XComponent>::`scalar > deleting destructor'(unsigned int) C++ > test_services.dll!std::_Default_allocator_traits<std::allocator<com::sun::star::uno::Reference<com::sun::star::lang::XComponent>>>::destroy<com::sun::star::uno::Reference<com::sun::star::lang::XComponent>>(std::allocator<com::sun::star::uno::Reference<com::sun::star::lang::XComponent>> > & __formal, com::sun::star::uno::Reference<com::sun::star::lang::XComponent> > * const _Ptr) Line 691 C++ > test_services.dll!std::_Destroy_range<std::allocator<com::sun::star::uno::Reference<com::sun::star::lang::XComponent>>>(com::sun::star::uno::Reference<com::sun::star::lang::XComponent> > * _First, com::sun::star::uno::Reference<com::sun::star::lang::XComponent> * > const _Last, > std::allocator<com::sun::star::uno::Reference<com::sun::star::lang::XComponent>> > & _Al) Line 945 C++ > test_services.dll!std::vector<com::sun::star::uno::Reference<com::sun::star::lang::XComponent>,std::allocator<com::sun::star::uno::Reference<com::sun::star::lang::XComponent>>>::_Tidy() > Line 1893 C++ > test_services.dll!std::vector<com::sun::star::uno::Reference<com::sun::star::lang::XComponent>,std::allocator<com::sun::star::uno::Reference<com::sun::star::lang::XComponent>>>::~vector<com::sun::star::uno::Reference<com::sun::star::lang::XComponent>,std::allocator<com::sun::star::uno::Reference<com::sun::star::lang::XComponent>>>() > Line 793 C++ > test_services.dll!`anonymous namespace'::Test::test() Line 295 C++ > test_services.dll!std::invoke<void (__cdecl `anonymous > namespace'::Test::*&)(void),A0x2f9a70f7::Test * > &>(void(`anonymous-namespace'::Test::*)() & _Obj, `anonymous-namespace'::Test > * & _Arg1) Line 1503 C++ > test_services.dll!std::_Invoker_ret<std::_Unforced,0>::_Call<void (__cdecl > `anonymous namespace'::Test::*&)(void),A0x2f9a70f7::Test * > &>(void(`anonymous-namespace'::Test::*)() & _Func, > `anonymous-namespace'::Test * & <_Vals_0>) Line 684 C++ > test_services.dll!std::_Call_binder<std::_Unforced,0,void (__cdecl `anonymous > namespace'::Test::*)(void),std::tuple<`anonymous namespace'::Test > *>,std::tuple<>>(std::_Invoker_ret<std::_Unforced,0> __formal, > std::integer_sequence<unsigned __int64,0> __formal, > void(`anonymous-namespace'::Test::*)() & _Obj, std::tuple<`anonymous > namespace'::Test *> & _Tpl, std::tuple<> && _Ut) Line 1962 C++ > test_services.dll!std::_Binder<std::_Unforced,void (__cdecl `anonymous > namespace'::Test::*&)(void),A0x2f9a70f7::Test * &>::operator()<>() Line 1999 > C++ > test_services.dll!std::invoke<std::_Binder<std::_Unforced,void (__cdecl > `anonymous namespace'::Test::*&)(void),A0x2f9a70f7::Test * &> > &>(std::_Binder<std::_Unforced,void (__cdecl `anonymous > namespace'::Test::*&)(void),A0x2f9a70f7::Test * &> & _Obj) Line 1479 C++ > test_services.dll!std::_Invoker_ret<void,1>::_Call<std::_Binder<std::_Unforced,void > (__cdecl `anonymous namespace'::Test::*&)(void),A0x2f9a70f7::Test * &> > &>(std::_Binder<std::_Unforced,void (__cdecl `anonymous > namespace'::Test::*&)(void),A0x2f9a70f7::Test * &> & _Func) Line 665 C++ > test_services.dll!std::_Func_impl_no_alloc<std::_Binder<std::_Unforced,void > (__cdecl `anonymous namespace'::Test::*&)(void),A0x2f9a70f7::Test * > &>,void>::_Do_call() Line 834 C++ > test_services.dll!std::_Func_class<void>::operator()() Line 881 C++ > test_services.dll!CppUnit::TestCaller<`anonymous namespace'::Test>::runTest() > Line 176 C++ > cppunitd_dll.dll!CppUnit::TestCaseMethodFunctor::operator()() Line 33 C++ > vclbootstrapprotector.dll!`anonymous namespace'::Protector::protect(const > CppUnit::Functor & functor, const CppUnit::ProtectorContext & __formal) Line > 46 C++ > cppunitd_dll.dll!CppUnit::ProtectorChain::ProtectFunctor::operator()() Line > 21 C++ > unobootstrapprotector.dll!`anonymous namespace'::Prot::protect(const > CppUnit::Functor & functor, const CppUnit::ProtectorContext & __formal) Line > 79 C++ > cppunitd_dll.dll!CppUnit::ProtectorChain::ProtectFunctor::operator()() Line > 21 C++ > unoexceptionprotector.dll!`anonymous namespace'::Prot::protect(const > CppUnit::Functor & functor, const CppUnit::ProtectorContext & context) Line > 62 C++ > cppunitd_dll.dll!CppUnit::ProtectorChain::ProtectFunctor::operator()() Line > 21 C++ > cppunitd_dll.dll!CppUnit::DefaultProtector::protect(const CppUnit::Functor & > functor, const CppUnit::ProtectorContext & context) Line 15 C++ > cppunitd_dll.dll!CppUnit::ProtectorChain::ProtectFunctor::operator()() Line > 21 C++ > cppunitd_dll.dll!CppUnit::ProtectorChain::protect(const CppUnit::Functor & > functor, const CppUnit::ProtectorContext & context) Line 86 C++ > cppunitd_dll.dll!CppUnit::TestResult::protect(const CppUnit::Functor & > functor, CppUnit::Test * test, const std::string & shortDescription) Line 182 > C++ > cppunitd_dll.dll!CppUnit::TestCase::run(CppUnit::TestResult * result) Line 91 > C++ > cppunitd_dll.dll!CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult > * controller) Line 65 C++ > cppunitd_dll.dll!CppUnit::TestComposite::run(CppUnit::TestResult * result) > Line 24 C++ > cppunitd_dll.dll!CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult > * controller) Line 65 C++ > cppunitd_dll.dll!CppUnit::TestComposite::run(CppUnit::TestResult * result) > Line 24 C++ > cppunitd_dll.dll!CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult > * result) Line 47 C++ > cppunitd_dll.dll!CppUnit::TestResult::runTest(CppUnit::Test * test) Line 150 > C++ > cppunitd_dll.dll!CppUnit::TestRunner::run(CppUnit::TestResult & controller, > const std::string & testPath) Line 96 C++ > cppunittester.exe!`anonymous namespace'::ProtectedFixtureFunctor::run() Line > 332 C++ > cppunittester.exe!main2() Line 481 C++ > cppunittester.exe!sal_main() Line 632 C++ > cppunittester.exe!main(int argc, char * * argv) Line 622 C++ > cppunittester.exe!invoke_main() Line 79 C++ > cppunittester.exe!__scrt_common_main_seh() Line 288 C++ > cppunittester.exe!__scrt_common_main() Line 331 C++ > cppunittester.exe!mainCRTStartup(void * __formal) Line 17 C++ > kernel32.dll!BaseThreadInitThunk() Unknown > ntdll.dll!RtlUserThreadStart() Unknown -- You are receiving this mail because: You are the assignee for the bug.