#4 0x00007fc7b7242415 in __assert_fail_base (fmt=0x7fc7b73b7e08 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7fc7aa72eded "aName == m_pSaxWriterHelper->m_DebugStartedElements.top()", file=file@entry=0x7fc7aa7250a9 "/home/julien/lo/libreoffice/sax/source/expatwrap/saxwriter.cxx", line=line@entry=1234, function=function@entry=0x7fc7aa7289a1 "virtual void (anonymous namespace)::SAXWriter::endElement(const OUString &)") at ./assert/assert.c:92 #5 0x00007fc7b7251d32 in __assert_fail (assertion=0x7fc7aa72eded "aName == m_pSaxWriterHelper->m_DebugStartedElements.top()", file=0x7fc7aa7250a9 "/home/julien/lo/libreoffice/sax/source/expatwrap/saxwriter.cxx", line=1234, function=0x7fc7aa7289a1 "virtual void (anonymous namespace)::SAXWriter::endElement(const OUString &)") at ./assert/assert.c:101 #6 0x00007fc7aa78da0e in (anonymous namespace)::SAXWriter::endElement(rtl::OUString const&) (this=0x55e79d5ea5b0, aName="table:table") at /home/julien/lo/libreoffice/sax/source/expatwrap/saxwriter.cxx:1234 #7 0x00007fc7aa0767dc in SvXMLExport::EndElement(rtl::OUString const&, bool) (this=0x55e79a1e09c0, rName="table:table", bIgnWSInside=true) at /home/julien/lo/libreoffice/xmloff/source/core/xmlexp.cxx:2236 #8 0x00007fc7aa0779fe in SvXMLElementExport::~SvXMLElementExport() (this=0x7ffe98241d70) at /home/julien/lo/libreoffice/xmloff/source/core/xmlexp.cxx:2509 #9 0x00007fc78ef67bd9 in ScXMLExport::WriteTable(int, com::sun::star::uno::Reference const&) (this=0x55e79a1e09c0, nTable=1, xTable=uno::Reference to (ScTableSheetObj *) 0x55e79a765858) at /home/julien/lo/libreoffice/sc/source/filter/xml/xmlexprt.cxx:3027 #10 0x00007fc78ef64bcd in ScXMLExport::ExportContent_() (this=0x55e79a1e09c0) at /home/julien/lo/libreoffice/sc/source/filter/xml/xmlexprt.cxx:1950 #11 0x00007fc7aa06dfff in SvXMLExport::ImplExportContent() (this=0x55e79a1e09c0) at /home/julien/lo/libreoffice/xmloff/source/core/xmlexp.cxx:1158 #12 0x00007fc7aa06f966 in SvXMLExport::exportDoc(xmloff::token::XMLTokenEnum) (this=0x55e79a1e09c0, eClass=xmloff::token::XML_SPREADSHEET) at /home/julien/lo/libreoffice/xmloff/source/core/xmlexp.cxx:1396 #13 0x00007fc78ef812e3 in ScXMLExport::exportDoc(xmloff::token::XMLTokenEnum) (this=0x55e79a1e09c0, eClass=xmloff::token::XML_SPREADSHEET) at /home/julien/lo/libreoffice/sc/source/filter/xml/xmlexprt.cxx:5440 #14 0x00007fc7aa06af63 in SvXMLExport::filter(com::sun::star::uno::Sequence const&) (this=0x55e79a1e09c0, aDescriptor=uno::Sequence of length 1 = {...}) at /home/julien/lo/libreoffice/xmloff/source/core/xmlexp.cxx:814 #15 0x00007fc78ef81693 in ScXMLExport::filter(com::sun::star::uno::Sequence const&) (this=0x55e79a1e09c0, aDescriptor=uno::Sequence of length 1 = {...}) at /home/julien/lo/libreoffice/sc/source/filter/xml/xmlexprt.cxx:5478 #16 0x00007fc78f00cfcd in ScXMLImportWrapper::ExportToComponent(com::sun::star::uno::Reference const&, com::sun::star::uno::Reference const&, com::sun::star::uno::Reference const&, com::sun::star::uno::Sequence const&, rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Sequence const&, std::unique_ptr >&) (this=0x7ffe982438f0, xContext=uno::Reference to (cppu::(anonymous namespace)::ComponentContext *) 0x55e797aa7528, xModel=uno::Reference to (ScModelObj *) 0x55e799fcabf0, xWriter=uno::Reference to ((anonymous namespace)::SAXWriter *) 0x55e79d5ea5d8, aDescriptor=uno::Sequence of length 1 = {...}, sName="content.xml", sMediaType="text/xml", sComponentName="com.sun.star.comp.Calc.XMLOasisContentExporter", aArgs=uno::Sequence of length 5 = {...}, pSharedData=std::unique_ptr = {...}) at /home/julien/lo/libreoffice/sc/source/filter/xml/xmlwrap.cxx:684 #17 0x00007fc78f010219 in ScXMLImportWrapper::Export(bool) (this=0x7ffe982438f0, bStylesOnly=false) at /home/julien/lo/libreoffice/sc/source/filter/xml/xmlwrap.cxx:935 #18 0x00007fc78f307dda in ScDocShell::SaveXML(SfxMedium*, com::sun::star::uno::Reference const&) (this=0x55e799cc4e70, pSaveMedium=0x55e79d6349f0, xStor=empty uno::Reference) at /home/julien/lo/libreoffice/sc/source/ui/docshell/docsh.cxx:654 #19 0x00007fc78f311ffd in ScDocShell::SaveAs(SfxMedium&) (this=0x55e799cc4e70, rMedium=...) at /home/julien/lo/libreoffice/sc/source/ui/docshell/docsh.cxx:1933 #20 0x00007fc7b37fb946 in SfxObjectShell::SaveAsOwnFormat(SfxMedium&) (this=0x55e799cc4e70, rMedium=...) at /home/julien/lo/libreoffice/sfx2/source/doc/objstor.cxx:3684 #21 0x00007fc7b37eaec2 in SfxObjectShell::SaveTo_Impl(SfxMedium&, SfxItemSet const*) (this=0x55e799cc4e70, rMedium=..., pSet=0x7ffe98245a20) at /home/julien/lo/libreoffice/sfx2/source/doc/objstor.cxx:1829 #22 0x00007fc7b37f6c4d in SfxObjectShell::DoSave_Impl(SfxItemSet const*) (this=0x55e799cc4e70, pArgs=0x7ffe98245a20) at /home/julien/lo/libreoffice/sfx2/source/doc/objstor.cxx:3066 #23 0x00007fc7b37f7885 in SfxObjectShell::Save_Impl(SfxItemSet const*) (this=0x55e799cc4e70, pSet=0x7ffe98245a20) at /home/julien/lo/libreoffice/sfx2/source/doc/objstor.cxx:3142 #24 0x00007fc7b3866909 in SfxBaseModel::storeSelf(com::sun::star::uno::Sequence const&) (this=0x55e799fcab60, aSeqArgs=uno::Sequence of length 2 = {...}) at /home/julien/lo/libreoffice/sfx2/source/doc/sfxbasemodel.cxx:1708 #25 0x00007fc7b37901e5 in SfxStoringHelper::GUIStoreModel(com::sun::star::uno::Reference const&, std::basic_string_view >, com::sun::star::uno::Sequence&, bool, SignatureState, bool) (this=0x55e79f264930, xModel=uno::Reference to (ScModelObj *) 0x55e799fcabf0, aSlotName=u"Save", aArgsSequence=uno::Sequence of length 2 = {...}, bPreselectPassword=false, nDocumentSignatureState=SignatureState::NOSIGNATURES, bIsAsync=false) at /home/julien/lo/libreoffice/sfx2/source/doc/guisaveas.cxx:1559 #26 0x00007fc7b37c6591 in SfxObjectShell::ExecFile_Impl(SfxRequest&) (this=0x55e799cc4e70, rReq=...) at /home/julien/lo/libreoffice/sfx2/source/doc/objserv.cxx:1091 #27 0x00007fc7b37c0e45 in SfxStubSfxObjectShellExecFile_Impl(SfxShell*, SfxRequest&) (pShell=0x55e799cc4e70, rReq=...) at workdir/SdiTarget/sfx2/sdi/sfxslots.hxx:221 #28 0x00007fc7b343c459 in SfxShell::ExecuteSlot(SfxRequest&, SfxInterface const*) (this=0x55e799cc4e70, rReq=..., pIF=0x55e799fd7c10) at /home/julien/lo/libreoffice/sfx2/source/control/shell.cxx:456 #29 0x00007fc78fb3f67b in ScTabViewShell::ExecuteSave(SfxRequest&) (this=0x55e79a473ab0, rReq=...) at /home/julien/lo/libreoffice/sc/source/ui/view/tabvwsha.cxx:854 #30 0x00007fc78fb16ed5 in SfxStubScTabViewShellExecuteSave(SfxShell*, SfxRequest&) (pShell=0x55e79a473ab0, rReq=...) at workdir/SdiTarget/sc/sdi/scslots.hxx:1492 #31 0x00007fc7b33dfe71 in SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, bool) (this=0x55e79a147930, rShell=..., rSlot=..., rReq=..., bRecord=true) at /home/julien/lo/libreoffice/sfx2/source/control/dispatch.cxx:254 #32 0x00007fc7b33e5cd7 in SfxDispatcher::PostMsgHandler(std::unique_ptr >) (this=0x55e79a147930, pReq=std::unique_ptr = {...}) --Type for more, q to quit, c to continue without paging-- at /home/julien/lo/libreoffice/sfx2/source/control/dispatch.cxx:994 #33 0x00007fc7b3923e1e in SfxHintPoster::DoEvent_Impl(void*) (this=0x55e79a5363f0, pPostedHint=0x55e79e3b8980) at /home/julien/lo/libreoffice/sfx2/source/notify/hintpost.cxx:74 #34 0x00007fc7b3923d4d in SfxHintPoster::LinkStubDoEvent_Impl(void*, void*) (instance=0x55e79a5363f0, data=0x55e79e3b8980) at /home/julien/lo/libreoffice/sfx2/source/notify/hintpost.cxx:54 #35 0x00007fc7adb569d8 in Link::Call(void*) const (this=0x55e79e506938, data=0x55e79e3b8980) at include/tools/link.hxx:111 #36 0x00007fc7adb526b9 in ImplHandleUserEvent(ImplSVEvent*) (pSVEvent=0x55e79e506930) at /home/julien/lo/libreoffice/vcl/source/window/winproc.cxx:2287 #37 0x00007fc7adb4f060 in ImplWindowFrameProc(vcl::Window*, SalEvent, void const*) (_pWindow=0x55e799b7c4d0, nEvent=SalEvent::UserEvent, pEvent=0x55e79e506930) at /home/julien/lo/libreoffice/vcl/source/window/winproc.cxx:2851 #38 0x00007fc7ae7c9c10 in SalFrame::CallCallback(SalEvent, void const*) const (this=0x55e799ad73a0, nEvent=SalEvent::UserEvent, pEvent=0x55e79e506930) at vcl/inc/salframe.hxx:312 #39 0x00007fc7ae7f46ef in SalGenericDisplay::ProcessEvent(SalUserEventList::SalUserEvent) (this=0x55e799af3d90, aEvent=...) at /home/julien/lo/libreoffice/vcl/unx/generic/app/gendisp.cxx:66 #40 0x00007fc7ae2de44d in SalUserEventList::DispatchUserEvents(bool)::$_0::operator()() const (this=0x7ffe98249470) at /home/julien/lo/libreoffice/vcl/source/app/salusereventlist.cxx:119 #41 0x00007fc7ae2de2f4 in SalUserEventList::DispatchUserEvents(bool) (this=0x55e799af3d90, bHandleAllCurrentEvents=false) at /home/julien/lo/libreoffice/vcl/source/app/salusereventlist.cxx:120 #42 0x00007fc7ae7f4645 in SalGenericDisplay::DispatchInternalEvent(bool) (this=0x55e799af3d90, bHandleAllCurrentEvent=false) at /home/julien/lo/libreoffice/vcl/unx/generic/app/gendisp.cxx:51 #43 0x00007fc7a32ff044 in SalX11Display::Yield() (this=0x55e799af3d90) at /home/julien/lo/libreoffice/vcl/unx/generic/app/saldisp.cxx:1860 #44 0x00007fc7a32f3397 in DisplayYield(int, void*) (fd=7, data=0x55e799af3d90) at /home/julien/lo/libreoffice/vcl/unx/generic/app/saldisp.cxx:321 #45 0x00007fc7a32eea8c in (anonymous namespace)::YieldEntry::HandleNextEvent() const (this=0x7fc7a33fe578 ) at /home/julien/lo/libreoffice/vcl/unx/generic/app/saldata.cxx:559 #46 0x00007fc7a32ee255 in SalXLib::Yield(bool, bool) (this=0x55e797aad430, bWait=true, bHandleAllCurrentEvents=false) at /home/julien/lo/libreoffice/vcl/unx/generic/app/saldata.cxx:655 #47 0x00007fc7a330d38d in X11SalInstance::DoYield(bool, bool) (this=0x55e797aad120, bWait=true, bHandleAllCurrentEvents=false) at /home/julien/lo/libreoffice/vcl/unx/generic/app/salinst.cxx:192 #48 0x00007fc7ae3be41c in ImplYield(bool, bool) (i_bWait=true, i_bAllEvents=false) at /home/julien/lo/libreoffice/vcl/source/app/svapp.cxx:378 #49 0x00007fc7ae3bdd2b in Application::Yield() () at /home/julien/lo/libreoffice/vcl/source/app/svapp.cxx:466 #50 0x00007fc7ae3bdac2 in Application::Execute() () at /home/julien/lo/libreoffice/vcl/source/app/svapp.cxx:353 #51 0x00007fc7b7544cec in desktop::Desktop::Main() (this=0x7ffe9824b918) at /home/julien/lo/libreoffice/desktop/source/app/app.cxx:1615 #52 0x00007fc7ae3e0bae in ImplSVMain() () at /home/julien/lo/libreoffice/vcl/source/app/svmain.cxx:229 #53 0x00007fc7ae3e2bf9 in SVMain() () at /home/julien/lo/libreoffice/vcl/source/app/svmain.cxx:261 #54 0x00007fc7b75c7663 in soffice_main() () at /home/julien/lo/libreoffice/desktop/source/app/sofficemain.cxx:93 #55 0x000055e7963cca5d in sal_main () at /home/julien/lo/libreoffice/desktop/source/app/main.c:51 #56 0x000055e7963cca37 in main (argc=3, argv=0x7ffe9824bb28) at /home/julien/lo/libreoffice/desktop/source/app/main.c:49 (gdb) frame 6 #6 0x00007fc7aa78da0e in (anonymous namespace)::SAXWriter::endElement (this=0x55e79d5ea5b0, aName="table:table") at /home/julien/lo/libreoffice/sax/source/expatwrap/saxwriter.cxx:1234 1234 assert(aName == m_pSaxWriterHelper->m_DebugStartedElements.top()); (gdb) p m_pSaxWriterHelper->m_DebugStartedElements.top() $1 = "table:table-row"