[Libreoffice] crasher in writer (footer)

August Sodora augsod at gmail.com
Tue Jan 10 09:03:13 PST 2012


When I try to delete a footer, I'm getting a SIGABRT from a failed
assertion, backtrace below

soffice.bin: /home/augsod/Sources/libo/sw/source/core/bastyp/index.cxx:237:
virtual SwIndexReg::~SwIndexReg(): Assertion `!m_pFirst && !m_pLast'
failed.

Program received signal SIGABRT, Aborted.
0xb7fdf424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fdf424 in __kernel_vsyscall ()
#1  0xb7cfac8f in __GI_raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb7cfe2b5 in __GI_abort () at abort.c:92
#3  0xb7cf3826 in __GI___assert_fail (assertion=0xaaa36fc9 "!m_pFirst
&& !m_pLast", file=
    0xaaa36f44 "/home/augsod/Sources/libo/sw/source/core/bastyp/index.cxx",
line=237, function=0xaaa37320 "virtual SwIndexReg::~SwIndexReg()")
    at assert.c:81
#4  0xaa011cbf in SwIndexReg::~SwIndexReg (this=0xa6def43c,
__in_chrg=<optimized out>) at
/home/augsod/Sources/libo/sw/source/core/bastyp/index.cxx:237
#5  0xaa1f27bb in SwCntntNode::~SwCntntNode (this=0xa6def408,
__in_chrg=<optimized out>) at
/home/augsod/Sources/libo/sw/source/core/docnode/node.cxx:994
#6  0xaa4cab8d in SwTxtNode::~SwTxtNode (this=0xa6def408,
__in_chrg=<optimized out>) at
/home/augsod/Sources/libo/sw/source/core/txtnode/ndtxt.cxx:248
#7  0xaa4cac47 in SwTxtNode::~SwTxtNode (this=0xa6def408,
__in_chrg=<optimized out>) at
/home/augsod/Sources/libo/sw/source/core/txtnode/ndtxt.cxx:269
#8  0xaa1ff776 in SwNodes::RemoveNode (this=0xa97e9c40, nDelPos=9,
nSz=4, bDel=1 '\001') at
/home/augsod/Sources/libo/sw/source/core/docnode/nodes.cxx:2409
#9  0xaa1fce1b in SwNodes::DelNodes (this=0xa97e9c40, rStart=...,
nCnt=4) at /home/augsod/Sources/libo/sw/source/core/docnode/nodes.cxx:1541
#10 0xaa0e0c17 in SwDoc::DeleteSection (this=0xa97d0fd0,
pNode=0xa60cf650) at
/home/augsod/Sources/libo/sw/source/core/doc/docedt.cxx:729
#11 0xaa2da583 in DelHFFormat (pToRemove=0xa5f391cc, pFmt=0xa9b3cdc0)
at /home/augsod/Sources/libo/sw/source/core/layout/atrfrm.cxx:238
#12 0xaa2db8a9 in SwFmtFooter::~SwFmtFooter (this=0xa5f391c0,
__in_chrg=<optimized out>) at
/home/augsod/Sources/libo/sw/source/core/layout/atrfrm.cxx:559
#13 0xaa2db92f in SwFmtFooter::~SwFmtFooter (this=0xa5f391c0,
__in_chrg=<optimized out>) at
/home/augsod/Sources/libo/sw/source/core/layout/atrfrm.cxx:560
#14 0xb6f581cf in SfxItemPool::Remove (this=0xa97d21e8, rItem=...) at
/home/augsod/Sources/libo/svl/source/items/itempool.cxx:847
#15 0xb6f6d126 in SfxItemSet::~SfxItemSet (this=0xbfffe2c0,
__in_chrg=<optimized out>) at
/home/augsod/Sources/libo/svl/source/items/itemset.cxx:344
#16 0xaa006bd9 in SwAttrSet::~SwAttrSet (this=0xbfffe2c0,
__in_chrg=<optimized out>) at
/home/augsod/Sources/libo/sw/inc/swatrset.hxx:175
#17 0xaa005481 in SwFmt::~SwFmt (this=0xbfffe2a0, __in_chrg=<optimized
out>) at /home/augsod/Sources/libo/sw/source/core/attr/format.cxx:243
#18 0xaa1082b6 in SwFrmFmt::~SwFrmFmt (this=0xbfffe2a0,
__in_chrg=<optimized out>) at
/home/augsod/Sources/libo/sw/inc/frmfmt.hxx:47
#19 0xaa3564cd in SwPageDesc::~SwPageDesc (this=0xbfffe22c,
__in_chrg=<optimized out>) at
/home/augsod/Sources/libo/sw/source/core/layout/pagedesc.cxx:112
#20 0xaaa1b89d in SwWrtShell::ChangeHeaderOrFooter (this=0xa97c6738,
rStyleName="Converted2", bHeader=0 '\000', bOn=0 '\000',
bShowWarning=0 '\000')
    at /home/augsod/Sources/libo/sw/source/ui/wrtsh/wrtsh1.cxx:1838
#21 0xaa8852d8 in SwHeaderFooterWin::ExecuteCommand (this=0xa59773c8,
nSlot=22602) at
/home/augsod/Sources/libo/sw/source/ui/docvw/HeaderFooterWin.cxx:488
#22 0xaa885423 in SwHeaderFooterWin::Select (this=0xa59773c8) at
/home/augsod/Sources/libo/sw/source/ui/docvw/HeaderFooterWin.cxx:518
#23 0xb5744e50 in MenuButton::ImplExecuteMenu (this=0xa59773c8) at
/home/augsod/Sources/libo/vcl/source/control/menubtn.cxx:86
#24 0xb5745432 in MenuButton::MouseButtonDown (this=0xa59773c8,
rMEvt=...) at /home/augsod/Sources/libo/vcl/source/control/menubtn.cxx:186
#25 0xaa8853f9 in SwHeaderFooterWin::MouseButtonDown (this=0xa59773c8,
rMEvt=...) at /home/augsod/Sources/libo/sw/source/ui/docvw/HeaderFooterWin.cxx:513
#26 0xb5af813d in ImplHandleMouseEvent (pWindow=0xa61b90b0,
nSVEvent=1, bMouseLeave=0 '\000', nX=1017, nY=358, nMsgTime=54664406,
nCode=1, nMode=3)
    at /home/augsod/Sources/libo/vcl/source/window/winproc.cxx:804
#27 0xb5afcf5d in ImplHandleSalMouseButtonDown (pWindow=0xa61b90b0,
pEvent=0xbfffe848) at
/home/augsod/Sources/libo/vcl/source/window/winproc.cxx:2074
#28 0xb5afc42c in ImplWindowFrameProc (pWindow=0xa61b90b0, nEvent=3,
pEvent=0xbfffe848) at
/home/augsod/Sources/libo/vcl/source/window/winproc.cxx:2401
#29 0xb11ed48f in SalFrame::CallCallback (this=0xa61b9338, nEvent=3,
pEvent=0xbfffe848) at
/home/augsod/Sources/libo/vcl/inc/salframe.hxx:294
#30 0xb11e9d72 in GtkSalFrame::signalButton (pEvent=0xa5a986e8,
frame=0xa61b9338) at
/home/augsod/Sources/libo/vcl/unx/gtk/window/gtkframe.cxx:2880

August Sodora
augsod at gmail.com
(201) 280-8138


More information about the LibreOffice mailing list