Bug 143203 - Assertion when undoing removal of text
Summary: Assertion when undoing removal of text
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Track-Changes Crash-Assert Undo-Redo
  Show dependency treegraph
 
Reported: 2021-07-05 14:39 UTC by Buovjaga
Modified: 2022-08-18 12:40 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Backtrace of crash from master (5.69 KB, text/plain)
2021-07-05 14:39 UTC, Buovjaga
Details
Backtrace (22.29 KB, text/plain)
2021-07-05 22:15 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Buovjaga 2021-07-05 14:39:08 UTC
Created attachment 173369 [details]
Backtrace of crash from master

Use a debug build.

1. Open attachment 164520 [details]
2. From the end of the bullet item, backspace some characters
3. Undo

soffice.bin: /home/tonttu/libreoffice/sw/source/core/txtnode/ndtxt.cxx:404: void sw::MoveMergedFlysAndFootnotes(const std::vector<SwTextFrame *> &, const SwTextNode &, SwTextNode &, bool): Assertion `!pFrame->GetDrawObjs() || !pObjs->Contains(*pObj)' failed.

Arch Linux 64-bit
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: bcaf8b746ab4a5f8fa08217b1081fdad4532425e
CPU threads: 8; OS: Linux 5.12; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 5 July 2021
Comment 1 Aron Budea 2021-07-05 22:15:14 UTC
Created attachment 173374 [details]
Backtrace

I can confirm with a debug build at LO 7.3.0.0.alpha0+ (00d0d8f58cefb76bf9a8867228af1d6c9a9a5ad3) / Ubuntu.

The original backtrace seems incomplete, so I'm adding another one.
Comment 2 Gabor Kelemen (allotropia) 2022-08-18 10:13:01 UTC
I can no longer reproduce this in:

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 1052ec9cff72e2810fdb934a85ab500d3b4ace35
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: hu-HU
Calc: threaded
Comment 3 Buovjaga 2022-08-18 12:40:17 UTC
Same for me, let's close

Arch Linux 64-bit
Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: ee3ebda2be3965584d12b52c007fb047d624b64c
CPU threads: 8; OS: Linux 5.19; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 17 August 2022