Bug 165692 - Crash in: libc.so.6 when closing Base (Firebird) connected by macro to a registered Firebird database
Summary: Crash in: libc.so.6 when closing Base (Firebird) connected by macro to a regi...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
25.2.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Database-Import Crash
  Show dependency treegraph
 
Reported: 2025-03-11 15:52 UTC by Franz
Modified: 2025-03-19 15:04 UTC (History)
3 users (show)

See Also:
Crash report or crash signature: ["libc.so.6"]


Attachments
Connect from this Firebird-Database to another, registered as Import_XR (14.38 KB, application/vnd.oasis.opendocument.database)
2025-03-19 15:02 UTC, Robert Großkopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Franz 2025-03-11 15:52:35 UTC
This bug was filed from the crash reporting server and is br-1447272c-03b3-450f-b23f-cdae735a71cb.
=========================================

This crash is reproducible here and also happened here previously of this database and with older versions of LibreOffice.

Using files from XRechnung_Extension_2502.zip (27.02.25 3653kb)
from https://www.familiegrosskopf.de/robert/

- Open XRechnung_V2502_016.odb with 'Libre Office 25.2 Base'
- Adding of XRechnung_V2502_007.odb (an earlier version which already contains
  some data (2 customers and 2 invoices) to settings with the name Import_XR as described in the manual for XRechnung_Extension_2502 (Necessary steps for migrating data to a newer version of the database).
- Calling the macro 'Import_all' from XRechnung_V2502_016.odb 
- Closing of Libre Office Base
- Until this step no problem/error but:
- When I open XRechnung_V2502_016.odb again, I get the message, that
 LibreOffice crashed and I now have the option to upload the crash-report.

OS: Tumbleweed,
LibreOffice:  directly from https://de.libreoffice.org/download/download/ and
not the version from OpenSuse repositories (because these don't contain firebird database which is needed by XRechnung_V2502_016.odb)
Comment 1 Robert Großkopf 2025-03-19 15:02:59 UTC
Created attachment 199902 [details]
Connect from this Firebird-Database to another, registered as Import_XR

Register a internal Firebird database with name Import_XR.
Open the attached database and start macro "Import" (only macro in this database).
Macro connects to "Import_XR", nothing else.
Close the attached database.
Close LO.
After closing LO the system will show a crash of LO.

Seems the opened connection to Firebird won't be closed as expected.