[Libreoffice-bugs] [Bug 133630] CRASH: Chart: Changing properties in different objects
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Sep 10 19:55:58 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=133630
--- Comment #16 from Leyan <ouyang.leyan at hotmail.com> ---
Hi Michael,
With the attached patch, I no longer get the crash I was getting initially. I
am not sure whether the original bug reporter had the exact same problem, there
may be other issues with other types of panels.
Removing the assert you mentioned is the first step, but even without it, LO
crashes when a ModifyListener calls ChartAxisPanel::updateData() while the
currently selected object is not an axis. In the updateData, the getCID()
function returns the CID of the selected object, but then ChartAxisPanel tries
to use it through isLabelShown, getAxisForCID, getAxis,
getMaximumAxisIndexByDimension and that's where an IndexOutOfBounds exception
appears, because there is no dimension information in the CID.
--
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/20200910/ca14af91/attachment.htm>
More information about the Libreoffice-bugs
mailing list