<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:lemoyne.castle@gmail.com" title="LeMoyne Castle <lemoyne.castle@gmail.com>"> <span class="fn">LeMoyne Castle</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - CRASH when LibreOffice is closed while running a macro"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=106294">bug 106294</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>lemoyne.castle@gmail.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - CRASH when LibreOffice is closed while running a macro"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=106294#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - CRASH when LibreOffice is closed while running a macro"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=106294">bug 106294</a>
from <span class="vcard"><a class="email" href="mailto:lemoyne.castle@gmail.com" title="LeMoyne Castle <lemoyne.castle@gmail.com>"> <span class="fn">LeMoyne Castle</span></a>
</span></b>
<pre>@Aron - that is a very good question ... There are other ways to start Basic
besides the way that was protected by Caolan under <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Writer crashes document if closed while macro running"
href="show_bug.cgi?id=88985">bug 88985</a>.
There are two issues here: see the longer (longest?) note on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Crash in: StarBASIC::~StarBASIC()"
href="show_bug.cgi?id=107297">bug 107297</a>.
The upshot:
I will work on the separate issues uncovered by 'crash in Basic on close of LO'
bugs in the following way and order:
1. <a class="bz_bug_link
bz_status_NEW "
title="NEW - CRASH when LibreOffice is closed while running a macro"
href="show_bug.cgi?id=106294">Bug 106294</a> - establish consistent protection for Basic at ALL calls that
start StarBasic as Caolan did for <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Writer crashes document if closed while macro running"
href="show_bug.cgi?id=88985">bug 88985</a>. External to Basic + a direct fix.
Can test directly with close during long-running macro.
2. <a class="bz_bug_link
bz_status_NEW "
title="NEW - Crash in: StarBASIC::~StarBASIC()"
href="show_bug.cgi?id=107297">Bug 107297</a> - Make Basic's destructors public to bring the destruction of
Basic objects in compliance with C++ standards/best practices in order to avoid
compiler+linker confusion and gross differences between VS and gcc versions.
Internal to Basic - an indirect (compiler-mediated) potential(!) fix. Might be
hard to verify and will require much more thorough testing of Basic to try to
avoid side effects. Will be obvious as a separate issue if the protection fix
only works reliably on Linux and we still get crashes on Windows.</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>