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

            Bug ID: 87155
           Summary: Assertion failure when loading a (perhaps
                    pathological) spreadsheet document
           Product: LibreOffice
           Version: 4.5.0.0.alpha0+ Master
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Spreadsheet
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: t...@iki.fi

When loading the sample document from bug#87119, I get an assertion failure:

Assertion `n < std::numeric_limits<long>::max() / nMapNum' failed

from vcl/source/outdev/map.cxx:385. Debugging shows that n==0 and nMapNum==-1.
The root cause seems to be that nAvailable gets the value -1 at
sc/source/ui/view/output2.cxx:1722 because aAreaParam.maAlignRect.GetWidth()==3
and nTotalMargin==4.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to