[Libreoffice-bugs] [Bug 108919] New: Assertion failed when inserting rectangle shape in spreadsheet

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jul 3 03:41:15 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=108919

            Bug ID: 108919
           Summary: Assertion failed when inserting rectangle shape in
                    spreadsheet
           Product: LibreOffice
           Version: 6.0.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: baron at caesar.elte.hu
            Blocks: 105537

With a debug build, add a rectangle to the sheet.
As soon as you press left button on the sheet there is an assertion failed
error.

This is the assert that fails:
assert(svl::detail::validRange(p.wid1, p.wid2));
http://opengrok.libreoffice.org/xref/core/svl/source/items/itemset.cxx#152

Both p.wid1 and p.wid2 are 0, that's the reason why validRange(...) returns
false.
Those wid's are apparently WhichID's, and the following seems to be the line
where they're initialized as 0 (and it fails a few levels deeper):

pObj->SetMergedItem( SvxAdjustItem( SvxAdjust::Center, 0 ) );
http://opengrok.libreoffice.org/xref/core/sc/source/ui/drawfunc/fuconcustomshape.cxx#202

I have no idea what this whole thing is about...

Observed using master build (ce6b877ba89ae4193f7a719a7dfa4bb45ecd04e4) /
Windows 7.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=105537
[Bug 105537] [META] Assertion failed crashes
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170703/68e679bd/attachment.html>


More information about the Libreoffice-bugs mailing list