[Libreoffice-bugs] [Bug 121724] New: Assert in shutdown/cleanup in SdrObjectLifetimeWatchDog
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Nov 26 17:15:02 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=121724
Bug ID: 121724
Summary: Assert in shutdown/cleanup in
SdrObjectLifetimeWatchDog
Product: LibreOffice
Version: 6.2.0.0.alpha0+
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Base
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: xiscofauli at libreoffice.org
This is a follow-up bug of bug 120151 based on
https://bugs.documentfoundation.org/show_bug.cgi?id=120151#c20
How to reproduce:
1. open attachment 145212 from bug 120151
2. create a report using the report builder wizard
3. save the changes.
4. Edit the report by moving a field
5. LO Base should crash.
Comments from Armin:
----------------------------------------
Objects created by OViewsWindow::BegDragObj_createInvisibleObjectAtPosition are
added to m_aBegDragTempList, but never get deleted. That list is just
filled in OViewsWindow::BegDragObj_createInvisibleObjectAtPosition
cleared and re-filled at OViewsWindow::BegDragObj
but never used for any sort of cleanup - looks like an error to me...
----------------------------------------
After change and close win and answering 'no save' in
OViewsWindow::~OViewsWindow() still all three D&D objects are in
m_aBegDragTempList. That list is <SdrObject*> so no destuct will happen.
The contained SdrObjects do not have a parent - seems as if they get removed
from page, at least they seem to be added to page when constructed (see
OViewsWindow::BegDragObj_createInvisibleObjectAtPosition - there,
rReportSection.getPage()->InsertObject(pNewObj) is called).
Thus it should be possible to find where these get removed from page again...?
--
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/20181126/eb7a279a/attachment.html>
More information about the Libreoffice-bugs
mailing list