Bug 147422

Summary: Crash in: SfxItemPool::Remove(SfxPoolItem const &)
Product: LibreOffice Reporter: robert.funnell
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INSUFFICIENTDATA    
Severity: normal CC: dgp-mail, telesto, xiscofauli
Priority: medium    
Version: 7.1.5.2 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: ["SfxItemPool::Remove(SfxPoolItem const &)"] Regression By:

Description robert.funnell 2022-02-14 18:31:49 UTC
This bug was filed from the crash reporting server and is br-472062c4-8d8c-4861-9d13-a71ed9a10e13.
=========================================
I had opened an 18-MB file (with a lot of graphics), accepted 2 deletions, attempted an Undo which didn't work, and then tried a Reload, and Writer crashed.

I see that in 2018 I filed Bug 118333 after a crash when I'd also tried to Reload. I submitted an anonymized version of the file but the bug was not reproducible and it was closed. I'm afraid I don't have time for that now.
Comment 1 Telesto 2022-02-15 12:13:56 UTC
Thanks for the bug report
The cause related to the undo of the deletions you're describing (based on the crash report). But well probably the whole layout matters (including images). 

If you can reproduce it doing the same steps (accepting the 2 deletions your describing) maybe a solution can be found for getting the relevant info
Comment 2 Xisco FaulĂ­ 2022-02-16 15:00:21 UTC
Thank you for reporting the bug.
it seems you're using an old version of LibreOffice.
Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 3 robert.funnell 2022-02-23 16:13:11 UTC
I attempted to reproduce the problem with the same version (7.1.5.2) of Writer and this time the Undo operations and the Reload all worked. To the best of my recollection, I did the same operations (apart from some preliminary scrolling) on the same document.
Comment 4 Dieter 2023-02-05 15:34:29 UTC
Robert, a new major relase of LO is available at https://www.libreoffice.org/download/download-libreoffice/ Could you please test, if bug is still present in actual version LO 7.5.

=> NEEDINFO
Comment 5 robert.funnell 2023-02-05 16:10:36 UTC
I think I've managed to identify the file that I was working on at the time of the crash a year ago (for the record, draft7_rf.odt) but even at that time I was unable to replicate the crash with the same version of LO (comment 3).

For what it's worth, with version 7.3.2.2 I've just now accepted what I think may be the same 2 deletions, attempted an undo (Ctrl-Z) which again had no effect, and then did File > Reload, which worked fine with no crash.

(I've just realized that the reason the supposed undo had no effect was that (both a year ago and now) I typed Ctrl-Z when focus was still with the Manage Changes window.)

I don't think I can replicate the crash.
Comment 6 Dieter 2023-02-05 17:18:19 UTC
(In reply to robert.funnell from comment #5
> 
> I don't think I can replicate the crash.

So let's close it. Feel free to reopen it as UNCONFIRMED, if you can provide steps to reproduce.