<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Assert in shutdown/cleanup in SdrObjectLifetimeWatchDog"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=121724">121724</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assert in shutdown/cleanup in SdrObjectLifetimeWatchDog
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.2.0.0.alpha0+
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Base
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>xiscofauli@libreoffice.org
</td>
</tr></table>
<p>
<div>
<pre>This is a follow-up bug of <a class="bz_bug_link
bz_status_NEW "
title="NEW - Cannot create/edit base report (crashes) ( see comment 20 )"
href="show_bug.cgi?id=120151">bug 120151</a> based on
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Cannot create/edit base report (crashes) ( see comment 20 )"
href="show_bug.cgi?id=120151#c20">https://bugs.documentfoundation.org/show_bug.cgi?id=120151#c20</a>
How to reproduce:
1. open <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=145212" name="attach_145212" title="base sample">attachment 145212</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=145212&action=edit" title="base sample">[details]</a></span> from <a class="bz_bug_link
bz_status_NEW "
title="NEW - Cannot create/edit base report (crashes) ( see comment 20 )"
href="show_bug.cgi?id=120151">bug 120151</a>
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...?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>