Bug 131156 - assert on deleting final element in writer master document navigator index.cxx:357: bool SwIndex::operator. Assertion `m_pIndexReg == rIndex.m_pIndexReg'
Summary: assert on deleting final element in writer master document navigator index.cx...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Crash-Assert
  Show dependency treegraph
 
Reported: 2020-03-05 13:25 UTC by Caolán McNamara
Modified: 2023-04-08 09:53 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Caolán McNamara 2020-03-05 13:25:46 UTC
Description:
assert on deleting final element in writer master document navigatorVersion: 7.0.0.0.alpha0+
Build ID: 719d36c661f088b6d59dd42583cd044538bf8174
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: en-IE (en_IE.UTF-8); UI-Language: en-US
Calc: threaded

Steps to Reproduce:
1. file->new->master document
2. expand the sidebar and select the navigator
3. if not in master mode select master in the navigator
4. right click on the single "text" entry and select delete

Actual Results:
sw/source/core/bastyp/index.cxx:357: bool SwIndex::operator>(const SwIndex &) const: Assertion `m_pIndexReg == rIndex.m_pIndexReg' failed.

Expected Results:
no crash


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha0+
Build ID: 719d36c661f088b6d59dd42583cd044538bf8174
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: en-IE (en_IE.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 Dieter 2020-03-11 20:59:05 UTC
Can't reproduce with

Version: 7.0.0.0.alpha0+ (x64)
Build ID: c63148ba139bd6b9ae7a0f9e24e51f29e5370963
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: threaded
Comment 2 Xisco Faulí 2020-03-19 12:05:03 UTC
Moving to NEW
Comment 3 Stéphane Guillou (stragu) 2023-04-06 09:34:58 UTC
Couldn't reproduce, even with the linux-64-7.0 bibisect repo checked out at the same commit:

Version: 7.0.0.0.alpha0+
Build ID: 719d36c661f088b6d59dd42583cd044538bf8174
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded

Ubuntu 20.04 with GNOME 3.36.8 + Wayland.

Caolán and Xisco, are you still seeing this?
Comment 4 Stéphane Guillou (stragu) 2023-04-06 10:01:40 UTC
No repro in recent debug build:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1b463f697405e64a03378fb38a32172c4d3c25e6
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 5 Caolán McNamara 2023-04-07 10:56:29 UTC
I don't see it a dbgutil build anymore
Comment 6 Stéphane Guillou (stragu) 2023-04-08 09:53:36 UTC
Thanks for confirming, Caolán.
Setting to "WFM" instead of "fixed", as we don't have a commit (unless you have one?).
Cheers.