<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 - FIREBIRD: Crash in: libc-2.27.so when Save As of an ODB overtop of an existing ODB if the target has been opened in current session"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=120042">120042</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FIREBIRD: Crash in: libc-2.27.so when Save As of an ODB overtop of an existing ODB if the target has been opened in current session
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.1.1.1 rc
          </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>Base
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>drewjensen.inbox@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=145097" name="attach_145097" title="two odb test files">attachment 145097</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=145097&action=edit" title="two odb test files">[details]</a></span>
two odb test files

This bug was filed from the crash reporting server and is
<a href="https://crashreport.libreoffice.org/stats/crash_details/f89809ad-2691-45e0-8f0c-81ef002bc329">br-f89809ad-2691-45e0-8f0c-81ef002bc329</a>.
=========================================

Running on Ubuntu 18.04 with Version: 6.1.1.1
Build ID: 2718b4a18dfcc6a54ebe5f7b801ee7a47fa81e0c
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group threaded


In this there are two copies of a Base file created with a Firebird embedded
database. (I tried this with HSQL based files also and there is no problem with
those, it is only the FB engine files)

To reproduce grab to two attached files in the attached zip file and extract
them. 

1 Open one of the test files, establish a connection by going to the tables
section and opening a table, or open the form.

2 Close this file.

3 Open the second test file.

4 File Save As and choose to save this file over the .odb file you just closed.

5. Now close the open ODB file, or close soffice.

Crash

On the terminal output is this:
terminate called after throwing an instance of
'com::sun::star::lang::NotInitializedException'</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>