Created attachment 101829 [details] bt console from master sources Problem description: On a Firebird embedded DB, after having executed a request in SQL direct, when closing file, LO crashes Steps to reproduce: 1. Create a Firebird embedded DB 2. Create a simple table 3. Create a query on SQL view and use "Run SQL Command Directly" 4. Close LO Current behavior: Crash Expected behavior: No crash Operating System: Debian Version: 4.4.0.0.alpha0+ Master
Created attachment 101830 [details] Valgrind log Quite weird that OPreparedStatement::close() is present 2 times in the Valgrind stacktrace
Lionel/Andrzej: I thought you might be interested in this bugtracker (bt + interesting Valgrind trace) (put it at New since bt)
Norbert Thiebaud committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f7453024e1f46a038d1278ddcbba64ccdbf8dcd1 fdo#80574 firebird memory management issues The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Norbert: I updated my local repo and so retrieved your commit, it works great! Are you planning to cherry-pick on 4.2+4.3 or do you prefer to include it later in a pack of fixes for Firebird (given your last commits about it)?