#0 __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 #1 0x00007f4d1dca81cf in __pthread_kill_internal (signo=6, threadid=) at ./nptl/pthread_kill.c:78 #2 0x00007f4d1dc5a472 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007f4d1dc444b2 in __GI_abort () at ./stdlib/abort.c:79 #4 0x00007f4d1d8a3003 in std::__throw_bad_exception() () at /lib/x86_64-linux-gnu/libstdc++.so.6 #5 0x00007f4c0edb0aa3 in std::__debug::vector >::operator[](unsigned long) const (this=0x55d1eb67b710, __n=4095) at /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/debug/vector:450 #6 0x00007f4c0f00ac3a in MSWordStyles::GetStyleId(unsigned short) const (this=0x55d1eb67b6f0, nSlot=4095) at /home/julien/lo/libreoffice/sw/source/filter/ww8/wrtw8sty.cxx:457 #7 0x00007f4c0ed5c8c9 in DocxAttributeOutput::StartStyle(rtl::OUString const&, StyleType, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, bool) (this=0x55d1eb4e5490, rName="Heading 1", eType=STYLE_TYPE_PARA, nBase=0, nNext=4095, nLink=4095, nWwId=1, nSlot=1, bAutoUpdate=false) at /home/julien/lo/libreoffice/sw/source/filter/ww8/docxattributeoutput.cxx:6760 #8 0x00007f4c0f00be2d in MSWordStyles::OutputStyle(unsigned short) (this=0x55d1eb67b6f0, nSlot=1) at /home/julien/lo/libreoffice/sw/source/filter/ww8/wrtw8sty.cxx:709 #9 0x00007f4c0f00c123 in MSWordStyles::OutputStylesTable() (this=0x55d1eb67b6f0) at /home/julien/lo/libreoffice/sw/source/filter/ww8/wrtw8sty.cxx:765 #10 0x00007f4c0ee16009 in DocxExport::InitStyles() (this=0x7ffe23d6e448) at /home/julien/lo/libreoffice/sw/source/filter/ww8/docxexport.cxx:685 #11 0x00007f4c0ee15cdb in DocxExport::ExportDocument_Impl() (this=0x7ffe23d6e448) at /home/julien/lo/libreoffice/sw/source/filter/ww8/docxexport.cxx:531 #12 0x00007f4c0f066391 in MSWordExportBase::ExportDocument(bool) (this=0x7ffe23d6e448, bWriteAll=true) at /home/julien/lo/libreoffice/sw/source/filter/ww8/wrtww8.cxx:3490 #13 0x00007f4c0ee44874 in DocxExportFilter::exportDocument() (this=0x55d1eb458fe0) at /home/julien/lo/libreoffice/sw/source/filter/ww8/docxexportfilter.cxx:113 #14 0x00007f4c0f9e4589 in oox::core::FilterBase::filter(com::sun::star::uno::Sequence const&) (this=0x55d1eb458fe0, rMediaDescSeq=uno::Sequence of length 11 = {...}) at /home/julien/lo/libreoffice/oox/source/core/filterbase.cxx:493 #15 0x00007f4c3084e5f9 in (anonymous namespace)::WriterFilter::filter(com::sun::star::uno::Sequence const&) (this=0x55d1e70d79d0, rDescriptor=uno::Sequence of length 11 = {...}) at /home/julien/lo/libreoffice/sw/source/writerfilter/filter/WriterFilter.cxx:158 #16 0x00007f4d1a1ea555 in SfxObjectShell::ExportTo(SfxMedium&) (this=0x55d1e3862950, rMedium=...) at /home/julien/lo/libreoffice/sfx2/source/doc/objstor.cxx:2931 #17 0x00007f4d1a1e552b in SfxObjectShell::SaveTo_Impl(SfxMedium&, SfxItemSet const*) (this=0x55d1e3862950, rMedium=..., pSet=0x0) at /home/julien/lo/libreoffice/sfx2/source/doc/objstor.cxx:1934 #18 0x00007f4d1a1f3d7c in SfxObjectShell::PreDoSaveAs_Impl(rtl::OUString const&, rtl::OUString const&, SfxItemSet const&, com::sun::star::uno::Sequence const&) (this=0x55d1e3862950, rFileName="file:///tmp/cannot-be-saved-as-docx-v01.docx", aFilterName="Office Open XML Text", rItemSet=SfxItemSet of pool 0x55d1e048e310 with parent 0x0 and Which ranges: [(5507, 5507), (5530, 5530), (6597, 6597), (6675, 6675)] = {...}, rArgs=uno::Sequence of length 4 = {...}) at /home/julien/lo/libreoffice/sfx2/source/doc/objstor.cxx:3434 #19 0x00007f4d1a1f1ea9 in SfxObjectShell::CommonSaveAs_Impl(INetURLObject const&, rtl::OUString const&, SfxItemSet&, com::sun::star::uno::Sequence const&) (this=0x55d1e3862950, aURL=..., aFilterName="Office Open XML Text", rItemSet=SfxItemSet of pool 0x55d1e048e310 with parent 0x0 and Which ranges: [(5507, 5507), (5530, 5530), (6597, 6597), (6675, 6675)] = {...}, rArgs=uno::Sequence of length 4 = {...}) at /home/julien/lo/libreoffice/sfx2/source/doc/objstor.cxx:3224 #20 0x00007f4d1a1c1de4 in SfxObjectShell::APISaveAs_Impl(std::basic_string_view >, SfxItemSet&, com::sun::star::uno::Sequence const&) (this=0x55d1e3862950, aFileName=u"file:///tmp/cannot-be-saved-as-docx-v01.docx", rItemSet=SfxItemSet of pool 0x55d1e048e310 with parent 0x0 and Which ranges: [(5507, 5507), (5530, 5530), (6597, 6597), (6675, 6675)] = {...}, rArgs=uno::Sequence of length 4 = {...}) at /home/julien/lo/libreoffice/sfx2/source/doc/objserv.cxx:319 #21 0x00007f4d1a263285 in SfxBaseModel::impl_store(rtl::OUString const&, com::sun::star::uno::Sequence const&, bool) (this=0x55d1e389c530, sURL="file:///tmp/cannot-be-saved-as-docx-v01.docx", seqArguments=uno::Sequence of length 4 = {...}, bSaveTo=false) at /home/julien/lo/libreoffice/sfx2/source/doc/sfxbasemodel.cxx:3233 #22 0x00007f4d1a2611a2 in SfxBaseModel::storeAsURL(rtl::OUString const&, com::sun::star::uno::Sequence const&) (this=0x55d1e389c530, rURL="file:///tmp/cannot-be-saved-as-docx-v01.docx", rArgs=uno::Sequence of length 4 = {...}) at /home/julien/lo/libreoffice/sfx2/source/doc/sfxbasemodel.cxx:1769 #23 0x00007f4d1a17b888 in SfxStoringHelper::FinishGUIStoreModel(__gnu_debug::_Safe_iterator, false, true>, std::__debug::unordered_map > >, std::forward_iterator_tag>&, ModelData_Impl&, bool, short, com::sun::star::uno::Sequence&, bool, bool, bool, std::basic_string_view >, std::basic_string_view >, com::sun::star::uno::Sequence&, rtl::OUString) (aFileNameIter=..., aModelData=..., bRemote=false, nStoreMode=32, aFilterProps=uno::Sequence of length 14 = {...}, bSetStandardName=false, bPreselectPassword=false, bDialogUsed=true, aFilterFromMediaDescr=u"", aOldFilterName=u"writer8", aArgsSequence=uno::Sequence of length 4 = {...}, aFilterName=Python Exception : value has been optimized out Python Exception : value has been optimized out ) at /home/julien/lo/libreoffice/sfx2/source/doc/guisaveas.cxx:1869 #24 0x00007f4d1a1864f4 in SfxStoringHelper::GUIStoreModel(com::sun::star::uno::Reference const&, std::basic_string_view >, com::sun::star::uno::Sequence&, bool, SignatureState, bool) (this=0x55d1eb3f71c0, xModel=uno::Reference to (SwXTextDocument *) 0x55d1e389c5c0, aSlotName=u"SaveAs", aArgsSequence=uno::Sequence of length 4 = {...}, bPreselectPassword=false, nDocumentSignatureState=SignatureState::NOSIGNATURES, bIsAsync=false) at /home/julien/lo/libreoffice/sfx2/source/doc/guisaveas.cxx:1610 #25 0x00007f4d1a1bb841 in SfxObjectShell::ExecFile_Impl(SfxRequest&) (this=0x55d1e3862950, rReq=...) at /home/julien/lo/libreoffice/sfx2/source/doc/objserv.cxx:1087 #26 0x00007f4d1a1b60f5 in SfxStubSfxObjectShellExecFile_Impl(SfxShell*, SfxRequest&) (pShell=0x55d1e3862950, rReq=...) at workdir/SdiTarget/sfx2/sdi/sfxslots.hxx:221 #27 0x00007f4d19dd5991 in SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, bool) (this=0x55d1e5710e60, rShell=..., rSlot=..., rReq=..., bRecord=true) at /home/julien/lo/libreoffice/sfx2/source/control/dispatch.cxx:254 #28 0x00007f4d19dda457 in SfxDispatcher::Execute_(SfxShell&, SfxSlot const&, SfxRequest&, SfxCallMode) (this=0x55d1e5710e60, rShell=..., rSlot=..., rReq=..., eCallMode=SfxCallMode::RECORD) at /home/julien/lo/libreoffice/sfx2/source/control/dispatch.cxx:753 --Type for more, q to quit, c to continue without paging-- #29 0x00007f4d19dc24c9 in SfxBindings::Execute_Impl(SfxRequest&, SfxSlot const*, SfxShell*) (this=0x55d1e4b67c90, aReq=..., pSlot=0x7f4d1a551cb0 , pShell=0x55d1e3862950) at /home/julien/lo/libreoffice/sfx2/source/control/bindings.cxx:1058 #30 0x00007f4d19eb3615 in SfxDispatchController_Impl::dispatch(com::sun::star::util::URL const&, com::sun::star::uno::Sequence const&, com::sun::star::uno::Reference const&) (this=0x55d1e4e68e90, aURL=..., aArgs=empty uno::Sequence, rListener=empty uno::Reference) at /home/julien/lo/libreoffice/sfx2/source/control/unoctitm.cxx:691 #31 0x00007f4d19eb1e51 in SfxOfficeDispatch::dispatch(com::sun::star::util::URL const&, com::sun::star::uno::Sequence const&) (this=0x55d1e4e681f0, aURL=..., aArgs=empty uno::Sequence) at /home/julien/lo/libreoffice/sfx2/source/control/unoctitm.cxx:250 #32 0x00007f4d1b33a310 in framework::MenuBarManager::Select(Menu*) (this=0x55d1e4c2ba60, pMenu=0x55d1e53caed0) at /home/julien/lo/libreoffice/framework/source/uielement/menubarmanager.cxx:832 #33 0x00007f4d1b339d4d in framework::MenuBarManager::LinkStubSelect(void*, Menu*) (instance=0x55d1e4c2ba60, data=0x55d1e53caed0) at /home/julien/lo/libreoffice/framework/source/uielement/menubarmanager.cxx:796 #34 0x00007f4d14433f8d in Link::Call(Menu*) const (this=0x55d1e53caf50, data=0x55d1e53caed0) at include/tools/link.hxx:111 #35 0x00007f4d14424776 in Menu::Select() (this=0x55d1e53caed0) at /home/julien/lo/libreoffice/vcl/source/window/menu.cxx:360 #36 0x00007f4d1442e464 in Menu::ImplCallSelect(void*) (this=0x55d1e53caed0) at /home/julien/lo/libreoffice/vcl/source/window/menu.cxx:2151 #37 0x00007f4d1442469d in Menu::LinkStubImplCallSelect(void*, void*) (instance=0x55d1e53caed0, data=0x0) at /home/julien/lo/libreoffice/vcl/source/window/menu.cxx:2148 #38 0x00007f4d1455b5d8 in Link::Call(void*) const (this=0x55d1e7909f18, data=0x0) at include/tools/link.hxx:111 #39 0x00007f4d145572b9 in ImplHandleUserEvent(ImplSVEvent*) (pSVEvent=0x55d1e7909f10) at /home/julien/lo/libreoffice/vcl/source/window/winproc.cxx:2287 #40 0x00007f4d14553c60 in ImplWindowFrameProc(vcl::Window*, SalEvent, void const*) (_pWindow=0x55d1e066daf0, nEvent=SalEvent::UserEvent, pEvent=0x55d1e7909f10) at /home/julien/lo/libreoffice/vcl/source/window/winproc.cxx:2851 #41 0x00007f4d151ce4d0 in SalFrame::CallCallback(SalEvent, void const*) const (this=0x55d1de5856e0, nEvent=SalEvent::UserEvent, pEvent=0x55d1e7909f10) at vcl/inc/salframe.hxx:312 #42 0x00007f4d151f8fdf in SalGenericDisplay::ProcessEvent(SalUserEventList::SalUserEvent) (this=0x55d1e04a6b30, aEvent=...) at /home/julien/lo/libreoffice/vcl/unx/generic/app/gendisp.cxx:66 #43 0x00007f4d14ce370d in SalUserEventList::DispatchUserEvents(bool)::$_0::operator()() const (this=0x7ffe23d78c80) at /home/julien/lo/libreoffice/vcl/source/app/salusereventlist.cxx:119 #44 0x00007f4d14ce35b4 in SalUserEventList::DispatchUserEvents(bool) (this=0x55d1e04a6b30, bHandleAllCurrentEvents=false) at /home/julien/lo/libreoffice/vcl/source/app/salusereventlist.cxx:120 #45 0x00007f4d151f8f35 in SalGenericDisplay::DispatchInternalEvent(bool) (this=0x55d1e04a6b30, bHandleAllCurrentEvent=false) at /home/julien/lo/libreoffice/vcl/unx/generic/app/gendisp.cxx:51 #46 0x00007f4d09a930f6 in call_userEventFn(void*) (data=0x55d1de3c8f80) at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtkdata.cxx:824 #47 0x00007f4d103110d9 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #48 0x00007f4d10314317 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #49 0x00007f4d10314930 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #50 0x00007f4d09a91bbf in GtkSalData::Yield(bool, bool) (this=0x55d1de3c8f80, bWait=true, bHandleAllCurrentEvents=false) at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtkdata.cxx:405 #51 0x00007f4d09a97033 in GtkInstance::DoYield(bool, bool) (this=0x55d1de3c8e30, bWait=true, bHandleAllCurrentEvents=false) at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtkinst.cxx:435 #52 0x00007f4d14dc365c in ImplYield(bool, bool) (i_bWait=true, i_bAllEvents=false) at /home/julien/lo/libreoffice/vcl/source/app/svapp.cxx:378 #53 0x00007f4d14dc2f6b in Application::Yield() () at /home/julien/lo/libreoffice/vcl/source/app/svapp.cxx:466 #54 0x00007f4d14dc2d02 in Application::Execute() () at /home/julien/lo/libreoffice/vcl/source/app/svapp.cxx:353 #55 0x00007f4d1df44b2c in desktop::Desktop::Main() (this=0x7ffe23d7ac38) at /home/julien/lo/libreoffice/desktop/source/app/app.cxx:1615 #56 0x00007f4d14de5dee in ImplSVMain() () at /home/julien/lo/libreoffice/vcl/source/app/svmain.cxx:229 #57 0x00007f4d14de7e39 in SVMain() () at /home/julien/lo/libreoffice/vcl/source/app/svmain.cxx:261 #58 0x00007f4d1dfc7513 in soffice_main() () at /home/julien/lo/libreoffice/desktop/source/app/sofficemain.cxx:93 #59 0x000055d1de2e0a5d in sal_main () at /home/julien/lo/libreoffice/desktop/source/app/main.c:51 #60 0x000055d1de2e0a37 in main (argc=3, argv=0x7ffe23d7ae48) at /home/julien/lo/libreoffice/desktop/source/app/main.c:49 warn:sfx.dialog:45228:45228:sfx2/source/dialog/filedlghelper.cxx:1690: stat(/tmp/cannot-be-saved-as-docx-v01.odt) failed with errno 2 /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/debug/vector:450: In function: const_reference std::vector::operator[](size_type) const [_Tp = MSWordStyles::MapEntry, _Allocator = std::allocator] Error: attempt to subscript container with out-of-bounds index 4095, but container only holds 4091 elements. Objects involved in the operation: sequence "this" @ 0x55d1eb67b710 { type = std::debug::vector >; }