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

--- Comment #6 from Julien Nabet <serval2...@yahoo.fr> ---
I gave a new try with Firebird embedded (to avoid all Java part).
I noticed 2 things:
1) the bt of the ctr of Firebird connection is completely different from the
dtr  one.
First one is:
#0  connectivity::firebird::Connection::Connection() (this=0x55dadfe069f0) at
connectivity/source/drivers/firebird/Connection.cxx:98
#1  0x00007f274432ac11 in
connectivity::firebird::FirebirdDriver::connect(rtl::OUString const&,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&)
    (this=0x55dadf1583c0, url="sdbc:embedded:firebird", info=uno::Sequence of
length 4 = {...}) at connectivity/source/drivers/firebird/Driver.cxx:163
#2  0x00007f274432ae64 in non-virtual thunk to
connectivity::firebird::FirebirdDriver::connect(rtl::OUString const&,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) ()
    at
/home/julien/lo/libreoffice/instdir/program/../program/libfirebird_sdbclo.so
#3  0x00007f2744413ee8 in
connectivity::OPoolCollection::getConnectionWithInfo(rtl::OUString const&,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&)
    (this=0x55dadfd7ba30, _rURL="sdbc:embedded:firebird", _rInfo=uno::Sequence
of length 4 = {...}) at connectivity/source/cpool/ZPoolCollection.cxx:121
#4  0x00007f27444146f4 in non-virtual thunk to
connectivity::OPoolCollection::getConnectionWithInfo(rtl::OUString const&,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) ()
    at /home/julien/lo/libreoffice/instdir/program/../program/libdbpool2.so
#5  0x00007f27465432ec in
dbaccess::ODatabaseSource::buildLowLevelConnection(rtl::OUString const&,
rtl::OUString const&) (this=0x55dadf679920, _rUid="", _rPwd="")
    at dbaccess/source/core/dataaccess/datasource.cxx:749
#6  0x00007f274653e9a9 in
dbaccess::ODatabaseSource::buildIsolatedConnection(rtl::OUString const&,
rtl::OUString const&) (this=0x55dadf679920, user="", password="")
    at dbaccess/source/core/dataaccess/datasource.cxx:1213
#7  0x00007f274653e2e8 in
dbaccess::OSharedConnectionManager::getConnection(rtl::OUString const&,
rtl::OUString const&, rtl::OUString const&,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&,
dbaccess::ODatabaseSource*) (this=0x55dadfe220c0, url="sdbc:embedded:firebird",
user="", password="", _aInfo=uno::Sequence of length 54 = {...},
_pDataSource=0x55dadf679920)
    at dbaccess/source/core/dataaccess/datasource.cxx:376
#8  0x00007f27465480d7 in
dbaccess::ODatabaseSource::getConnection(rtl::OUString const&, rtl::OUString
const&, bool) (this=0x55dadf679920, user="", password="", _bIsolated=false)
    at dbaccess/source/core/dataaccess/datasource.cxx:1244
#9  0x00007f2746547d13 in
dbaccess::ODatabaseSource::getConnection(rtl::OUString const&, rtl::OUString
const&) (this=0x55dadf679920, user="", password="") at
dbaccess/source/core/dataaccess/datasource.cxx:1114
#10 0x00007f2746548324 in non-virtual thunk to
dbaccess::ODatabaseSource::getConnection(rtl::OUString const&, rtl::OUString
const&) () at dbaccess/source/core/dataaccess/datasource.cxx:1257
#11 0x00007f2737d5dc70 in
dbaui::ODatasourceConnector::connect(com::sun::star::uno::Reference<com::sun::star::sdbc::XDataSource>
const&, dbtools::SQLExceptionInfo*) const
    (this=0x7ffd99aab1b8, _xDataSource=uno::Reference to
(dbaccess::ODatabaseSource *) 0x55dadf679990, _pErrorInfo=0x0) at
dbaccess/source/ui/misc/datasourceconnector.cxx:135
#12 0x00007f2737d5ce7a in dbaui::ODatasourceConnector::connect(rtl::OUString
const&, dbtools::SQLExceptionInfo*) const
    (this=0x7ffd99aab1b8,
_rDataSourceName="file:///home/julien/Documents/testfirebird.odb",
_pErrorInfo=0x0) at dbaccess/source/ui/misc/datasourceconnector.cxx:85
#13 0x00007f2737b5a96e in dbaui::OGenericUnoController::connect(rtl::OUString
const&, rtl::OUString const&, dbtools::SQLExceptionInfo*)
    (this=0x55dadf690bb0,
_rDataSourceName="file:///home/julien/Documents/testfirebird.odb",
_rContextInformation="The connection to the data source \"testfirebird\" could
not be established.", _pErrorInfo=0x0)
    at dbaccess/source/ui/browser/genericcontroller.cxx:857
#14 0x00007f2737a30fcd in
dbaui::OApplicationController::ensureConnection(dbtools::SQLExceptionInfo*)
(this=0x55dadf690bb0, _pErrorInfo=0x0) at
dbaccess/source/ui/app/AppControllerDnD.cxx:324
#15 0x00007f27379f141c in
dbaui::OApplicationController::onContainerSelect(dbaui::ElementType)
(this=0x55dadf690bb0, _eType=dbaui::E_TABLE) at
dbaccess/source/ui/app/AppController.cxx:1623
#16 0x00007f2737a78839 in
dbaui::OApplicationSwapWindow::onContainerSelected(dbaui::ElementType)
(this=0x55dadf6836c0, _eType=dbaui::E_TABLE) at
dbaccess/source/ui/app/AppSwapWindow.cxx:99
#17 0x00007f2737a78a40 in
dbaui::OApplicationSwapWindow::OnContainerSelectHdl(ThumbnailViewItem const*)
(this=0x55dadf6836c0, pEntry=0x55dadf524900) at
dbaccess/source/ui/app/AppSwapWindow.cxx:117
#18 0x00007f2737a7860d in
dbaui::OApplicationSwapWindow::LinkStubOnContainerSelectHdl(void*,
ThumbnailViewItem const*) (instance=0x55dadf6836c0, data=0x55dadf524900)
    at dbaccess/source/ui/app/AppSwapWindow.cxx:112
...

second one:
#0  connectivity::firebird::Connection::~Connection() (this=0x55dadfe069f0) at
connectivity/source/drivers/firebird/Connection.cxx:103
#1  0x00007f27442f90e9 in connectivity::firebird::Connection::~Connection()
(this=0x55dadfe069f0) at
connectivity/source/drivers/firebird/Connection.cxx:102
#2  0x00007f2778042f20 in cppu::OWeakObject::release() (this=0x55dadfe069f0) at
cppuhelper/source/weak.cxx:230
#3  0x00007f2777f3bcdf in cppu::WeakComponentImplHelperBase::release()
(this=0x55dadfe069f0) at cppuhelper/source/implbase.cxx:86
#4  0x00007f27443039d5 in
cppu::PartialWeakComponentImplHelper<com::sun::star::document::XDocumentEventListener,
com::sun::star::lang::XServiceInfo, com::sun::star::lang::XUnoTunnel,
com::sun::star::sdbc::XConnection,
com::sun::star::sdbc::XWarningsSupplier>::release() (this=0x55dadfe069f0) at
include/cppuhelper/compbase.hxx:86
#5  0x00007f2765106a6d in freeUnoInterfaceProxy(uno_ExtEnvironment*, void*)
(pEnv=0x55dadf76b710, pProxy=0x55dadfedfc60) at
bridges/source/cpp_uno/shared/unointerfaceproxy.cxx:42
#6  0x00007f2779b16920 in (anonymous
namespace)::s_stub_defenv_revokeInterface(__va_list_tag (*) [1])
(pParam=0x7ffd99aa9a30) at cppu/source/uno/lbenv.cxx:372
#7  0x00007f2779b03fb7 in s_environment_invoke_v(_uno_Environment*,
_uno_Environment*, void (*)(__va_list_tag (*) [1]), __va_list_tag (*) [1])
    (pCurrEnv=0x0, pTargetEnv=0x55dadf76b710, pCallee=0x7f2779b16560
<(anonymous namespace)::s_stub_defenv_revokeInterface(__va_list_tag (*) [1])>,
pParam=0x7ffd99aa9a30) at cppu/source/uno/EnvStack.cxx:293
#8  0x00007f2779b03ed7 in uno_Environment_invoke_v(uno_Environment*,
uno_EnvCallee*, va_list*)
    (pTargetEnv=0x55dadf76b710, pCallee=0x7f2779b16560 <(anonymous
namespace)::s_stub_defenv_revokeInterface(__va_list_tag (*) [1])>,
pParam=0x7ffd99aa9a30) at cppu/source/uno/EnvStack.cxx:312
#9  0x00007f2779b040df in uno_Environment_invoke(uno_Environment*,
uno_EnvCallee*, ...)
    (pEnv=0x55dadf76b710, pCallee=0x7f2779b16560 <(anonymous
namespace)::s_stub_defenv_revokeInterface(__va_list_tag (*) [1])>) at
cppu/source/uno/EnvStack.cxx:321
#10 0x00007f2779b0ef9a in (anonymous
namespace)::defenv_revokeInterface(_uno_ExtEnvironment*, void*)
(pEnv=0x55dadf76b710, pInterface=0x55dadfedfc60) at
cppu/source/uno/lbenv.cxx:426
#11 0x00007f2765106bb2 in releaseProxy(uno_Interface*) (pUnoI=0x55dadfedfc60)
at bridges/source/cpp_uno/shared/unointerfaceproxy.cxx:78
#12 0x00007f275cad0ccb in
com::sun::star::uno::UnoInterfaceReference::~UnoInterfaceReference()
(this=0x55dadfedfb98) at include/uno/dispatcher.hxx:107
#13 0x00007f275cacc89a in (anonymous namespace)::ProxyRoot::~ProxyRoot()
(this=0x55dadfedfb60) at stoc/source/proxy_factory/proxyfac.cxx:132
#14 0x00007f275cacc8d9 in (anonymous namespace)::ProxyRoot::~ProxyRoot()
(this=0x55dadfedfb60) at stoc/source/proxy_factory/proxyfac.cxx:132
#15 0x00007f2778042f20 in cppu::OWeakObject::release() (this=0x55dadfedfb60) at
cppuhelper/source/weak.cxx:230
#16 0x00007f2778043606 in cppu::OWeakAggObject::release() (this=0x55dadfedfb60)
at cppuhelper/source/weak.cxx:296
#17 0x00007f276b9bf2ee in
com::sun::star::uno::Reference<com::sun::star::uno::XAggregation>::~Reference()
(this=0x55dadfe0c978) at include/com/sun/star/uno/Reference.hxx:114
#18 0x00007f276b9bcd90 in
connectivity::OConnectionWrapper::~OConnectionWrapper() (this=0x55dadfe0c960)
at connectivity/source/commontools/ConnectionWrapper.cxx:102
#19 0x00007f2746498d0d in dbaccess::OConnection::~OConnection()
(this=0x55dadfe0c900) at dbaccess/source/core/dataaccess/connection.cxx:352
#20 0x00007f2746498d69 in dbaccess::OConnection::~OConnection()
(this=0x55dadfe0c900) at dbaccess/source/core/dataaccess/connection.cxx:351
#21 0x00007f2778042f20 in cppu::OWeakObject::release() (this=0x55dadfe0c900) at
cppuhelper/source/weak.cxx:230
#22 0x00007f27465f2026 in OSubComponent::release() (this=0x55dadfe0c900) at
dbaccess/source/core/misc/apitools.cxx:88
#23 0x00007f274649a045 in dbaccess::OConnection::release()
(this=0x55dadfe0c900) at dbaccess/source/core/dataaccess/connection.cxx:439
#24 0x00007f2765106a6d in freeUnoInterfaceProxy(uno_ExtEnvironment*, void*)
(pEnv=0x55dadf76b710, pProxy=0x55dadff2c660) at
bridges/source/cpp_uno/shared/unointerfaceproxy.cxx:42
#25 0x00007f2779b16920 in (anonymous
namespace)::s_stub_defenv_revokeInterface(__va_list_tag (*) [1])
(pParam=0x7ffd99aaa0d0) at cppu/source/uno/lbenv.cxx:372
#26 0x00007f2779b03fb7 in s_environment_invoke_v(_uno_Environment*,
_uno_Environment*, void (*)(__va_list_tag (*) [1]), __va_list_tag (*) [1])
    (pCurrEnv=0x0, pTargetEnv=0x55dadf76b710, pCallee=0x7f2779b16560
<(anonymous namespace)::s_stub_defenv_revokeInterface(__va_list_tag (*) [1])>,
pParam=0x7ffd99aaa0d0) at cppu/source/uno/EnvStack.cxx:293
#27 0x00007f2779b03ed7 in uno_Environment_invoke_v(uno_Environment*,
uno_EnvCallee*, va_list*)
    (pTargetEnv=0x55dadf76b710, pCallee=0x7f2779b16560 <(anonymous
namespace)::s_stub_defenv_revokeInterface(__va_list_tag (*) [1])>,
pParam=0x7ffd99aaa0d0) at cppu/source/uno/EnvStack.cxx:312
#28 0x00007f2779b040df in uno_Environment_invoke(uno_Environment*,
uno_EnvCallee*, ...)
    (pEnv=0x55dadf76b710, pCallee=0x7f2779b16560 <(anonymous
namespace)::s_stub_defenv_revokeInterface(__va_list_tag (*) [1])>) at
cppu/source/uno/EnvStack.cxx:321
#29 0x00007f2779b0ef9a in (anonymous
namespace)::defenv_revokeInterface(_uno_ExtEnvironment*, void*)
(pEnv=0x55dadf76b710, pInterface=0x55dadff2c660) at
cppu/source/uno/lbenv.cxx:426
#30 0x00007f2765106bb2 in releaseProxy(uno_Interface*) (pUnoI=0x55dadff2c660)
at bridges/source/cpp_uno/shared/unointerfaceproxy.cxx:78
#31 0x00007f275cad0ccb in
com::sun::star::uno::UnoInterfaceReference::~UnoInterfaceReference()
(this=0x55dadff35248) at include/uno/dispatcher.hxx:107
#32 0x00007f275cacc89a in (anonymous namespace)::ProxyRoot::~ProxyRoot()
(this=0x55dadff35210) at stoc/source/proxy_factory/proxyfac.cxx:132
#33 0x00007f275cacc8d9 in (anonymous namespace)::ProxyRoot::~ProxyRoot()
(this=0x55dadff35210) at stoc/source/proxy_factory/proxyfac.cxx:132
#34 0x00007f2778042f20 in cppu::OWeakObject::release() (this=0x55dadff35210) at
cppuhelper/source/weak.cxx:230
#35 0x00007f2778043606 in cppu::OWeakAggObject::release() (this=0x55dadff35210)
at cppuhelper/source/weak.cxx:296
#36 0x00007f276b9bf2ee in
com::sun::star::uno::Reference<com::sun::star::uno::XAggregation>::~Reference()
(this=0x55dadfef9468) at include/com/sun/star/uno/Reference.hxx:114
#37 0x00007f276b9bcd90 in
connectivity::OConnectionWrapper::~OConnectionWrapper() (this=0x55dadfef9450)
at connectivity/source/commontools/ConnectionWrapper.cxx:102
#38 0x00007f27465ef33d in dbaccess::OSharedConnection::~OSharedConnection()
(this=0x55dadfef93f0) at
dbaccess/source/core/dataaccess/SharedConnection.cxx:37
#39 0x00007f27465ef399 in dbaccess::OSharedConnection::~OSharedConnection()
(this=0x55dadfef93f0) at
dbaccess/source/core/dataaccess/SharedConnection.cxx:37
#40 0x00007f2778042f20 in cppu::OWeakObject::release() (this=0x55dadfef93f0) at
cppuhelper/source/weak.cxx:230
#41 0x00007f2777f3bcdf in cppu::WeakComponentImplHelperBase::release()
(this=0x55dadfef93f0) at cppuhelper/source/implbase.cxx:86
#42 0x00007f27465f1835 in
cppu::PartialWeakComponentImplHelper<com::sun::star::sdbc::XConnection>::release()
(this=0x55dadfef93f0) at include/cppuhelper/compbase.hxx:86
#43 0x00007f27465f04d5 in dbaccess::OSharedConnection::release()
(this=0x55dadfef93f0) at
dbaccess/source/core/dataaccess/SharedConnection.hxx:52
#44 0x00007f27379fc0ce in
com::sun::star::uno::Reference<com::sun::star::sdbc::XConnection>::~Reference()
(this=0x55dadf4d7c48) at include/com/sun/star/uno/Reference.hxx:114
--Type <RET> for more, q to quit, c to continue without paging--
#45 0x00007f2737c4e10e in dbaui::OTableTreeListBox::~OTableTreeListBox()
(this=0x55dadf4d7aa0) at dbaccess/source/ui/inc/tabletree.hxx:34
#46 0x00007f2737c4e139 in dbaui::OTableTreeListBox::~OTableTreeListBox()
(this=0x55dadf4d7aa0) at dbaccess/source/ui/inc/tabletree.hxx:34
#47 0x00007f2737c117fc in
std::default_delete<dbaui::TreeListBox>::operator()(dbaui::TreeListBox*) const
(this=0x55dadf9fe1a8, __ptr=0x55dadf4d7aa0)
    at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:99
#48 0x00007f2737c108a3 in std::unique_ptr<dbaui::TreeListBox,
std::default_delete<dbaui::TreeListBox> >::~unique_ptr() (this=0x55dadf9fe1a8)
    at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:404
#49 0x00007f2737c0f82b in dbaui::DBTreeViewBase::~DBTreeViewBase()
(this=0x55dadf9fe190) at dbaccess/source/ui/control/dbtreelistbox.cxx:503
#50 0x00007f2737c4e165 in dbaui::DBTableTreeView::~DBTableTreeView()
(this=0x55dadf9fe190) at dbaccess/source/ui/inc/dbtreelistbox.hxx:157
#51 0x00007f2737c4e189 in dbaui::DBTableTreeView::~DBTableTreeView()
(this=0x55dadf9fe190) at dbaccess/source/ui/inc/dbtreelistbox.hxx:157
#52 0x00007f2737a5d31c in
std::default_delete<dbaui::DBTreeViewBase>::operator()(dbaui::DBTreeViewBase*)
const (this=0x55dadf52a5f8, __ptr=0x55dadf9fe190)
    at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:99
#53 0x00007f2737a5d24c in std::__uniq_ptr_impl<dbaui::DBTreeViewBase,
std::default_delete<dbaui::DBTreeViewBase> >::reset(dbaui::DBTreeViewBase*)
(this=0x55dadf52a5f8, __p=0x0)
    at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:211
#54 0x00007f2737a58ced in std::unique_ptr<dbaui::DBTreeViewBase,
std::default_delete<dbaui::DBTreeViewBase> >::reset(dbaui::DBTreeViewBase*)
(this=0x55dadf52a5f8, __p=0x0)
    at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:509
#55 0x00007f2737a4f180 in dbaui::OAppDetailPageHelper::~OAppDetailPageHelper()
(this=0x55dadf52a5e0) at dbaccess/source/ui/app/AppDetailPageHelper.cxx:171
#56 0x00007f2737a6c715 in
std::destroy_at<dbaui::OAppDetailPageHelper>(dbaui::OAppDetailPageHelper*)
(__location=0x55dadf52a5e0)
    at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_construct.h:88
#57 0x00007f2737a6c6f5 in
std::_Destroy<dbaui::OAppDetailPageHelper>(dbaui::OAppDetailPageHelper*)
(__pointer=0x55dadf52a5e0)
    at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_construct.h:149
#58 0x00007f2737a6c52f in std::allocator_traits<std::allocator<void>
>::destroy<dbaui::OAppDetailPageHelper>(std::allocator<void>&,
dbaui::OAppDetailPageHelper*) (__p=0x55dadf52a5e0)
    at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/alloc_traits.h:674
#59 std::_Sp_counted_ptr_inplace<dbaui::OAppDetailPageHelper,
std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_M_dispose()
(this=0x55dadf52a5d0)
    at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:613
#60 0x00007f2737a075be in
std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release()
(this=0x55dadf52a5d0) at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:346
#61 0x00007f2737a0753a in
std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count()
(this=0x55dadf8d1a00)
    at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1071
#62 0x00007f2737a6c9b9 in std::__shared_ptr<dbaui::OChildWindow,
(__gnu_cxx::_Lock_policy)2>::~__shared_ptr() (this=0x55dadf8d19f8)
    at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1524
#63 0x00007f2737a67bd5 in std::shared_ptr<dbaui::OChildWindow>::~shared_ptr()
(this=0x55dadf8d19f8) at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr.h:175
#64 0x00007f2737a7978d in dbaui::OTitleWindow::~OTitleWindow()
(this=0x55dadf8d19d0) at dbaccess/source/ui/app/AppTitleWindow.cxx:40
#65 0x00007f2737a6be1b in
std::default_delete<dbaui::OTitleWindow>::operator()(dbaui::OTitleWindow*)
const (this=0x55dadf6dbb08, __ptr=0x55dadf8d19d0)
    at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:99
#66 0x00007f2737a67c53 in std::unique_ptr<dbaui::OTitleWindow,
std::default_delete<dbaui::OTitleWindow> >::~unique_ptr() (this=0x55dadf6dbb08)
    at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:404
#67 0x00007f2737a64ee7 in
dbaui::OApplicationDetailView::~OApplicationDetailView() (this=0x55dadf6dbad0)
at dbaccess/source/ui/app/AppDetailView.cxx:224
#68 0x00007f2737a7e0cb in
std::default_delete<dbaui::OApplicationDetailView>::operator()(dbaui::OApplicationDetailView*)
const (this=0x55dadf46ced0, __ptr=0x55dadf6dbad0)
    at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:99
#69 0x00007f2737a7eb8c in std::__uniq_ptr_impl<dbaui::OApplicationDetailView,
std::default_delete<dbaui::OApplicationDetailView>
>::reset(dbaui::OApplicationDetailView*) (this=0x55dadf46ced0, __p=0x0)
    at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:211
#70 0x00007f2737a7d39d in std::unique_ptr<dbaui::OApplicationDetailView,
std::default_delete<dbaui::OApplicationDetailView>
>::reset(dbaui::OApplicationDetailView*) (this=0x55dadf46ced0, __p=0x0)
    at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:509
#71 0x00007f2737a7a718 in dbaui::OAppBorderWindow::dispose()
(this=0x55dadf46cd70) at dbaccess/source/ui/app/AppView.cxx:72
#72 0x00007f27709b2a4a in VclReferenceBase::disposeOnce() (this=0x55dadf46cee0)
at vcl/source/outdev/vclreferencebase.cxx:38
#73 0x00007f2737a7d766 in VclPtr<dbaui::OAppBorderWindow>::disposeAndClear()
(this=0x55dadf528258) at include/vcl/vclptr.hxx:207
#74 0x00007f2737a7b0c3 in dbaui::OApplicationView::dispose()
(this=0x55dadf528210) at dbaccess/source/ui/app/AppView.cxx:114
#75 0x00007f27709b2a4a in VclReferenceBase::disposeOnce() (this=0x55dadf528268)
at vcl/source/outdev/vclreferencebase.cxx:38
#76 0x00007f277255c349 in VclPtr<vcl::Window>::disposeAndClear()
(this=0x7ffd99aab058) at include/vcl/vclptr.hxx:207
#77 0x00007f277254d089 in VCLXWindow::dispose() (this=0x55dadf970d20) at
toolkit/source/awt/vclxwindow.cxx:927
#78 0x00007f2777209a54 in (anonymous
namespace)::XFrameImpl::setComponent(com::sun::star::uno::Reference<com::sun::star::awt::XWindow>
const&, com::sun::star::uno::Reference<com::sun::star::frame::XController>
const&) (this=0x55dadf109c90, xComponentWindow=uno::Reference to (VCLXWindow *)
0x55dadfaa16f0, xController=uno::Reference to ((anonymous
namespace)::BackingComp *) 0x55dadfd82088)
    at framework/source/services/frame.cxx:1522
--Type <RET> for more, q to quit, c to continue without paging--
#79 0x00007f277701ccb8 in
framework::CloseDispatcher::implts_establishBackingMode() (this=0x55dadfa4eb20)
at framework/source/dispatch/closedispatcher.cxx:535
#80 0x00007f277701c038 in
framework::CloseDispatcher::impl_asyncCallback(LinkParamNone*)
(this=0x55dadfa4eb20) at framework/source/dispatch/closedispatcher.cxx:403
#81 0x00007f277701a3ed in
framework::CloseDispatcher::LinkStubimpl_asyncCallback(void*, LinkParamNone*)
(instance=0x55dadfa4eb20, data=0x0) at
framework/source/dispatch/closedispatcher.cxx:246
...
So a bit difficult to follow the logic here.

2) I added acquire and release methods on Firebird driver and noticed that when
opening a Firebird embedded odb (+ displaying tables to call the FB driver)
then closing LO entirely, I got:
6 calls of acquire in FB driver
but only 5 calls of release

after some debugging, it seems the second acquire has no release counterpart.

Then I tried to find where's the release missing but haven't found it yet but I
guess this would help.

There's not much unique_ptr use in this part of code, above all uno::Reference.

I tried Valgrind, no hint from the trace.

If someone has some idea to test...

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

Reply via email to