<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - MailMerge: Writer crashes using wizard 2nd time thru"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=105002#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - MailMerge: Writer crashes using wizard 2nd time thru"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=105002">bug 105002</a>
              from <span class="vcard"><a class="email" href="mailto:noelgrandin@gmail.com" title="Noel Grandin <noelgrandin@gmail.com>"> <span class="fn">Noel Grandin</span></a>
</span></b>
        <pre>Sorry, I don't know what is going on here.

The immediate crash is a familiar one - the code in sw is deleting a dialog
from inside the end-of-dialog-callback handler, which means the calling code
finds itself executing on a deleted object.

I worked around that by adding a 
   VclPtr<Dialog> aThis; 
inside the EndDialog method, but then it crashes elsewhere inside wizard code.

The lifecycle of all these wizards and dialogs involved in mailmerge is
somewhat... interesting.</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>