Bug 131156

Summary: assert on deleting final element in writer master document navigator index.cxx:357: bool SwIndex::operator. Assertion `m_pIndexReg == rIndex.m_pIndexReg'
Product: LibreOffice Reporter: Caolán McNamara <caolan.mcnamara>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: himajin100000, michael.stahl, stephane.guillou, xiscofauli
Priority: medium    
Version: 7.0.0.0.alpha0+   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 105537    

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.