Bug 158796 - CRASH: pasting and undoing a WPC
Summary: CRASH: pasting and undoing a WPC
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+ Master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Crash
  Show dependency treegraph
 
Reported: 2023-12-20 20:42 UTC by Xisco Faulí
Modified: 2023-12-23 18:51 UTC (History)
3 users (show)

See Also:
Crash report or crash signature: 158451


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2023-12-20 20:42:46 UTC
Steps to reproduce:
1. Open attachment 57348 [details] from bug 46361
2. Select all
3. Copy
4. Paste twice
5. Undo twice

-> Crash

Reproduced in

Version: 24.2.0.0.beta1+ (X86_64) / LibreOffice Community
Build ID: 0034d2ab9382da86340738137218791a4ccc9c90
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: fr-FR (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 1 Xisco Faulí 2023-12-20 20:43:24 UTC
Regression introduced by:

author	Regina Henschel <rb.henschel@t-online.de>	2023-09-06 23:03:39 +0200
committer	Miklos Vajna <vmiklos@collabora.com>	2023-11-15 11:13:31 +0100
commit 0430adb42bc38f037b907984e71c144d863796cb (patch)
tree cb2104e03b5f35f8eebfa0eecc142918e3522861
parent c0df28f957b43f0ecbffdc994ee0702dbe5bc33f (diff)
Import Wordprocessing Canvas, wpc:wpc element

Bisected with: bibisect-linux64-24.2
Comment 2 Regina Henschel 2023-12-21 14:01:23 UTC
There is a problem with inline (=as-char) anchored groups, see bug 158451.

The problem is not causally a wpc problem but occurs with a group as well.

When I make sure, that the content is no longer selected when pasting (resulting in 3 pages), it does not crash. But undo does not remove all parts.
When the content is still selected when pasting (resulting in 2 pages), the second undo crashes.

Tested with Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 43967453e15e1d054972a7586cfef8f8e0866270
CPU threads: 32; OS: Windows 10.0 Build 22631; UI render: default; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded
Comment 3 Regina Henschel 2023-12-23 18:51:37 UTC
Bug 158451 is fixed, but the problems here remain :(

But there are problems with undo and as-char anchored groups, see but 158844.