Bug 121724 - Assert in shutdown/cleanup in SdrObjectLifetimeWatchDog
Summary: Assert in shutdown/cleanup in SdrObjectLifetimeWatchDog
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
6.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Crash-Assert Regressions-AW080
  Show dependency treegraph
 
Reported: 2018-11-26 17:15 UTC by Xisco Faulí
Modified: 2024-12-16 03:17 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2018-11-26 17:15:02 UTC
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 [details] 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...?
Comment 1 Stéphane Guillou (stragu) 2023-04-04 08:05:49 UTC
I can't reproduce this in 6.3 or 6.4 on Linux. Xisco, what exactly did you mean by "moving a field" in the report editor?
Comment 2 Julien Nabet 2024-05-18 14:19:34 UTC
On pc Debian x86-64 with master sources updated today + gen rendering (since there seems to be a bug to open Base with gtk3 for me), I don't reproduce this.

Xisco: could you give a try with a recent build from master branch and if you still reproduce this, attach a screencast?
Comment 3 QA Administrators 2024-11-15 03:16:53 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2024-12-16 03:17:26 UTC
Dear Xisco Faulí,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp