https://issues.apache.org/ooo/show_bug.cgi?id=121977

Andre <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                 OS|Windows 8                   |Windows, all

--- Comment #2 from Andre <[email protected]> ---
I can reproduce this crash on Windows 7 64 bit (changing platform to Windows,
all).

Here is the interesting part of the stack trace:
>       msword.dll!SwWW8ImplReader::SetDocumentGrid(SwFrmFmt & rFmt, const 
> wwSection & rSection)  Line 309 + 0x4 bytes  C++
     msword.dll!wwSectionManager::SetSegmentToPageDesc(const wwSection &
rSection, bool bTitlePage, bool bIgnoreCols)  Line 3850    C++
    
msword.dll!wwSectionManager::SetSwFmtPageDesc(std::_Deque_iterator<wwSection,std::allocator<wwSection>,1>
& rIter, std::_Deque_iterator<wwSection,std::allocator<wwSection>,1> & rStart,
bool bIgnoreCols)  Line 3952    C++
     msword.dll!wwSectionManager::InsertSegments()  Line 4060 + 0x1c bytes   
C++
     msword.dll!SwWW8ImplReader::CoreLoad(WW8Glossary * pGloss, const
SwPosition & rPos)  Line 4655    C++
     msword.dll!SwWW8ImplReader::LoadThroughDecryption(SwPaM & rPaM,
WW8Glossary * pGloss)  Line 5153 + 0x19 bytes    C++
     msword.dll!SwWW8ImplReader::LoadDoc(SwPaM & rPaM, WW8Glossary * pGloss) 
Line 5461 + 0x10 bytes    C++
     msword.dll!WW8Reader::Read(SwDoc & rDoc, const String & rBaseURL, SwPaM &
rPam, const String & __formal)  Line 5530 + 0xe bytes    C++
     sw.dll!SwReader::Read(const Reader & rOptions)  Line 189 + 0x30 bytes   
C++
     sw.dll!SwDocShell::ConvertFrom(SfxMedium & rMedium)  Line 256 + 0xc bytes 
  C++
     sfx.dll!SfxObjectShell::DoLoad()  + 0x7e4 bytes    


Crash happens in this line
    aGrid.SetLines(writer_cast<sal_uInt16>(nTextareaHeight/nLinePitch));
where nLinePitch is zero => division by zero.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Reply via email to