<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 - Crash running mail merge wizard for doc from tdf#119942"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=132678">132678</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Crash running mail merge wizard for doc from tdf#119942
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.4.0.0.alpha0+
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>m.weghorn@posteo.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
LibreOffice crashes after running the mail merge wizard for the doc attached to
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - email in mailmerge contains wrong body: data sent is off by one"
   href="show_bug.cgi?id=119942">tdf#119942</a>.

Steps to Reproduce:
1. open <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=144966" name="attach_144966" title="sample odt file">attachment 144966</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=144966&action=edit" title="sample odt file">[details]</a></span> from <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - email in mailmerge contains wrong body: data sent is off by one"
   href="show_bug.cgi?id=119942">bug 119942</a>
2. run mail merge wizard, e.g. using the sample data from <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=144965" name="attach_144965" title="sample ods file">attachment 144965</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=144965&action=edit" title="sample ods file">[details]</a></span>
(also from <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - email in mailmerge contains wrong body: data sent is off by one"
   href="show_bug.cgi?id=119942">bug 119942</a>) (leave default values, don't insert an address block)
3. at the end of the wizard, click "Finish"

Actual Results:
LibreOffice crashes

Expected Results:
LibreOffice doesn't crash and shows the mail merge toolbar.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.0.0.0.alpha0+
Build ID: 934fd1c617d1f7fba90f922bf2d526ea3f35f9b7
CPU threads: 4; OS: Linux 5.5; UI render: default; VCL: gtk3; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-US
Calc: threaded</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>