Bug 146859 - Assert in void SwNodes::UpdateOutlineNode(SwNode&): Assertion `IsDocNodes()'
Summary: Assert in void SwNodes::UpdateOutlineNode(SwNode&): Assertion `IsDocNodes()'
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Crash-Assert
  Show dependency treegraph
 
Reported: 2022-01-19 16:13 UTC by Xisco Faulí
Modified: 2023-05-31 08:13 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file (18.37 KB, application/vnd.oasis.opendocument.text-flat-xml)
2022-01-19 16:13 UTC, Xisco Faulí
Details
bt with debug symbols (8.50 KB, text/plain)
2022-01-19 19:59 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2022-01-19 16:13:30 UTC
Created attachment 177651 [details]
sample file

Issue found by https://gerrit.libreoffice.org/c/core/+/128580

Steps to reproduce:
1. Open sw/qa/extras/uiwriter/data/tdf100691.fodt or the attached file in a debug build
2. Select all
3. Copy
4· Press down key
5. Paste

-> Assert: soffice.bin: /home/xisco/libreoffice/sw/source/core/docnode/ndnum.cxx:41: void SwNodes::UpdateOutlineNode(SwNode&): Assertion `IsDocNodes()' failed.
Unspecified Application Error


Reproduced in

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 5db574727f4564238a54159a1a0673eaa2884b69
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 1 Julien Nabet 2022-01-19 19:59:38 UTC
Created attachment 177659 [details]
bt with debug symbols

On pc Debian x86-64 with master sources updated today, I don't reproduce this with this exact process but had an assertion if I do a Ctrl-Z (undo) at the end.
Comment 2 Xisco Faulí 2022-01-24 13:22:11 UTC
(In reply to Julien Nabet from comment #1)
> Created attachment 177659 [details]
> bt with debug symbols
> 
> On pc Debian x86-64 with master sources updated today, I don't reproduce
> this with this exact process but had an assertion if I do a Ctrl-Z (undo) at
> the end.

yep, I forgot step 6. Undo
Comment 3 Xisco Faulí 2022-06-30 11:35:21 UTC
Also reproduced with the following:
1. Open attachment 178611 [details] from bug 147199
2. Select all & copy
3. Paste
4. Undo
Comment 4 Xisco Faulí 2023-05-31 08:13:07 UTC
Still reproducible in

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: b960668bbde1c77c5eadf0a1ad8abde08114810f
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-US (es_ES.UTF-8); UI: en-US
Calc: threaded