Bug 147510 - CRASH: cutting content twice
Summary: CRASH: cutting content twice
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 146849 (view as bug list)
Depends on:
Blocks: Cut-Copy Crash
  Show dependency treegraph
 
Reported: 2022-02-18 10:32 UTC by Xisco Faulí
Modified: 2022-12-30 14:20 UTC (History)
6 users (show)

See Also:
Crash report or crash signature: ["SfxItemSet::Clone(bool, SfxItemPool*) const"]


Attachments
BT with symbols (10.70 KB, text/rtf)
2022-02-18 18:51 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2022-02-18 10:32:23 UTC
Steps to reproduce:
1. Open attachment 97314 [details] from bug 77403
2. Select all
3. Cut
4. Select all
5. Cut

-> Crash

reproduced in

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: d697c96178d13725470192d63bd4fa1c202d0d2e
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded

and

Version: 6.4.0.0.alpha1+
Build ID: 9bc848cf0d301aa57eabcffa101a1cf87bad6470
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3; 
Locale: es-ES (es_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 Telesto 2022-02-18 18:51:23 UTC
Created attachment 178386 [details]
BT with symbols

Repro
Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: c1205c1cf6e08d94e6e2e2753679d99bc1842ca0
CPU threads: 8; OS: Mac OS X 12.2; UI render: Skia/Raster; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 2 Xisco Faulí 2022-03-02 17:56:16 UTC
Regression introduced by:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=938a4d6624a78f3e272b3c4c07f314cb0c6db723

author	Michael Stahl <Michael.Stahl@cib.de>	2019-11-01 18:51:06 +0100
committer	Michael Stahl <michael.stahl@cib.de>	2019-11-11 11:02:31 +0100
commit 938a4d6624a78f3e272b3c4c07f314cb0c6db723 (patch)
tree a12051721d98238c4075bdb7cef175ce11622c9a
parent 1a7ba39e13d0a8e0ace2475bc50e1497c2928b78 (diff)
tdf#128375 sw: fix copying RES_PARATR_LIST_AUTOFMT to different SwDoc

Bisected with: bibisect-linux64-6.4

Adding Cc: to Michael Stahl
Comment 3 Gabor Kelemen (allotropia) 2022-11-10 23:22:46 UTC
This seems to be fixed in 7.4 since:

https://git.libreoffice.org/core/+/ddfafd9b67e6e61c144b29ac73bbafb413ddf03b

author	Miklos Vajna <vmiklos@collabora.com>	Wed Mar 30 11:20:12 2022 +0200
committer	Miklos Vajna <vmiklos@collabora.com>	Wed Mar 30 14:09:30 2022 +0200

sw: fix crash in SwAttrSet::CopyToModify()

Regression from commit 938a4d6624a78f3e272b3c4c07f314cb0c6db723
(tdf#128375 sw: fix copying RES_PARATR_LIST_AUTOFMT to different SwDoc,

Thanks Miklos!
Comment 4 Gabor Kelemen (allotropia) 2022-11-10 23:28:31 UTC
*** Bug 146849 has been marked as a duplicate of this bug. ***