When including the SwXMailMerge service implementation in the updated CppunitTest_services (cf. <http://cgit.freedesktop.org/libreoffice/core/commit/?id=f7cd7b2ce40d39fd890d7bd3d098c9001fb477e5> "Make CppunitTest_services instantiate even more services"), just creating the instance, then calling dispose() on it, then finally releasing it leads to a busy loop in SwCache::Check() at least in an --enable-dgbutil build, constantly warning about "Object not found" and "Recursion in SwCache." See backtrace below. Once this is fixed, please take SwXMailMerge off the blacklist in postprocess/qa/services.cxx. > SwCache::Check() > SwCache::Insert(SwCacheObj*) > SwCacheAccess::_Get() > SwCacheAccess::Get() > SwBorderAttrAccess::Get() > SwCntntFrm::MakeAll() > SwFrm::PrepareMake() > SwFrm::Calc() > SwLayAction::IsShortCut(SwPageFrm*&) > SwLayAction::InternalAction() > SwLayAction::Action() > SwViewShell::ImplEndAction(bool) > SwViewShell::EndAction(bool) > SwCrsrShell::EndAction(bool, bool) > SwEditShell::EndAllAction() > SwDocShell::Notify(SfxBroadcaster&, SfxHint const&) > SfxBroadcaster::Broadcast(SfxHint const&) > SfxFrame::CancelTransfers(bool) > SfxFrame::DoClose() > SfxViewFrame::Notify(SfxBroadcaster&, SfxHint const&) > SfxBroadcaster::Broadcast(SfxHint const&) > SfxModelListener_Impl::notifyClosing(com::sun::star::lang::EventObject const&) > SfxBaseModel::close(unsigned char) > SwXTextDocument::close(unsigned char) > CloseModelAndDocSh(com::sun::star::uno::Reference<com::sun::star::frame::XModel>&, tools::SvRef<SfxObjectShell>&) > SwXMailMerge::~SwXMailMerge() > SwXMailMerge::~SwXMailMerge() > cppu::OWeakObject::release() > ...
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.0.5 or 5.1.0) https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for your help! -- The LibreOffice QA Team This NEW Message was generated on: 2016-02-21
I think com.sun.star.comp.framework.Desktop has been disposed before the SwXMailMerge dtor was called, so the underlying SwDLL contents have been trashed
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Dear Stephan Bergmann, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
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
Dear Stephan Bergmann, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug