https://bugs.freedesktop.org/show_bug.cgi?id=44129

             Bug #: 44129
           Summary: programming error in removing header? (DEBUG build
                    crash)
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.5.0 Beta2
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
        AssignedTo: [email protected]
        ReportedBy: [email protected]


I'm afraid I don't have access to an earlier build than LO 3.5.0 beta2, but the
behavior is an assertion (it's a debug build) in:

SwIndexReg::~SwIndexReg()
{
    assert(!m_pFirst && !m_pLast); // There are still indices registered
}

Steps to reproduce:

1. Open LO.
2. Open a new Writer Document
3. Insert a header via Insert -> Header -> Default
4. Immediately click the down arrow on the blue "Header (Default)"
   tag and select "Delete Header"
5. Click "Yes" to the "Do you want to delete this text?" dialog box.

LO crashes, apparently due to the assert at sw/source/core/bastyp/index.cxx:236
with this on the console:

-----
soffice.bin: /home/kevin/devel/libreoffice/sw/source/core/bastyp/index.cxx:236:
virtual SwIndexReg::~SwIndexReg(): Assertion `!m_pFirst && !m_pLast' failed.
-----

Given that it's "only" an assert it may not be an issue for the upcoming
release, but here's at least a howto for recreating it.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to