Bug 135061 - Hang: pasting content ( track changes )
Summary: Hang: pasting content ( track changes )
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Michael Stahl (allotropia)
URL:
Whiteboard: target:7.4.0 target:7.3.0.2 target:7....
Keywords: bibisected, bisected, regression
: 134147 134149 (view as bug list)
Depends on:
Blocks: redlinehide-regressions
  Show dependency treegraph
 
Reported: 2020-07-22 22:53 UTC by Xisco Faulí
Modified: 2022-06-20 09:10 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file (10.51 KB, application/vnd.oasis.opendocument.text)
2020-07-22 22:53 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2020-07-22 22:53:37 UTC
Created attachment 163429 [details]
sample file

This is a similar issue to bug 132911 that I found while creating a unittest

Steps to reproduce:
1. Open attached document
2. Select all
3. Cut
4. Paste
5. Paste

-> LibreOffice hangs

Reproduced in

Version: 7.1.0.0.alpha0+
Build ID: d8270636a57e7dc68ede51308c380e2098f765d7
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Xisco Faulí 2020-07-22 22:55:16 UTC
LibreOffice started to hang after

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

author	Michael Stahl <Michael.Stahl@cib.de>	2018-10-09 14:49:23 +0200
committer	Michael Stahl <Michael.Stahl@cib.de>	2018-11-15 15:09:58 +0100
commit f609eba8b979620dc8f1c4a47d710360f8aae9e6 (patch)
tree 1f23490b20b2b1a855a7239b089d2b9d4728caaa
parent 7dafa9b67524d33bb251a66dc4d20d54ece36c4c (diff)
sw_redlinehide_3: convert even more SwAccessibleParagraph functions

before this commit, LibreOffice crashes on step 3
Comment 2 Commit Notification 2021-12-22 12:01:31 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/af4e20426ad24c6f2c0164b37472f2b7b54ecd30

tdf#135061 sw_redlinehide: create frames following hidden table

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2021-12-22 12:01:42 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/70ac13eecfa620e94770a64110eeaa05f8c266e6

tdf#135061 sw_redlinehide: fix copy into delete redline following table

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Michael Stahl (allotropia) 2021-12-22 12:24:12 UTC
fixed on master
Comment 5 Xisco Faulí 2021-12-22 14:55:11 UTC
(In reply to Xisco Faulí from comment #0)
> Created attachment 163429 [details]
> sample file
> 
> This is a similar issue to bug 132911 that I found while creating a unittest
> 
> Steps to reproduce:
> 1. Open attached document
> 2. Select all
> 3. Cut
> 4. Paste
> 5. Paste
> 
> -> LibreOffice hangs
> 
> Reproduced in
> 
> Version: 7.1.0.0.alpha0+
> Build ID: d8270636a57e7dc68ede51308c380e2098f765d7
> CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
> Locale: en-US (en_US.UTF-8); UI: en-US
> Calc: threaded

Rechecking this, the original report is only reproducible with GTK3
OTOH, the following steps crash:

1. Open attached document
2. Select all
3. Cut or copy
4. Paste x5
5. Undo x5
Comment 6 Commit Notification 2021-12-22 16:09:11 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "libreoffice-7-3":

https://git.libreoffice.org/core/commit/ebcd9cef036bc9e383b5d8b97a306cb91e0b8928

tdf#135061 sw_redlinehide: create frames following hidden table

It will be available in 7.3.0.2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Commit Notification 2021-12-22 16:10:23 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "libreoffice-7-3":

https://git.libreoffice.org/core/commit/821e5733ce2149544fb6ff0b3d39923340f93fa7

tdf#135061 sw_redlinehide: fix copy into delete redline following table

It will be available in 7.3.0.2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 8 Commit Notification 2021-12-22 18:22:55 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/22f3f806abc0ef3ef02cd6733bdb3f950085dd17

tdf#135061: sw_uiwriter3: Add unittest

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 9 Commit Notification 2021-12-23 10:15:02 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "libreoffice-7-2":

https://git.libreoffice.org/core/commit/1ca3c0d70b31ed173a896bcb37cc731b5324a573

tdf#135061 sw_redlinehide: create frames following hidden table

It will be available in 7.2.6.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 10 Commit Notification 2021-12-23 10:16:18 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "libreoffice-7-2":

https://git.libreoffice.org/core/commit/f7455f031b5338b55b0c58822b3502913603e99c

tdf#135061 sw_redlinehide: fix copy into delete redline following table

It will be available in 7.2.6.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 11 Commit Notification 2021-12-23 11:03:13 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "libreoffice-7-3":

https://git.libreoffice.org/core/commit/a7fb9ec83d08d28383918a40a0f9ccbbdccbf506

tdf#135061: sw_uiwriter3: Add unittest

It will be available in 7.3.0.2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 12 Commit Notification 2021-12-23 11:15:51 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "libreoffice-7-2":

https://git.libreoffice.org/core/commit/6dfbfe58ca6d0ebc3de6e57a44baacfef6e43c07

tdf#135061: sw_uiwriter3: Add unittest

It will be available in 7.2.6.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 13 Commit Notification 2021-12-29 08:37:51 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "libreoffice-7-2-5":

https://git.libreoffice.org/core/commit/7378537a68a97ea555d24c5d7991863b50c1687d

tdf#135061 sw_redlinehide: create frames following hidden table

It will be available in 7.2.5.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 14 Commit Notification 2021-12-29 08:38:01 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "libreoffice-7-2-5":

https://git.libreoffice.org/core/commit/f977eaba713067f2980573850366e81ddd50541b

tdf#135061 sw_redlinehide: fix copy into delete redline following table

It will be available in 7.2.5.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 15 Xisco Faulí 2022-06-20 08:58:21 UTC
*** Bug 134149 has been marked as a duplicate of this bug. ***
Comment 16 Xisco Faulí 2022-06-20 09:10:47 UTC
*** Bug 134147 has been marked as a duplicate of this bug. ***