https://bugs.documentfoundation.org/show_bug.cgi?id=104830
Bug ID: 104830
Summary: Crash when exiting Writer after copying to clipboard
Product: LibreOffice
Version: unspecified
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
At least with a recent master dbgutil build on Windows: Open Writer, type some
text, mark some text, Ctrl-C to copy it, exit LO (confirm "Don't save"), crash
at
> sfxlo.dll!SfxInterface::Register(SfxModule * pMod) Line 119 C++
> sfxlo.dll!SfxApplication::RegisterInterface(SfxModule * pMod) Line 91 C++
> sfxlo.dll!SfxApplication::Registrations_Impl() Line 46 C++
> sfxlo.dll!SfxApplication::Initialize_Impl() Line 252 C++
> sfxlo.dll!SfxApplication::GetOrCreate() Line 158 C++
> sfxlo.dll!SfxGetpApp() Line 252 C++
> sfxlo.dll!SfxSlotPool::GetSlotPool(SfxViewFrame * pFrame) Line 307 C++
> sfxlo.dll!TransformItems(unsigned short nSlotId, const SfxItemSet & rSet,
> com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> & rArgs,
> const SfxSlot * pSlot) Line 914 C++
> sfxlo.dll!SfxBaseModel::getArgs() Line 965 C++
> swlo.dll!SwXTextDocument::getArgs() Line 592 C++
> ucptdoc1lo.dll!tdoc_ucp::OfficeDocumentsManager::isDocumentPreview(const
> com::sun::star::uno::Reference<com::sun::star::frame::XModel> & xModel) Line
> 586 C++
> ucptdoc1lo.dll!tdoc_ucp::OfficeDocumentsManager::isOfficeDocument(const
> com::sun::star::uno::Reference<com::sun::star::uno::XInterface> & xDoc) Line
> 697 C++
> ucptdoc1lo.dll!tdoc_ucp::OfficeDocumentsManager::documentEventOccured(const
> com::sun::star::document::DocumentEvent & Event) Line 251 C++
> ucptdoc1lo.dll!tdoc_ucp::OfficeDocumentsManager::OfficeDocumentsCloseListener::notifyClosing(const
> com::sun::star::lang::EventObject & Source) Line 76 C++
> sfxlo.dll!SfxBaseModel::close(unsigned char bDeliverOwnership) Line 1368
> C++
> swlo.dll!SwXTextDocument::close(unsigned char bDeliverOwnership) Line 615
> C++
> sfxlo.dll!SfxObjectShell::CloseInternal() Line 412 C++
> sfxlo.dll!SfxObjectShell::Close() Line 393 C++
> sfxlo.dll!SfxObjectShell::DoClose() Line 845 C++
> swlo.dll!SwTransferable::~SwTransferable() Line 262 C++
> [External Code]
> cppuhelper3MSC.dll!cppu::OWeakObject::release() Line 233 C++
> svtlo.dll!cppu::WeakImplHelper<com::sun::star::datatransfer::XTransferable2,com::sun::star::datatransfer::clipboard::XClipboardOwner,com::sun::star::datatransfer::dnd::XDragSourceListener,com::sun::star::lang::XUnoTunnel>::release()
> Line 113 C++
> sysdtrans.dll!com::sun::star::uno::Reference<com::sun::star::datatransfer::XTransferable>::set(com::sun::star::datatransfer::XTransferable
> * pInterface) Line 239 C++
> sysdtrans.dll!`anonymous namespace'::AsyncDereference::notify(const
> com::sun::star::uno::Any & __formal) Line 107 C++
> tklo.dll!`anonymous
> namespace'::AsyncCallback::Notify_Impl(`anonymous-namespace'::AsyncCallback *
> __formal, void * p) Line 106 C++
> tklo.dll!`anonymous namespace'::AsyncCallback::LinkStubNotify_Impl(void *
> instance, void * data) Line 98 C++
> vcllo.dll!Link<void * __ptr64,void>::Call(void * data) Line 84 C++
> vcllo.dll!ImplHandleUserEvent(ImplSVEvent * pSVEvent) Line 1958 C++
> vcllo.dll!ImplWindowFrameProc(vcl::Window * _pWindow, SalEvent nEvent, const
> void * pEvent) Line 2506 C++
> vcllo.dll!SalFrame::CallCallback(SalEvent nEvent, const void * pEvent) Line
> 276 C++
> vcllo.dll!ImplHandleUserEvent(HWND__ * hWnd, __int64 lParam) Line 4120
> C++
> vcllo.dll!SalFrameWndProc(HWND__ * hWnd, unsigned int nMsg, unsigned __int64
> wParam, __int64 lParam, int & rDef) Line 5783 C++
> vcllo.dll!SalFrameWndProcW(HWND__ * hWnd, unsigned int nMsg, unsigned __int64
> wParam, __int64 lParam) Line 5916 C++
> [External Code]
> vcllo.dll!ImplSalDispatchMessage(tagMSG * pMsg) Line 575 C++
> vcllo.dll!ImplSalYield(bool bWait, bool bHandleAllCurrentEvents) Line 594
> C++
> vcllo.dll!WinSalInstance::DoYield(bool bWait, bool bHandleAllCurrentEvents,
> unsigned __int64 nReleased) Line 657 C++
> vcllo.dll!ImplYield(bool i_bWait, bool i_bAllEvents, const unsigned __int64
> nReleased) Line 506 C++
> vcllo.dll!Application::Yield() Line 552 C++
> vcllo.dll!Application::Execute() Line 468 C++
> sofficeapp.dll!desktop::Desktop::DoExecute() Line 1364 C++
> sofficeapp.dll!desktop::Desktop::Main() Line 1683 C++
> vcllo.dll!ImplSVMain() Line 185 C++
> vcllo.dll!SVMain() Line 224 C++
> sofficeapp.dll!soffice_main() Line 166 C++
> soffice.bin!sal_main() Line 48 C
> soffice.bin!main(int argc, char * * argv) Line 47 C
> soffice.bin!WinMain(void * _hinst, void * _dummy, char * _cmdline, int
> _nshow) Line 47 C
> [External Code]
where the SfxInterface in the topmost frame is apparently already dead (content
overwritten with 0xDD).
Does not happen at least on Linux with vclplug_gtk3, where call to
~SwTransferable happens synchronously at
> SwTransferable::~SwTransferable() (this=0x7fff7d640c00) at
> sw/source/uibase/dochdl/swdtflvr.cxx:237
> cppu::OWeakObject::release() (this=0x7fff7d640c00) at
> cppuhelper/source/weak.cxx:233
> cppu::WeakImplHelper<com::sun::star::datatransfer::XTransferable2,
> com::sun::star::datatransfer::clipboard::XClipboardOwner,
> com::sun::star::datatransfer::dnd::XDragSourceListener,
> com::sun::star::lang::XUnoTunnel>::release() (this=0x7fff7d640c00) at
> include/cppuhelper/implbase.hxx:113
> com::sun::star::uno::Reference<com::sun::star::datatransfer::clipboard::XClipboardOwner>::~Reference()
> (this=0x7fffffffb448) at include/com/sun/star/uno/Reference.hxx:110
> VclGtkClipboard::setContents(com::sun::star::uno::Reference<com::sun::star::datatransfer::XTransferable>
> const&,
> com::sun::star::uno::Reference<com::sun::star::datatransfer::clipboard::XClipboardOwner>
> const&) (this=0x7fff8c07f540, xTrans=empty uno::Reference,
> xClipboardOwner=empty uno::Reference) at vcl/unx/gtk3/gtk3gtkinst.cxx:648
> TransferableHelper::ClearSelection(vcl::Window*) (pWindow=0x1bc3290) at
> svtools/source/misc/transfer.cxx:1004
> SwTransferable::ClearSelection(SwWrtShell&, SwFrameShell const*) (rSh=...,
> _pCreatorView=0x0) at sw/source/uibase/dochdl/swdtflvr.cxx:3580
> SwWrtShell::~SwWrtShell() (this=0x1bcf990) at
> sw/source/uibase/wrtsh/wrtsh1.cxx:1670
> SwWrtShell::~SwWrtShell() (this=0x1bcf990) at
> sw/source/uibase/wrtsh/wrtsh1.cxx:1664
> SwView::~SwView() (this=0x1bc2a70) at sw/source/uibase/uiview/view.cxx:1050
> SwView::~SwView() (this=0x1bc2a70) at sw/source/uibase/uiview/view.cxx:1016
> SfxViewFrame::ReleaseObjectShell_Impl() (this=0x1bb9ba0) at
> sfx2/source/view/viewfrm.cxx:1018
> SfxViewFrame::~SfxViewFrame() (this=0x1bb9ba0) at
> sfx2/source/view/viewfrm.cxx:1405
> SfxViewFrame::~SfxViewFrame() (this=0x1bb9ba0) at
> sfx2/source/view/viewfrm.cxx:1399
> SfxViewFrame::Close() (this=0x1bb9ba0) at sfx2/source/view/viewfrm.cxx:1070
> SfxFrame::DoClose_Impl() (this=0x1a8e080) at sfx2/source/view/frame.cxx:161
> SfxBaseController::dispose() (this=0x7fffc410ac28) at
> sfx2/source/view/sfxbasecontroller.cxx:1029
> (anonymous
> namespace)::Frame::setComponent(com::sun::star::uno::Reference<com::sun::star::awt::XWindow>
> const&, com::sun::star::uno::Reference<com::sun::star::frame::XController>
> const&) (this=0x7fffc465cf38, xComponentWindow=empty uno::Reference,
> xController=empty uno::Reference) at framework/source/services/frame.cxx:1586
> (anonymous namespace)::Frame::close(unsigned char) (this=0x7fffc465cf38,
> bDeliverOwnership=0 '\000') at framework/source/services/frame.cxx:1801
> framework::Desktop::impl_closeFrames(bool) (this=0x7fffccdf96b0,
> bAllowUI=true) at framework/source/services/desktop.cxx:1698
> framework::Desktop::terminate() (this=0x7fffccdf96b0) at
> framework/source/services/desktop.cxx:230
> framework::CloseDispatcher::implts_terminateApplication()
> (this=0x7fff7d6427a8) at framework/source/dispatch/closedispatcher.cxx:562
> framework::CloseDispatcher::impl_asyncCallback(LinkParamNone*)
> (this=0x7fff7d6427a8) at framework/source/dispatch/closedispatcher.cxx:410
> framework::CloseDispatcher::LinkStubimpl_asyncCallback(void*, LinkParamNone*)
> (instance=0x7fff7d6427a8, data=0x0) at
> framework/source/dispatch/closedispatcher.cxx:254
> Link<LinkParamNone*, void>::Call(LinkParamNone*) const (this=0x1530aa8,
> data=0x0) at include/tools/link.hxx:84
> vcl::EventPoster::DoEvent_Impl(void*) (this=0x1530aa0) at
> vcl/source/helper/evntpost.cxx:52
> vcl::EventPoster::LinkStubDoEvent_Impl(void*, void*) (instance=0x1530aa0,
> data=0x0) at vcl/source/helper/evntpost.cxx:48
> Link<void*, void>::Call(void*) const (this=0x6c4aeb8, data=0x0) at
> include/tools/link.hxx:84
> ImplHandleUserEvent(ImplSVEvent*) (pSVEvent=0x6c4aeb0) at
> vcl/source/window/winproc.cxx:1955
> ImplWindowFrameProc(vcl::Window*, SalEvent, void const*) (_pWindow=0x196f7c0,
> nEvent=SalEvent::UserEvent, pEvent=0x6c4aeb0) at
> vcl/source/window/winproc.cxx:2505
> SalFrame::CallCallback(SalEvent, void const*) const (this=0x19701e0,
> nEvent=SalEvent::UserEvent, pEvent=0x6c4aeb0) at vcl/inc/salframe.hxx:276
> SalGenericDisplay::DispatchInternalEvent() (this=0x15f87b0) at
> vcl/unx/generic/app/gendisp.cxx:86
> GtkData::userEventFn(void*) (data=0x73e280) at
> vcl/unx/gtk3/gtk3gtkdata.cxx:811
> call_userEventFn(void*) (data=0x73e280) at vcl/unx/gtk3/gtk3gtkdata.cxx:821
> g_main_context_dispatch (context=0x63a4b0) at gmain.c:3154
> g_main_context_dispatch (context=context@entry=0x63a4b0) at gmain.c:3769
> g_main_context_iterate (context=context@entry=0x63a4b0, block=block@entry=1,
> dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
> g_main_context_iteration (context=0x63a4b0, may_block=1) at gmain.c:3901
> GtkData::Yield(bool, bool) (this=0x73e280, bWait=true,
> bHandleAllCurrentEvents=false) at vcl/unx/gtk3/gtk3gtkdata.cxx:467
> GtkInstance::DoYield(bool, bool, unsigned long) (this=0x73e3e0, bWait=true,
> bHandleAllCurrentEvents=false, nReleased=0) at
> vcl/unx/gtk3/../gtk/gtkinst.cxx:427
> ImplYield(bool, bool, unsigned long) (i_bWait=true, i_bAllEvents=false,
> nReleased=0) at vcl/source/app/svapp.cxx:504
> Application::Yield() () at vcl/source/app/svapp.cxx:551
> Application::Execute() () at vcl/source/app/svapp.cxx:468
> desktop::Desktop::DoExecute() () at desktop/source/app/app.cxx:1356
> desktop::Desktop::Main() (this=0x7fffffffe1d8) at
> desktop/source/app/app.cxx:1683
> ImplSVMain() () at vcl/source/app/svmain.cxx:185
> SVMain() () at vcl/source/app/svmain.cxx:223
> soffice_main() () at desktop/source/app/sofficemain.cxx:166
> sal_main () at desktop/source/app/main.c:48
> main (argc=2, argv=0x7fffffffe518) at desktop/source/app/main.c:47
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs