Bug 146216 - precursory assertion="!m_pFirst && !m_pLast && \"There are still indices registered\ before crash
Summary: precursory assertion="!m_pFirst && !m_pLast && \"There are still indices regi...
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:
Depends on:
Blocks: Crash-Assert
  Show dependency treegraph
 
Reported: 2021-12-13 19:26 UTC by Telesto
Modified: 2024-01-20 03:14 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
line-rotation.docx (14.43 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2022-01-19 00:08 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-12-13 19:26:52 UTC
Description:
assertion="!m_pFirst && !m_pLast && \"There are still indices registered\

Steps to Reproduce:
1. Open attachment 176549 [details]
2. CTRL+A (3x)
3. CTRL+X (table remains which probably off)

Actual Results:
Assertion

Expected Results:
Not so


Reproducible: Always


User Profile Reset: No



Additional Info:
Created attachment 176915 [details]
bt with debug symbols

On pc Debian x86-64 with master sources updated today, I got an assertion just after Ctrl-X.
Comment 1 Telesto 2021-12-13 19:30:11 UTC
Would be lovely to get a fix for bug 145930 first (if possible). As that bug requires a (certain) crasher to visible. People tend to fix the crasher, and leave the file recover saving broken :-(
Comment 2 Telesto 2021-12-13 19:31:23 UTC
FWIW a regular build does crash
1. Open the attached file
2. CTRL+A (3x)
3. CTRL+X (table remains which probably off)
4. CTRL+V
5. CTRL+V -> Crash 

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 7e5af164b7d293dd410710bed411e1ca64bbecf7
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 3 Xisco Faulí 2021-12-13 20:02:50 UTC
(In reply to Telesto from comment #2)
> FWIW a regular build does crash
> 1. Open the attached file
> 2. CTRL+A (3x)
> 3. CTRL+X (table remains which probably off)
> 4. CTRL+V
> 5. CTRL+V -> Crash 
> 
> Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
> Build ID: 7e5af164b7d293dd410710bed411e1ca64bbecf7
> 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

Not reproducible in

Version: 7.2.2.2 (x86) / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: es-ES
Calc: threaded
Comment 4 raal 2021-12-20 17:30:10 UTC
(In reply to Telesto from comment #2)
> FWIW a regular build does crash
> 1. Open the attached file
> 2. CTRL+A (3x)
> 3. CTRL+X (table remains which probably off)
> 4. CTRL+V
> 5. CTRL+V -> Crash 
> 
> Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
> Build ID: 7e5af164b7d293dd410710bed411e1ca64bbecf7
> 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

Repro Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: d47628f287f4377394c4ff488c433bfe254b6abe
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 5 Xisco Faulí 2022-01-19 00:08:07 UTC
sw/qa/extras/ooxmlimport/data/line-rotation.docx (attached file) crashes with virtual SwIndexReg::~SwIndexReg(): Assertion `!m_pFirst && !m_pLast && "There are still indices registered"' failed.

Steps to reproduce:
1. Open it
2. Select all 3 times without clicking anywhere
3. Copy
4. Paste
5. Undo
Comment 6 Xisco Faulí 2022-01-19 00:08:30 UTC
Created attachment 177643 [details]
line-rotation.docx
Comment 7 Xisco Faulí 2022-01-19 00:14:37 UTC
(In reply to Telesto from comment #2)
> FWIW a regular build does crash
> 1. Open the attached file
> 2. CTRL+A (3x)
> 3. CTRL+X (table remains which probably off)
> 4. CTRL+V
> 5. CTRL+V -> Crash 
> 
> Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
> Build ID: 7e5af164b7d293dd410710bed411e1ca64bbecf7
> 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

Not Reproducible with a regular build

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 31700036e517691d154701f4b8aeecb85cde607f
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded

Anyway, you should not mix crashes and asserts, they should be reported separately since asserts don't affect release builds
Comment 8 Xisco Faulí 2022-01-19 00:23:24 UTC
Meanwhile I found bug 146849 which is reproducible in a release build
Comment 9 QA Administrators 2024-01-20 03:14:49 UTC
Dear Telesto,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug