Bug 126714 - Assertion failure when moving paragraphs
Summary: Assertion failure when moving paragraphs
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Track-Changes Assert
  Show dependency treegraph
 
Reported: 2019-08-05 21:50 UTC by Gabor Kelemen
Modified: 2019-08-06 09:35 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Backtrace of the assertion error (22.67 KB, text/plain)
2019-08-05 21:50 UTC, Gabor Kelemen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen 2019-08-05 21:50:29 UTC
Created attachment 153149 [details]
Backtrace of the assertion error

Attached gdbtrace is created when moving paragraphs with change tracking enabled an the Bullets and Numbering toolbar is used.

1, Create a simple text file with some paragraphs
2, Enable Change Tracking
3, Enable View - Toolbars - Bullets and Numbering
4, Select a paragraph in the editor an move it up/down using the Bullets and Numbering toolbar buttons. This will create a deletion and insertion change.
5, Move the paragraph (which is now marked as inserted text) to the opposite direction, i.e. back to its original place with the using the Bullets and Numbering toolbar buttons.
6, Console shows this error message: 

 soffice.bin: /home/gabor/src/core/sw/source/core/doc/docnum.cxx:2203: bool SwDoc::MoveParagraphImpl(SwPaM&, long int, bool, const SwRootFrame*): Assertion `*aPam.Start() <= *pRedline->Start()' failed.
Comment 1 Aron Budea 2019-08-05 22:21:31 UTC
Confirmed using LO 6.4.0.0.alpha0 (d05b2b91952927ec40d6ea2f482f76c7ccd25ed3) / Windows 7.

Specific substeps for step 5: in a document with 3 paragraphs, position cursor at 2nd, click move up once, move down twice, then move up once more. => assertion failed