https://bugs.documentfoundation.org/show_bug.cgi?id=169065

            Bug ID: 169065
           Summary: Ubuntu 25.10 LibreOffice ODBC connection crash
           Product: LibreOffice
           Version: 25.8.1.1 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Base
          Assignee: [email protected]
          Reporter: [email protected]

Description:
I use the ODBC Driver [2.3.12] + sqlite3 to connect SQLite Databases to
LibreOffice Base .odb's.
With Ubuntu 24.04 and 25.04 it works fine. 
I installed Ubuntu 25.10 (other Installation) to test some things and
LibreOffice crashes when I want to use the ODBC connection.
Output in Terminal "free(): invalid pointer"
It happens regardless of which database I try to open or create.

Steps to Reproduce -> see below in the section "Steps to Reproduce"!

Other tests:
* Terminal: When I use "isql Database.db -v" it works perfectly. I can execute
"select * from ...." and it works
* SQLiteStudio 3.4.17 -> open Database -> everything works

I installed the following packages:
- sudo apt install libreoffice
- sudo add-apt-repository ppa:libreoffice/ppa
- sudo apt update
- sudo apt upgrade
- sudo apt install unixodbc
- sudo apt install odbcinst
- sudo apt-get install sqlite3
- sudo apt-get -y install libsqliteodbc
+ setup (Location "/etc"): odbc.ini with the sqlite3 connectors
---------------------------------------------------------------------
[BudgetDataTEST.db]
Description     = BudgetDataTEST.db
Driver          = SQLite3
DATABASE        = /mnt/Linux/Linux-Test/Budget.mdb/BudgetDataTEST.db 
---------------------------------------------------------------------
+ odbcinst.ini (Location "/etc") 
---------------------------------------------------------------------
[SQLite]
Description=SQLite ODBC Driver
Driver=libsqliteodbc.so
Setup=libsqliteodbc.so
UsageCount=1

[SQLite3]
Description=SQLite3 ODBC Driver
Driver=libsqlite3odbc.so
Setup=libsqlite3odbc.so
UsageCount=1
---------------------------------------------------------------------

LibreOffice (tested both):
25.8.2.2 (ppa)
or
25.8.1

Do you have any ideas what is going wrong or what I may have done incorrectly? 

I am fairly new to Linux, Ubuntu and creating Bug Reports, so please let me
know if you need more information or if I am missing something important!

thanks for your help & kind regards
Jürgen

Steps to Reproduce:
I) New
1. Open LibreOffice Base
2. Connect to an existing database -> select ODBC
3. Select a Data Source (stored in etc/odbc.ini)
4. Test the Connection = "The connection was established successfully"
5. "Finish" + Save DB -> LibreOffice crashes

II) Open an existing .odb with the connection stored
1. I open the .odb File and it shows the Forms
2. I switch to Tables/Queries and it crashes



Actual Results:
I) New: After the ODBC connection to a SQLite Database is successfully
established and the .odb is saved LibreOffice crashes. (Dialog LibreOffice 25.8
Document Recovery). 

II) Existing: Open the File, switch to Tables/Queries, LibreOffice crashes.


when I start LibreOffice via Terminal and it crashes, I get the Terminal
output: "free(): invalid pointer"

Expected Results:
In Ubuntu 24.04 and 25.04 the connection works and I can open tables/queries
and use my forms. 


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 25.8.2.2 (X86_64) / LibreOffice Community
Build ID: 580(Build:2)
CPU threads: 16; OS: Linux 6.17; UI render: default; VCL: gtk3
Locale: de-AT (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:25.8.2~rc2-0ubuntu0.25.10.1~lo1
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to