[Libreoffice-bugs] [Bug 42185] FILESAFE: Calc segfaults trying to save a document

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 26 00:26:50 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=42185

--- Comment #2 from Thomas Mittelstaedt <tmstaedt at t-mittelstaedt.de> 2011-10-26 00:26:50 PDT ---
(In reply to comment #1)
> You can have the debugging symbols if you build from sources and use
> enable-symbols for config.
> http://wiki.documentfoundation.org/Development/How_to_build
> 
> Could you please attach the file and give the minimum steps to reproduce the pb
> ?

Installed debugging symbols on an ubuntu oneiric vmware vm. Came to downloading
almost ,5 GByte of data and my machine almost died swapping while installing
the lot. But here is a more usable stack trace. The file in question contains
private data, so I cannot deliver that. Reproducing: Opened the file, added
some data, saved the file, and the segfault would occur.

(gdb) bt
#0  ScColumnStyles::GetStyleNameIndex (this=0x9c4ca50, nTable=3, nField=0,
bIsVisible=@0xbfffd31f) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sc/source/filter/xml/XMLStylesExportHelper.cxx:1180
#1  0x06750db1 in ScXMLExport::ExportColumns (this=0x9c9ccd0, nTable=3,
aColumnHeaderRange=..., bHasColumnHeader=0 '\000') at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sc/source/filter/xml/xmlexprt.cxx:977
#2  0x0675cea4 in ScXMLExport::WriteTable (this=0x9c9ccd0, nTable=3,
xTable=...) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sc/source/filter/xml/xmlexprt.cxx:2786
#3  0x0675d8bd in ScXMLExport::_ExportContent (this=0x9c9ccd0) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sc/source/filter/xml/xmlexprt.cxx:1728
#4  0x04e02a7c in SvXMLExport::ImplExportContent (this=0x9c9ccd0) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/xmloff/source/core/xmlexp.cxx:1253
#5  0x04e0517f in SvXMLExport::exportDoc (this=0x9c9ccd0,
eClass=xmloff::token::XML_SPREADSHEET) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/xmloff/source/core/xmlexp.cxx:1484
#6  0x0675359c in ScXMLExport::exportDoc (this=0x9c9ccd0,
eClass=xmloff::token::XML_SPREADSHEET) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sc/source/filter/xml/xmlexprt.cxx:4324
#7  0x04e017cf in SvXMLExport::filter (this=0x9c9ccd0, aDescriptor=...) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/xmloff/source/core/xmlexp.cxx:915
#8  0x067506f2 in ScXMLExport::filter (this=0x9c9ccd0, aDescriptor=...) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sc/source/filter/xml/xmlexprt.cxx:4364
#9  0x06780b70 in ScXMLImportWrapper::ExportToComponent (this=0xbfffdbc4,
xServiceFactory=..., xModel=..., xWriter=..., aDescriptor=..., sName=...,
sMediaType=..., sComponentName=..., bPlainText=0 '\000', aArgs=...,
pSharedData=@0xbfffdb4c) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sc/source/filter/xml/xmlwrap.cxx:718
#10 0x06781a71 in ScXMLImportWrapper::Export (this=0xbfffdbc4, bStylesOnly=0
'\000') at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sc/source/filter/xml/xmlwrap.cxx:921
#11 0x0683a70e in ScDocShell::SaveXML (this=0x92302a8, pSaveMedium=0x92692d8,
xStor=...) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sc/source/ui/docshell/docsh.cxx:475
#12 0x0683ba67 in ScDocShell::SaveAs (this=0x92302a8, rMedium=...) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sc/source/ui/docshell/docsh.cxx:1574
#13 0x009124e1 in SfxObjectShell::SaveAsOwnFormat (this=0x92302a8, rMedium=...)
at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sfx2/source/doc/objstor.cxx:3383
#14 0x0091a1da in SfxObjectShell::SaveTo_Impl (this=0x92302a8, rMedium=...,
pSet=0x9bfab98) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sfx2/source/doc/objstor.cxx:1568
#15 0x0091d35c in SfxObjectShell::DoSave_Impl (this=0x92302a8, pArgs=0x9bfab98)
at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sfx2/source/doc/objstor.cxx:2809
#16 0x0091d824 in SfxObjectShell::Save_Impl (this=0x92302a8, pSet=0x9bfab98) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sfx2/source/doc/objstor.cxx:2885
#17 0x0093af50 in SfxBaseModel::storeSelf (this=0x90fdd18, aSeqArgs=...) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sfx2/source/doc/sfxbasemodel.cxx:1664
#18 0x008f7de0 in SfxStoringHelper::GUIStoreModel (this=0xbfffe7a8, xModel=...,
aSlotName=..., aArgsSequence=..., bPreselectPassword=0 '\000',
aSuggestedName=..., nDocumentSignatureState=0) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sfx2/source/doc/guisaveas.cxx:1403
#19 0x0090e66e in SfxObjectShell::ExecFile_Impl (this=0x92302a8, rReq=...) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sfx2/source/doc/objserv.cxx:630
#20 0x0084ebe4 in CallExec (rReq=..., pFunc=<optimized out>, this=0x92302a8) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sfx2/inc/sfx2/shell.hxx:203
#21 SfxShell::ExecuteSlot (this=0x92302a8, rReq=..., pIF=0x9184e80) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sfx2/source/control/shell.cxx:939
#22 0x06a45ec6 in ScTabViewShell::ExecuteSave (this=0x926f608, rReq=...) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sc/source/ui/view/tabvwsha.cxx:721
#23 0x06a3af52 in SfxStubScTabViewShellExecuteSave (pShell=0x926f608, rReq=...)
at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/solver/340/unxlngi6.pro/workdir/SdiTarget/sc/sdi/scslots.hxx:1192
#24 0x008452ba in CallExec (rReq=..., pFunc=<optimized out>, this=0x926f608) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sfx2/inc/sfx2/shell.hxx:203
#25 SfxDispatcher::Call_Impl (this=0x9285d20, rShell=..., rSlot=..., rReq=...,
bRecord=1 '\001') at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sfx2/source/control/dispatch.cxx:279
#26 0x00845674 in SfxDispatcher::PostMsgHandler (this=0x9285d20,
pReq=0x9bfcb40) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sfx2/source/control/dispatch.cxx:1511
#27 0x00954ecf in Call (this=<optimized out>, pCaller=<optimized out>) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/solver/340/unxlngi6.pro/inc/tools/link.hxx:140
#28 Call (pCaller=<optimized out>, this=<optimized out>) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sfx2/inc/sfx2/genlink.hxx:54
#29 Event (pPostedHint=<optimized out>, this=<optimized out>) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sfx2/source/notify/hintpost.cxx:88
#30 SfxHintPoster::Event (this=0x92872a8, pPostedHint=0x9bfcb40) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sfx2/source/notify/hintpost.cxx:86
#31 0x00954e23 in DoEvent_Impl (pPostedHint=0x9bfcb40, this=0x92872a8) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sfx2/source/notify/hintpost.cxx:78
#32 SfxHintPoster::LinkStubDoEvent_Impl (pThis=0x92872a8, pCaller=0x9bfcb40) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/sfx2/source/notify/hintpost.cxx:82
#33 0x0180ab36 in Call (pCaller=<optimized out>, this=<optimized out>) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/solver/340/unxlngi6.pro/inc/tools/link.hxx:140
#34 ImplHandleUserEvent (pSVEvent=0x91c0930) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/vcl/source/window/winproc.cxx:1993
#35 ImplWindowFrameProc (pWindow=0x88ed988, nEvent=22, pEvent=0x91c0930) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/vcl/source/window/winproc.cxx:2565
#36 0x02e496d3 in CallCallback (pEvent=<optimized out>, nEvent=<optimized out>,
this=0x88edbf8) at ../../../inc/vcl/salframe.hxx:294
#37 SalDisplay::DispatchInternalEvent (this=0x814efb8) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/vcl/unx/source/app/saldisp.cxx:2336
#38 0x02658f7f in GtkXLib::userEventFn (data=0x80e3a48) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/vcl/unx/gtk/app/gtkdata.cxx:814
#39 0x02cf3110 in g_idle_dispatch (source=0x918a638, callback=0x2658fd0
<call_userEventFn(gpointer)>, user_data=0x80e3a48) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:4801
#40 0x02cf725f in g_main_dispatch (context=0x810fee8) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:2441
#41 g_main_context_dispatch (context=0x810fee8) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:3011
#42 0x02cf7990 in g_main_context_iterate (context=0x810fee8, block=0,
dispatch=1, self=<optimized out>) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:3089
#43 0x02cf7c2a in g_main_context_iteration (context=0x810fee8, may_block=0) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#44 0x02656144 in GtkXLib::Yield (this=0x80e3a48, bWait=true,
bHandleAllCurrentEvents=false) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/vcl/unx/gtk/app/gtkdata.cxx:866
#45 0x02e4e616 in X11SalInstance::Yield (this=0x80e3090, bWait=true,
bHandleAllCurrentEvents=false) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/vcl/unx/source/app/salinst.cxx:282
#46 0x015f8bbe in ImplYield (i_bAllEvents=false, i_bWait=true) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/vcl/source/app/svapp.cxx:458
#47 Application::Yield (i_bAllEvents=false) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/vcl/source/app/svapp.cxx:492
#48 0x015f8c84 in Application::Execute () at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/vcl/source/app/svapp.cxx:435
#49 0x001a8562 in desktop::Desktop::Main (this=0xbffff244) at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/desktop/source/app/app.cxx:1902
#50 0x0160042a in ImplSVMain () at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/vcl/source/app/svmain.cxx:174
#51 0x016004dd in SVMain () at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/vcl/source/app/svmain.cxx:211
#52 0x001d3785 in soffice_main () at
/build/buildd/libreoffice-3.4.3/libreoffice-build/build/libreoffice-3.4.3.2/desktop/source/app/sofficemain.cxx:68
#53 0x08048af1 in sal_main () at main.c:36
#54 main (argc=1, argv=0xbffff344) at main.c:35
(gdb)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Libreoffice-bugs mailing list