Download it now!
Bug 117842 - Firebird: Enabling connection pooling for firebird:sdbc driver crashes Libo when creating connection to data engine
Summary: Firebird: Enabling connection pooling for firebird:sdbc driver crashes Libo w...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: haveBacktrace
Depends on:
Blocks: Database-Firebird-Default Crash
  Show dependency treegraph
Reported: 2018-05-28 04:45 UTC by Drew Jensen
Modified: 2020-05-17 15:05 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

crash dmp file from Libo (467.26 KB, application/vnd.tcpdump.pcap)
2018-05-28 04:46 UTC, Drew Jensen
Crash dmp file from Libo 6.1Beta1 (396.48 KB, application/vnd.tcpdump.pcap)
2018-05-28 04:47 UTC, Drew Jensen
bt with debug symbols (13.29 KB, text/plain)
2018-05-28 20:44 UTC, Julien Nabet
bt from pthread_mutex_lock failed (14.30 KB, text/plain)
2018-05-28 21:06 UTC, Julien Nabet
bt Windows (windbg) (67.85 KB, text/plain)
2019-12-05 16:33 UTC, Julien Nabet

Note You need to log in before you can comment on or make changes to this bug.
Description Drew Jensen 2018-05-28 04:45:10 UTC
Checked this with, 6.0.4, 6.1Beta1, 6.2Alpha0
Crash in all of them
Also checked connection pooling enabled for sdbc.hsql in all of the above, no crash, no problems.

Steps to Reproduce:
1. Open the Options dialog Tools->Options
2. navigate to the Libreoffice Base->Connections section
3. Place a tick mark in 'Enable connection pooling'
4. In the list of drivers select the
5. Place a tick mark in 'Enable pooling for this Driver' 
6. Accept the default timeout value
7. Click OK to close the options dialog
8. Click Create: New Database
9. Select Firebird Embedded for database type.
10. Click finished, save the new file with some name
10a Alternatively open an ODB file which uses the sdbc.firebird driver or for 6.1 and 6.1 open an ODB file using HSQLdb embedded and allow the migration assistant to start.

Actual Results:  

Expected Results:
Base file loads and connection to database engine is established.

Reproducible: Always

User Profile Reset: No

Additional Info:

User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/66.0.3359.181 Chrome/66.0.3359.181 Safari/537.36
Comment 1 Drew Jensen 2018-05-28 04:46:13 UTC
Created attachment 142322 [details]
crash dmp file from Libo
Comment 2 Drew Jensen 2018-05-28 04:47:20 UTC
Created attachment 142323 [details]
Crash dmp file from Libo 6.1Beta1
Comment 3 Julien Nabet 2018-05-28 20:44:28 UTC
Created attachment 142359 [details]
bt with debug symbols

On pc Debian x86-64 with master sources updated today, I could reproduce this.
Comment 4 Julien Nabet 2018-05-28 20:59:22 UTC
BTW, I noticed this on console:
warn:legacy.osl:3659:3659:svtools/source/uno/genericunodialog.cxx:288: OGenericUnoDialog::OnDialogDying: where does this come from?
warn:sal.osl.mutex:3659:3659:sal/osl/unx/mutex.cxx:100: pthread_mutex_lock failed: Invalid argument
Comment 5 Julien Nabet 2018-05-28 21:06:06 UTC
Created attachment 142360 [details]
bt from pthread_mutex_lock failed
Comment 6 QA Administrators 2019-06-01 02:49:18 UTC Comment hidden (obsolete)
Comment 7 Alex Thurgood 2019-12-02 11:40:07 UTC
Confirmed bug still present with

Build ID: a64200df03143b798afd1ec74a12ab50359878ed
Threads CPU : 8; OS : Mac OS X 10.14.6; UI Render : par défaut; VCL: osx; 
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded
Comment 8 Julien Nabet 2019-12-05 16:33:18 UTC
Created attachment 156333 [details]
bt Windows (windbg)

On Win10 with master sources updated today, I could still reproduce this.
Comment 9 Julien Nabet 2019-12-05 16:46:36 UTC
weakref + mutex, I can't help here => uncc myself.
Comment 10 Aron Budea 2020-05-17 15:05:09 UTC
No assertion failure mentioned, removing from Assert meta bug.