<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:mstahl@redhat.com" title="Michael Stahl <mstahl@redhat.com>"> <span class="fn">Michael Stahl</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FILESAVE ODT: Crash while saving after deleting all comments"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=111524">bug 111524</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Assignee</td>
           <td>libreoffice-bugs@lists.freedesktop.org
           </td>
           <td>mstahl@redhat.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FILESAVE ODT: Crash while saving after deleting all comments"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=111524#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FILESAVE ODT: Crash while saving after deleting all comments"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=111524">bug 111524</a>
              from <span class="vcard"><a class="email" href="mailto:mstahl@redhat.com" title="Michael Stahl <mstahl@redhat.com>"> <span class="fn">Michael Stahl</span></a>
</span></b>
        <pre>repro:

1. create new writer doc
2. type "foo"
3. select "foo"
4. Ctrl+Alt+C, add some comment text
5. turn on Edit->Track Changes->Record
6. click comment menu, Delete Comment
7. Save As ODF
=>
soffice.bin: sw/source/core/unocore/unoportenum.cxx:300: void
{anonymous}::{anonymous}::lcl_FillAnnotationStartArray(SwDoc&, SwUnoCursor&,
{anonymous}::{anonymous}::SwAnnotationStartPortion_ImplList&): Assertion
`pAnnotationFormatField != nullptr' failed.

it looks like the moving to and fro of the deleted comment during hiding &
showing redlines destroys the association of the AnnotationMark and the
SwPostItField; in lcl_FillAnnotationStartArray the SwPostItField has an empty
name, so it's not found</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>