warn:legacy.osl:30100:30100:xmloff/source/transform/OOo2Oasis.cxx:1939: duplicate doc handler soffice.bin: /home/julien/lo/libreoffice/sfx2/source/doc/SfxDocumentMetaData.cxx:1768: virtual void (anonymous namespace)::SfxDocumentMetaData::loadFromStorage(const css::uno::Reference &, const css::uno::Sequence &): Assertion `xDocHandler' failed. Thread 1 "soffice.bin" received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 ../sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type. (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007f570d421537 in __GI_abort () at abort.c:79 #2 0x00007f570d42140f in __assert_fail_base (fmt=0x7f570d58a128 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7f570a86be83 "xDocHandler", file=0x7f570a863317 "/home/julien/lo/libreoffice/sfx2/source/doc/SfxDocumentMetaData.cxx", line=1768, function=) at assert.c:92 #3 0x00007f570d430662 in __GI___assert_fail (assertion=0x7f570a86be83 "xDocHandler", file=0x7f570a863317 "/home/julien/lo/libreoffice/sfx2/source/doc/SfxDocumentMetaData.cxx", line=1768, function=0x7f570a86bdd0 "virtual void (anonymous namespace)::SfxDocumentMetaData::loadFromStorage(const css::uno::Reference &, const css::uno::Sequence &)") at assert.c:101 #4 0x00007f570a398beb in (anonymous namespace)::SfxDocumentMetaData::loadFromStorage(com::sun::star::uno::Reference const&, com::sun::star::uno::Sequence const&) (this=0x31c4ab0, xStorage=uno::Reference to (class OStorage *) 0x37ffe68, Medium=uno::Sequence of length 4 = {...}) at sfx2/source/doc/SfxDocumentMetaData.cxx:1768 #5 0x00007f570a39968e in (anonymous namespace)::SfxDocumentMetaData::loadFromMedium(rtl::OUString const&, com::sun::star::uno::Sequence const&) (this=0x31c4ab0, URL="file:///tmp/4xKoord5mm.std", Medium=empty uno::Sequence) at sfx2/source/doc/SfxDocumentMetaData.cxx:1894 #6 0x00007f570a44ad3e in (anonymous namespace)::SfxDocTplService_Impl::getTitleFromURL(rtl::OUString const&, rtl::OUString&, rtl::OUString&, bool&) (this= 0x31ba5f0, rURL="file:///tmp/4xKoord5mm.std", aTitle="", aType="", bDocHasTitle=@0x7ffd07bf690f: false) at sfx2/source/doc/doctemplates.cxx:649 #7 0x00007f570a455deb in (anonymous namespace)::SfxDocTplService_Impl::addTemplate(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&) (this=0x31ba5f0, rGroupName="My Templates", rTemplateName="4xKoord5mm", rSourceURL="file:///tmp/4xKoord5mm.std") at sfx2/source/doc/doctemplates.cxx:1895 #8 0x00007f570a43e424 in (anonymous namespace)::SfxDocTplService::addTemplate(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&) (this=0x31bd910, rGroupName="My Templates", rTemplateName="4xKoord5mm", rSourceURL="file:///tmp/4xKoord5mm.std") at sfx2/source/doc/doctemplates.cxx:2207 #9 0x00007f570a42808b in SfxDocumentTemplates::CopyFrom(unsigned short, unsigned short, rtl::OUString&) (this=0x3204f70, nRegion=0, nIdx=0, rName="file:///tmp/4xKoord5mm.std") at sfx2/source/doc/doctempl.cxx:820 #10 0x00007f570a15665e in TemplateLocalView::copyFrom(TemplateContainerItem*, rtl::OUString const&) (this=0x3218c70, pItem=0x3249dd0, rPath="file:///tmp/4xKoord5mm.std") at sfx2/source/control/templatelocalview.cxx:628 #11 0x00007f570a57594b in SfxTemplateManagerDlg::OnTemplateImportCategory(std::basic_string_view >) (this=0x7ffd07bf9028, sCategory=u"My Templates") at sfx2/source/doc/templatedlg.cxx:1018 #12 0x00007f570a575103 in SfxTemplateManagerDlg::ImportClickHdl(weld::Button&) (this=0x7ffd07bf9028) at sfx2/source/doc/templatedlg.cxx:640 #13 0x00007f570a56e750 in SfxTemplateManagerDlg::LinkStubImportClickHdl(void*, weld::Button&) (instance=0x7ffd07bf9028, data=...) at sfx2/source/doc/templatedlg.cxx:612 #14 0x00007f56f9e1c578 in Link::Call(weld::Button&) const (this=0x3210828, data=...) at include/tools/link.hxx:111 #15 0x00007f56f9e1c535 in weld::Button::signal_clicked() (this=0x3210820) at include/vcl/weld.hxx:1338 #16 0x00007f56f9d95894 in (anonymous namespace)::GtkInstanceButton::signalClicked(_GtkButton*, void*) (widget=0x3210570) at vcl/unx/gtk3/gtk3gtkinst.cxx:6920 #17 0x00007f56fee5c2ee in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #18 0x00007f56fee74a48 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #19 0x00007f56fee74c3f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #20 0x00007f56f957c380 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #21 0x00007f56fee5c0a2 in g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #22 0x00007f56fee6e0aa in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #23 0x00007f56fee746cf in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #24 0x00007f56fee74c3f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #25 0x00007f56f957a640 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #26 0x00007f56f9837d9b in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #27 0x00007f56fee5c2ee in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #28 0x00007f56fee74a48 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #29 0x00007f56fee74c3f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #30 0x00007f56f96463e4 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #31 0x00007f56fee5f100 in g_cclosure_marshal_VOID__BOXEDv () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #32 0x00007f56fee5c2ee in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #33 0x00007f56fee74a48 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #34 0x00007f56fee74c3f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #35 0x00007f56f9643497 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #36 0x00007f56f9644b2b in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #37 0x00007f56f9647bbf in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #38 0x00007f56f960e0ec in gtk_event_controller_handle_event () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #39 0x00007f56f97d9d1d in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 --Type for more, q to quit, c to continue without paging-- #40 0x00007f56f9831ac8 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #41 0x00007f56fee5c2ee in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #42 0x00007f56fee73df9 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #43 0x00007f56fee74c3f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #44 0x00007f56f97dbdd4 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #45 0x00007f56f968ef40 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #46 0x00007f56f9690ba3 in gtk_main_do_event () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #47 0x00007f56f9379775 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #48 0x00007f56f93ad272 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #49 0x00007f56fed6ae3b in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #50 0x00007f56fed6b0e8 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #51 0x00007f56fed6b3db in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #52 0x00007f56f9d952b6 in (anonymous namespace)::DialogRunner::run() (this=0x3181878) at vcl/unx/gtk3/gtk3gtkinst.cxx:4386 #53 0x00007f56f9d8cf6e in (anonymous namespace)::GtkInstanceDialog::run() (this=0x3181740) at vcl/unx/gtk3/gtk3gtkinst.cxx:7167 #54 0x00007f5709f8a3f1 in weld::DialogController::run() (this=0x7ffd07bf9028) at include/vcl/weld.hxx:2402 #55 0x00007f570a56faf1 in SfxTemplateManagerDlg::run() (this=0x7ffd07bf9028) at sfx2/source/doc/templatedlg.cxx:273 #56 0x00007f5709f62c88 in SfxApplication::NewDocExec_Impl(SfxRequest&) (this=0x267f200, rReq=...) at sfx2/source/appl/appopen.cxx:467 #57 0x00007f5709f5a345 in SfxStubSfxApplicationNewDocExec_Impl(SfxShell*, SfxRequest&) (pShell=0x267f200, rReq=...) at workdir/SdiTarget/sfx2/sdi/sfxslots.hxx:1276 #58 0x00007f570a0ed002 in SfxShell::CallExec(void (*)(SfxShell*, SfxRequest&), SfxRequest&) (this=0x267f200, pFunc=0x7f5709f5a320 , rReq=...) at include/sfx2/shell.hxx:197 #59 0x00007f570a0d54a9 in SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, bool) (this=0x267e460, rShell=..., rSlot=..., rReq=..., bRecord=true) at sfx2/source/control/dispatch.cxx:253 #60 0x00007f570a0d5d38 in SfxDispatcher::PostMsgHandler(std::unique_ptr >) (this=0x267e460, pReq=std::unique_ptr = {...}) at sfx2/source/control/dispatch.cxx:990 #61 0x00007f570a0fab50 in std::__invoke_impl >), SfxDispatcher*&, std::unique_ptr > >(std::__invoke_memfun_deref, void (SfxDispatcher::*&)(std::unique_ptr >), SfxDispatcher*&, std::unique_ptr >&&) (__f= @0x26826b0: (void (SfxDispatcher::*)(class SfxDispatcher * const, class std::unique_ptr >)) 0x7f570a0d5b10 >)>, __t=@0x26826c0: 0x267e460, __args=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:73 #62 0x00007f570a0fa9f7 in std::__invoke >), SfxDispatcher*&, std::unique_ptr > >(void (SfxDispatcher::*&)(std::unique_ptr >), SfxDispatcher*&, std::unique_ptr >&&) (__fn= @0x26826b0: (void (SfxDispatcher::*)(class SfxDispatcher * const, class std::unique_ptr >)) 0x7f570a0d5b10 >)>, __args=@0x26826c0: 0x267e460, __args=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:95 #63 0x00007f570a0fa945 in std::_Bind))(std::unique_ptr >)>::__call >&&, 0ul, 1ul>(std::tuple >&&>&&, std::_Index_tuple<0ul, 1ul>) (this=0x26826b0, __args=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/functional:416 #64 0x00007f570a0fa8a1 in std::_Bind))(std::unique_ptr >)>::operator() >, void>(std::unique_ptr >&&) (this=0x26826b0, __args=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/functional:499 #65 0x00007f570a0fa832 in std::__invoke_impl))(std::unique_ptr >)>&, std::unique_ptr > >(std::__invoke_other, std::_Bind))(std::unique_ptr >)>&, std::unique_ptr >&&) (__f=..., __args=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:60 #66 0x00007f570a0fa7c2 in std::__invoke_r))(std::unique_ptr >)>&, std::unique_ptr > >(std::_Bind))(std::unique_ptr >)>&, std::unique_ptr >&&) (__fn=..., __args=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:110 #67 0x00007f570a0fa4a2 in std::_Function_handler >), std::_Bind))(std::unique_ptr >)> >::_M_invoke(std::_Any_data const&, std::unique_ptr >&&) (__functor=..., __args=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/std_function.h:291 #68 0x00007f570a5ae9cb in std::function >)>::operator()(std::unique_ptr >) const (this=0x2682030, __args=std::unique_ptr = {...}) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/std_function.h:622 #69 0x00007f570a5ae7d1 in SfxHintPoster::DoEvent_Impl(void*) (this=0x2682020, pPostedHint=0x24da340) at sfx2/source/notify/hintpost.cxx:41 #70 0x00007f570a5ae750 in SfxHintPoster::LinkStubDoEvent_Impl(void*, void*) (instance=0x2682020, data=0x24da340) at sfx2/source/notify/hintpost.cxx:38 #71 0x00007f5704dc6d28 in Link::Call(void*) const (this=0x30b18b8, data=0x24da340) at include/tools/link.hxx:111 --Type for more, q to quit, c to continue without paging-- #72 0x00007f5704dc2f2e in ImplHandleUserEvent(ImplSVEvent*) (pSVEvent=0x30b18b0) at vcl/source/window/winproc.cxx:1989 #73 0x00007f5704dbf9b6 in ImplWindowFrameProc(vcl::Window*, SalEvent, void const*) (_pWindow=0x26878d0, nEvent=SalEvent::UserEvent, pEvent=0x30b18b0) at vcl/source/window/winproc.cxx:2559 #74 0x00007f57058e7bd5 in SalFrame::CallCallback(SalEvent, void const*) const (this=0x2688080, nEvent=SalEvent::UserEvent, pEvent=0x30b18b0) at vcl/inc/salframe.hxx:306 #75 0x00007f5705915d8f in SalGenericDisplay::ProcessEvent(SalUserEventList::SalUserEvent) (this=0x25826d0, aEvent=...) at vcl/unx/generic/app/gendisp.cxx:66 #76 0x00007f570554a059 in SalUserEventList::DispatchUserEvents(bool) (this=0x25826d0, bHandleAllCurrentEvents=false) at vcl/source/app/salusereventlist.cxx:117 #77 0x00007f5705915cd9 in SalGenericDisplay::DispatchInternalEvent(bool) (this=0x25826d0, bHandleAllCurrentEvent=false) at vcl/unx/generic/app/gendisp.cxx:51 #78 0x00007f56f9d706a1 in call_userEventFn(void*) (data=0xd7a090) at vcl/unx/gtk3/gtk3gtkdata.cxx:738 #79 0x00007f56fed6ad3f in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #80 0x00007f56fed6b0e8 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #81 0x00007f56fed6b19f in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #82 0x00007f56f9d6f06c in GtkSalData::Yield(bool, bool) (this=0xd7a090, bWait=true, bHandleAllCurrentEvents=false) at vcl/unx/gtk3/gtk3gtkdata.cxx:390 #83 0x00007f56f9d748a2 in GtkInstance::DoYield(bool, bool) (this=0xd6b120, bWait=true, bHandleAllCurrentEvents=false) at vcl/unx/gtk3/gtk3gtkinst.cxx:388 #84 0x00007f570562c5a0 in ImplYield(bool, bool) (i_bWait=true, i_bAllEvents=false) at vcl/source/app/svapp.cxx:463 #85 0x00007f570562c210 in Application::Yield() () at vcl/source/app/svapp.cxx:530 #86 0x00007f570562c189 in Application::Execute() () at vcl/source/app/svapp.cxx:442 #87 0x00007f570d63390c in desktop::Desktop::Main() (this=0x7ffd07bfc1e8) at desktop/source/app/app.cxx:1586 #88 0x00007f570564ee20 in ImplSVMain() () at vcl/source/app/svmain.cxx:196 #89 0x00007f57056509e9 in SVMain() () at vcl/source/app/svmain.cxx:228 #90 0x00007f570d6ad2be in soffice_main() () at desktop/source/app/sofficemain.cxx:98 #91 0x000000000040088d in sal_main () at desktop/source/app/main.c:49 #92 0x0000000000400867 in main (argc=2, argv=0x7ffd07bfc3d8) at desktop/source/app/main.c:47 (gdb) frame 4 #4 0x00007f570a398beb in (anonymous namespace)::SfxDocumentMetaData::loadFromStorage (this=0x31c4ab0, xStorage=uno::Reference to (OStorage *) 0x37ffe68, Medium=uno::Sequence of length 4 = {...}) at sfx2/source/doc/SfxDocumentMetaData.cxx:1768 1768 assert(xDocHandler); (gdb) p Medium $1 = uno::Sequence of length 4 = {{Name = "InputStream", Handle = 0, Value = uno::Any("com.sun.star.io.XInputStream": { = {_vptr$XInterface = 0x3774668}, }), State = com::sun::star::beans::PropertyState::PropertyState_DIRECT_VALUE}, {Name = "UCBContent", Handle = 0, Value = uno::Any("com.sun.star.ucb.XContent": { = {_vptr$XInterface = 0x38c5c88}, }), State = com::sun::star::beans::PropertyState::PropertyState_DIRECT_VALUE}, { Name = "ReadOnly", Handle = 0, Value = uno::Any("boolean": 1 '\001'), State = com::sun::star::beans::PropertyState::PropertyState_DIRECT_VALUE}, {Name = "URL", Handle = 0, Value = uno::Any("string": "file:///tmp/4xKoord5mm.std"), State = com::sun::star::beans::PropertyState::PropertyState_DIRECT_VALUE}} (gdb)