Apache OpenOffice (AOO) Bugzilla – Issue 78952
[CWS swwarnings] Compare certain documents, Click "Accept all" -> Crash
Last modified: 2013-08-07 14:42:49 UTC
Note: This occurs in current version of CWS swwarnings only, master 680m213 is OK. To reproduce: - Load Bugdoc_1 - Edit - Compare Document... - Open Bugdoc_2 - In upcoming dialog, click "Accept All" -> Crash Note: Same scenario with "trivial" documents does not crash in CWS.
Created attachment 46309 [details] Bugdoc_1
Created attachment 46311 [details] Bugdoc_2
Note: Bugdoc_1 is also MIME type "application/vnd.oasis.opendocument.text" and not text/plain.
Stack: comphelp4MSC.dll!667d3a85() [Frames below may be incorrect and/or missing, no symbols loaded for comphelp4MSC.dll] comphelp4MSC.dll!667d3e82() > sw680mi.dll!SwOLENode::SavePersistentData() Line 431 + 0x22 bytes C++ sw680mi.dll!SwNodes::ChgNode(SwNodeIndex & rDelPos={...}, unsigned long nSz=0x00000001, SwNodeIndex & rInsPos={...}, unsigned char bNewFrms=0x00) Line 304 C++ sw680mi.dll!SwNodes::_MoveNodes(const SwNodeRange & aRange={...}, SwNodes & rNodes={...}, const SwNodeIndex & aIndex={...}, unsigned char bNewFrms=0x00) Line 964 C++ sw680mi.dll!SwUndoSaveCntnt::MoveToUndoNds(SwPaM & rPaM={...}, SwNodeIndex * pNodeIdx=0x0446a660, SwIndex * pCntIdx=0x00000000, unsigned long * pEndNdIdx=0x00eaf1d4, unsigned short * pEndCntIdx=0x00000000) Line 362 C++ sw680mi.dll!SwUndoSaveSection::SaveSection(SwDoc * __formal=0x051eb158, const SwNodeRange & rRange={...}) Line 843 C++ sw680mi.dll!SwUndoSaveSection::SaveSection(SwDoc * pDoc=0x051eb158, const SwNodeIndex & rSttIdx={...}) Line 813 C++ sw680mi.dll!SwUndoFlyBase::DelFly(SwDoc * pDoc=0x051eb158) Line 223 C++ sw680mi.dll!SwUndoDelLayFmt::SwUndoDelLayFmt(SwFrmFmt * pFormat=0x07c9db88) Line 415 C++ sw680mi.dll!SwHstryTxtFlyCnt::SwHstryTxtFlyCnt(SwFlyFrmFmt * pFlyFmt=0x07c9db88) Line 627 + 0x23 bytes C++ sw680mi.dll!SwHistory::Add(const SwFlyFrmFmt & rFmt={...}, unsigned short & rSetPos=0x0000) Line 1166 + 0x16 bytes C++ sw680mi.dll!SwUndoSaveCntnt::DelCntntIndex(const SwPosition & rMark={...}, const SwPosition & rPoint={...}, unsigned short nDelCntntType=0x000f) Line 682 C++ sw680mi.dll!SwUndoSaveSection::SaveSection(SwDoc * __formal=0x051eb158, const SwNodeRange & rRange={...}) Line 823 C++ sw680mi.dll!SwUndoSaveSection::SaveSection(SwDoc * pDoc=0x051eb158, const SwNodeIndex & rSttIdx={...}) Line 813 C++ sw680mi.dll!SwUndoFlyBase::DelFly(SwDoc * pDoc=0x051eb158) Line 223 C++ sw680mi.dll!SwUndoDelLayFmt::SwUndoDelLayFmt(SwFrmFmt * pFormat=0x07c9db40) Line 415 C++ sw680mi.dll!SwHstryTxtFlyCnt::SwHstryTxtFlyCnt(SwTxtFlyCnt * pTxtFly=0x0d0bd568) Line 618 + 0x29 bytes C++ sw680mi.dll!SwHistory::Add(const SwTxtAttr * pHint=0x0d0bd568, unsigned long nNodeIdx=0x00000000, unsigned char bNewAttr=0x00) Line 1113 C++ sw680mi.dll!SwUndoSaveCntnt::DelCntntIndex(const SwPosition & rMark={...}, const SwPosition & rPoint={...}, unsigned short nDelCntntType=0x000f) Line 638 C++ sw680mi.dll!SwUndoDelete::SwUndoDelete(SwPaM & rPam={...}, unsigned char bFullPara=0x00, unsigned char bCalledByTblCpy=0x00) Line 204 C++ sw680mi.dll!SwDoc::Delete(SwPaM & rPam={...}) Line 1751 + 0x1b bytes C++ sw680mi.dll!SwDoc::DeleteAndJoin(SwPaM & rPam={...}) Line 1683 + 0xd bytes C++ sw680mi.dll!lcl_AcceptRedline(SwRedlineTbl & rArr={...}, unsigned short & rPos=0x4450, unsigned char bCallDelete='', const SwPosition * pSttRng=0x06e441b0, const SwPosition * pEndRng=0x00000000) Line 1759 C++
->sba: I'm able to reproduce this problem with the master milestone m213, so I don't think it's a CWS swwarnings regression. Even in the m215 the problem occurs. ->mav: The stack shows comphelper::EmbeddedObjectContainer::RemoveEmbeddedObject() above the SavePersistentData function, maybe you knows something about it?
*** Issue 78976 has been marked as a duplicate of this issue. ***
I can not reproduce the problem in m221, it could be that it was fixed with other writer problems. This stack usually appears when the writer uses embedded object container from a deleted shell. So it is quite possible that the problem was caused by a bug in writer that is already fixed. I still can reproduce the problem in swwarnings cws, but it is based on m217.
The problem is not reproducible in m221 master, but I do not want to close it before we test swwarnings integrated in post-m221 master. So I just change the target to 2.4.
Works well in the SRC680/m131 where the cws swwarnings was integrated.
Sending the issue back as nonreproducible.
SBA: OK in OOH680_m6. Closed