https://bugs.documentfoundation.org/show_bug.cgi?id=89343

            Bug ID: 89343
           Summary: ~SwXMailMerge() goes into endless SwCache::Check()
           Product: LibreOffice
           Version: 4.5.0.0.alpha0+ Master
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: sberg...@redhat.com

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()
> ...

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to