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
Isn't this the same bug as bug 168491? If it is, please mark it as a duplicate.
You could use the debuginfod service probably supported by Ubuntu to take a backtrace of the hang: https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux:_How_to_get_a_backtrace With debuginfod, the debug information is fetched over the network on demand and there is no need to worry about installing any extra packages. When the debugger starts, it will ask you, if you agree to use the service. Your version of Ubuntu should be automatically configured to use debuginfod: https://documentation.ubuntu.com/server/explanation/debugging/about-debuginfod/ Another, longer, way to initiate the backtrace process is by launching LibreOffice first and then in a terminal running: gdb --pid=$(pidof soffice.bin) At this point it should ask to enable debuginfod. Then in gdb: set logging enabled on and continue (or just c) and then in LibreOffice, open the database to make it crash. With the crash, gdb shows the prompt and you can say backtrace (or just bt) Now a gdb.txt file should be found in the directory where you invoked gdb. Finally, you can say quit in gdb.
Reporter of bug 168491 now said that after some small package updates the issue is gone: "libsqliteodbc changed from 0.99991-3 to 0.99991-5 on 2025-10-26 12:07 and I installed the new aqbanking-libs (6.7.7beta-1) on 2025-10-27 10:33."
I downloaded the libsqliteodbc 0.99991-5 for Debian Sid and installed it on Ubuntu 25.10! https://pkgs.org/download/libsqliteodbc Now it works:-) thanks for your help! Jürgen
(In reply to Jürgen Käfer from comment #4) > I downloaded the libsqliteodbc 0.99991-5 for Debian Sid > and installed it on Ubuntu 25.10! > > https://pkgs.org/download/libsqliteodbc > > Now it works:-) > > thanks for your help! > > Jürgen Ok, that's interesting to hear :) Hopefully Ubuntu will officially release a similar update soon. *** This bug has been marked as a duplicate of bug 168491 ***