<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - EDITING: in custom dictionary, editing entry to add trailing period crashes LO"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130694">130694</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING: in custom dictionary, editing entry to add trailing period crashes LO
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.3.4.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>Nick_Levinson@yahoo.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
An abbreviation that should end with a period in the custom dictionary doesn't
even when a period is in a mid position, and editing it to add the ending
period crashes LO.

Steps to Reproduce:
1. In Writer, have a document with text open.

2. Press F7, for Spelling. (I did it with English (USA).)

3. Click the Options... button.

4. For the user-defined dictionaries, leave as preselected Standard [All] and
click the Edit... button.

5. In my case, the first entry and the editable-field entry were "a.m", without
quotation marks or a trailing period. Add a trailing period.

Actual Results:
This immediately crashes LibreOffice, specifically libreoffice-core, versions
1:6.3.3.2-7.fc31.x86_64 and 1:6.3.4.2-2.fc31.x86_64. On restarting LO,
recovering the formerly-open document is the first step. On repeating the STR,
the "a.m" will not have been edited.

Expected Results:
Adding of the trailing period or ignoring of the attempt to add it; and able to
continue work on the document without a crash.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Apparently, entries can have periods in the middle but not trailing.

I don't have an OpenGL setting.

The problem persists in version 6.3.4.2.0+ (build ID 6.3.4.2-2.fc31). I'm not
prepared to install a newer or unstable verion.

Possibly relevant: <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - spell checker crashes"
   href="show_bug.cgi?id=128383">Bug 128383</a>, <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Spell Checker not working"
   href="show_bug.cgi?id=128475">bug 128475</a>, and <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - LibreOffice Writer crash while viewing spelling suggestions"
   href="show_bug.cgi?id=128823">bug 128823</a>.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>