Download it now!
Bug 137869 - Crash after undo they modifications made by track & changes (document comparison)
Summary: Crash after undo they modifications made by track & changes (document compari...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisectRequest, haveBacktrace, regression
Depends on:
Blocks: Crash
  Show dependency treegraph
Reported: 2020-10-30 07:44 UTC by Telesto
Modified: 2020-11-05 15:51 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Example file (48.98 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-10-30 10:37 UTC, Telesto
backtrace from assertion (15.69 KB, text/plain)
2020-11-02 21:06 UTC, Terrence Enger

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-10-30 07:44:35 UTC
Crash after undo they modifications made by track & changes (document comparison)

Steps to Reproduce:
1. Download attachment 166847 [details]
2. Open the attached file (export of attachment 166847 [details] to DOCX)
3. Edit -> Track changes -> Compare Document -> Select the ODT
4. Accept all or reject all (maybe 2 different bugs?)
5. CTRL+Z everything -> crash

Probably to many undo-steps

Actual Results:

Expected Results:
No crash

Reproducible: Always

User Profile Reset: No

Additional Info:
Version: (x64)
Build ID: 94e6e140491de31c0788c91af855a75a3bb12709
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-10-30 07:45:37 UTC
No crash in
Build ID: 9feb7f7039a3b59974cbf266922177e961a52dd1
CPU threads: 4; OS: Windows 6.29; UI render: GL; 
Locale: nl-NL (nl_NL); Calc: CL
Comment 2 Xisco Faulí 2020-10-30 09:56:44 UTC
no attached file
Comment 3 Telesto 2020-10-30 10:37:56 UTC
Created attachment 166870 [details]
Example file
Comment 4 Telesto 2020-10-30 10:39:06 UTC
(In reply to Xisco Faulí from comment #2)
> no attached file

It's always the same :-(
Comment 5 Terrence Enger 2020-11-02 21:06:52 UTC
Created attachment 166955 [details]
backtrace from assertion

At the end of step 3., my LO crashes with message (rewrapped):

        virtual SwIndexReg::~SwIndexReg():
        Assertion `!m_pFirst && !m_pLast && "There are still indices
        registered"' failed.

This is in a local build of commit fbd6d6cc (2020-10-30), configured
with --enable-debug , built and running on debian-buster.  I suspect
that my LO is crashing earlier in STR because of --enable-debug.

I have found two bugs already reporting the same assertion:
  - bug 126539, upon reject changes.  
  - bug 130699, upon other undo/redo.
Five or six of frames leading up to the assertion in the backtraces attached to those bugs match function names with my backtrace.
Comment 6 Kevin Suo 2020-11-05 15:51:44 UTC
No crash for me on Fedora 32, either build id 94e6e140491de31c0788c91af855a75a3bb12709 or today's master.