Bug 131976 - Crash in: libswlo.so (swlo!SwPostItField::GetName+0x9f:) ( steps in comment 6 )
Summary: Crash in: libswlo.so (swlo!SwPostItField::GetName+0x9f:) ( steps in comment 6 )
Status: RESOLVED DUPLICATE of bug 132892
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.0.0.alpha1+
Hardware: All All
: highest critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 133712 (view as bug list)
Depends on:
Blocks: Crash
  Show dependency treegraph
 
Reported: 2020-04-08 05:44 UTC by Luke Kendall
Modified: 2020-08-17 08:29 UTC (History)
5 users (show)

See Also:
Crash report or crash signature: ["sw::mark::AnnotationMark::InitDoc"]


Attachments
Tiny excerpt from the book in which thje crash occurred (15.86 KB, application/vnd.oasis.opendocument.text)
2020-04-09 06:23 UTC, Luke Kendall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luke Kendall 2020-04-08 05:44:53 UTC
This bug was filed from the crash reporting server and is br-18767ca4-1ab8-4199-a6e0-0673e1a735c1.
=========================================
I highlighted some text which had a comment attached, and dragged it to the start of the paragraph.  When I released the mouse, Writer crashed.
Upon recovery, no data had been lost, but the moved text now appeared in two places, with the comment still attached to the text in its original place, the moved text ending with two special symbols embedded in the text.
When I tried to reproduce the crash with a smaller file, I couldn't.
Comment 1 Luke Kendall 2020-04-08 05:45:56 UTC
Sorry, I need to correct the version - I assumed the crash reporter would set that correctly.

Version: 6.4.2.2
Build ID: 4e471d8c02c9c90f512f7f9ead8875b57fcb1ec3
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: x11; 
Locale: en-GB (en_AU.UTF-8); UI-Language: en-US
Calc: threaded
Comment 2 Timur 2020-04-08 07:00:03 UTC
Please attach a file and explain where exactly to highlight and drag.
Comment 3 Luke Kendall 2020-04-09 06:23:43 UTC
Created attachment 159440 [details]
Tiny excerpt from the book in which thje crash occurred

When I tried it on just the sample document, I couldn't reproduce it.

I had first tried cutting and pasting the comment to move it to the indicated location, but the comment was not copied.

So I used Undo, reselected the text, and tried to move it. That's when it crashed.
Comment 4 Xisco Faulí 2020-04-17 11:05:22 UTC
I can't reproduce it in

Versión: 6.4.2.2 (x86)
Id. de compilación: 4e471d8c02c9c90f512f7f9ead8875b57fcb1ec3
Subprocs. CPU: 2; SO: Windows 6.1 Service Pack 1 Build 7601; Repres. IU: predet.; VCL: win; 
Configuración regional: es-ES (es_ES); Idioma de IU: es-ES
Calc: threaded

Unfortunately without clear steps to reproduce it, we cannot track down the origin of the problem.
Please provide a clearer set of step-by-step instructions on how to reproduce the problem.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the steps are provided
Comment 5 Telesto 2020-04-17 11:50:17 UTC
STR
1. Open attachment 159440 [details]
2. Select 'four a.m.' with the mouse
3. To begin of the sentence; before 'fingering'
Comment 6 Xisco Faulí 2020-04-17 11:54:42 UTC
(In reply to Telesto from comment #5)
> STR
> 1. Open attachment 159440 [details]
> 2. Select 'four a.m.' with the mouse
> 3. To begin of the sentence; before 'fingering'

Steps 3: drag & drop it to the beginning of the sentence

Reproduced in

Version: 7.0.0.0.alpha0+
Build ID: acedbb8692bc84c93114dc4d441b3eb20b3ac467
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

@Telesto, thanks you for investigating this issue and found the steps to reproduce it
Comment 7 Xisco Faulí 2020-04-17 12:22:47 UTC
Regression introduced by:

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

author	Ashod Nakashian <ashod.nakashian@collabora.co.uk>	2018-09-28 06:27:09 -0400
committer	Ashod Nakashian <ashnakash@gmail.com>	2018-12-03 08:10:45 +0100
commit b402d0112a0bb53221b847fa372bfa3f6390a0e2 (patch)
tree 770cf33fa2b14159ca62a469b6bf75110d435182
parent 349748e63c698076bb44f75da9eaa104489e959c (diff)
sw: paragraph-sign: erase metafields from copied text correctly

Bisected with: bibisect-linux64-6.3

Adding Cc: to Ashod Nakashian
Comment 8 Timur 2020-05-07 11:18:14 UTC
Here is confirmed for Linux and I confirm for Windows, so All is correct.
Comment 10 Timur 2020-08-16 06:57:54 UTC
*** Bug 133712 has been marked as a duplicate of this bug. ***
Comment 11 Timur 2020-08-16 07:02:53 UTC
Bug is a regression and has duplicate and same commit in bug 132892 (that also has a duplicate). 
We have multiple reports and bibisects and more can come. I set highest. 
I don't remember seeing Ashod responding in Bugzilla to his regressions. 
Aron, can you please check with him somehow, if possible?
Comment 12 Aron Budea 2020-08-17 03:34:19 UTC
I agree that a crash is bad, at the same time I'd like to point out that over the past ~1.5 years there were less than 20 reported crashes with this signature, therefore I'm not sure if the priority is warranted.
https://crashreport.libreoffice.org/stats/signature/sw::mark::AnnotationMark::InitDoc
Comment 13 opensuse.lietuviu.kalba 2020-08-17 04:46:17 UTC
Keep in mind, that at least in my cases, LibreOffice don't provide option to crash to LibreOffice https://crashreport.libreoffice.org site. Thus crashes are much more often than you see there.
Comment 14 opensuse.lietuviu.kalba 2020-08-17 04:58:20 UTC
(In reply to Aron Budea from comment #12)
> I agree that a crash is bad, at the same time I'd like to point out that
> over the past ~1.5 years there were less than 20 reported crashes with this
> signature, therefore I'm not sure if the priority is warranted.
> https://crashreport.libreoffice.org/stats/signature/sw::mark::AnnotationMark:
> :InitDoc

In that list there are 19 reports. You can count few more by including crash reports found by KDE crash handler from https://bugs.documentfoundation.org/show_bug.cgi?id=133712 too. Then you have 20 reports with critical severity.
Comment 15 Telesto 2020-08-17 07:44:39 UTC
There is also bug 132892; there is a revert in progress https://gerrit.libreoffice.org/c/core/+/100753
Comment 16 Caolán McNamara 2020-08-17 08:29:30 UTC

*** This bug has been marked as a duplicate of bug 132892 ***