[Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2024-04-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

--- Comment #12 from Julien Nabet  ---
Badfully, it doesn't fix the console logs when closing odb with hsql embedded.
I still got:
warn:vcl.schedule.deinit:171962:171962:vcl/source/app/scheduler.cxx:176: DeInit
task: Timer a: 1 p: 1 framework::AutoRecovery m_aTimer 60ms
(0x55896d1038e0)
warn:vcl.schedule.deinit:171962:171962:vcl/source/app/scheduler.cxx:176: DeInit
task: Timer a: 1 p: 1 drawinglayer ImpTimedRefDev destroy mpVirDev 18ms
(0x55896e0c86a0)
warn:vcl.schedule.deinit:171962:171962:vcl/source/app/scheduler.cxx:176: DeInit
task: Timer a: 1 p: 1 MemoryManager::MemoryManager maSwapOutTimer 1000ms
(0x7f657a860d20)
warn:vcl.schedule.deinit:171962:171962:vcl/source/app/scheduler.cxx:197: DeInit
active tasks: 3 (ignored: 0)
warn:dbaccess:171962:171962:dbaccess/source/core/dataaccess/ModelImpl.cxx:859:
DBG_UNHANDLED_EXCEPTION in commitStorageIfWriteable_ignoreErrors exception:
com.sun.star.embed.StorageWrappedTargetException message:
"/home/julien/lo/libreoffice/package/source/xstor/xstorage.cxx:3569: Problems
on commit! at
/home/julien/lo/libreoffice/package/source/xstor/xstorage.cxx:3569" context:
OStorage
wrapped: com.sun.star.lang.WrappedTargetException message:
"/home/julien/lo/libreoffice/package/source/zippackage/ZipPackage.cxx:1427:
Problem writing the original content! at
/home/julien/lo/libreoffice/package/source/zippackage/ZipPackage.cxx:1426"
context: ZipPackage
wrapped: com.sun.star.uno.DeploymentException message: "component context
fails to supply service com.sun.star.packages.manifest.ManifestWriter of type
com.sun.star.packages.manifest.XManifestWriter at
/home/julien/lo/libreoffice/workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/packages/manifest/ManifestWriter.hpp:46"
context: cppu::(anonymous namespace)::ComponentContext
warn:dbaccess:171962:171962:dbaccess/source/core/dataaccess/ModelImpl.cxx:920: 
com.sun.star.uno.DeploymentException message: "component context fails to
supply service com.sun.star.security.DocumentDigitalSignatures of type
com.sun.star.security.XDocumentDigitalSignatures at
/home/julien/lo/libreoffice/workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/security/DocumentDigitalSignatures.hpp:80"
context: cppu::(anonymous namespace)::ComponentContext
warn:dbaccess:171962:171962:dbaccess/source/core/dataaccess/ModelImpl.cxx:746:
ODatabaseModelImpl::commitRootStorage: could not commit the storage!
warn:legacy.osl:171962:171962:dbaccess/source/core/dataaccess/databasecontext.cxx:489:
ODatabaseContext::storeTransientProperties: a non-empty data source which I do
not know?!
warn:unotools.config:171962:171962:unotools/source/config/configmgr.cxx:147:
ConfigManager not empty

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

[Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2024-04-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

--- Comment #11 from Commit Notification 
 ---
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/0cb63cd392a9ee7b355028722121ac1ccead7336

tdf#144256: Missing destruction of FirebirdDriver, OSDBCDriverManager

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2024-04-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:24.8.0

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

[Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2024-04-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

Julien Nabet  changed:

   What|Removed |Added

 CC||lio...@mamane.lu

--- Comment #10 from Julien Nabet  ---
I gave it a try with:
https://gerrit.libreoffice.org/c/core/+/166370

Not sure if it's the right way to fix this but destructors are called at the LO
closing (not file closing).

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

[Libreoffice-bugs] [Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2023-10-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

Julien Nabet  changed:

   What|Removed |Added

 Whiteboard|target:24.2.0   |

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

[Libreoffice-bugs] [Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2023-10-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

--- Comment #9 from Commit Notification 
 ---
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/7f3ab74eb62ec83d6fc4432979654944f27de7b4

Related tdf#144256: missing removePropertyChangeListener calls in AppController

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2023-10-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

--- Comment #8 from Commit Notification 
 ---
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/1c15934170341bbcfb4671fdbb01c2259265b3e1

Related tdf#144256: remove m_pSharedConnectionManager

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2023-10-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:24.2.0

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

[Libreoffice-bugs] [Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2023-10-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

Julien Nabet  changed:

   What|Removed |Added

 Whiteboard|target:24.2.0   |

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

[Libreoffice-bugs] [Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2023-10-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

--- Comment #7 from Commit Notification 
 ---
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/502fbd79f9d71d01a177c3cd77256ed6a5a544d8

Related tdf#144256: fix order of disposing in OSharedConnection

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2023-10-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:24.2.0

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

[Libreoffice-bugs] [Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2023-10-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

--- Comment #6 from Julien Nabet  ---
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  0x7f274432ac11 in
connectivity::firebird::FirebirdDriver::connect(rtl::OUString const&,
com::sun::star::uno::Sequence const&)
(this=0x55dadf1583c0, url="sdbc:embedded:firebird", info=uno::Sequence of
length 4 = {...}) at connectivity/source/drivers/firebird/Driver.cxx:163
#2  0x7f274432ae64 in non-virtual thunk to
connectivity::firebird::FirebirdDriver::connect(rtl::OUString const&,
com::sun::star::uno::Sequence const&) ()
at
/home/julien/lo/libreoffice/instdir/program/../program/libfirebird_sdbclo.so
#3  0x7f2744413ee8 in
connectivity::OPoolCollection::getConnectionWithInfo(rtl::OUString const&,
com::sun::star::uno::Sequence const&)
(this=0x55dadfd7ba30, _rURL="sdbc:embedded:firebird", _rInfo=uno::Sequence
of length 4 = {...}) at connectivity/source/cpool/ZPoolCollection.cxx:121
#4  0x7f27444146f4 in non-virtual thunk to
connectivity::OPoolCollection::getConnectionWithInfo(rtl::OUString const&,
com::sun::star::uno::Sequence const&) ()
at /home/julien/lo/libreoffice/instdir/program/../program/libdbpool2.so
#5  0x7f27465432ec in
dbaccess::ODatabaseSource::buildLowLevelConnection(rtl::OUString const&,
rtl::OUString const&) (this=0x55dadf679920, _rUid="", _rPwd="")
at dbaccess/source/core/dataaccess/datasource.cxx:749
#6  0x7f274653e9a9 in
dbaccess::ODatabaseSource::buildIsolatedConnection(rtl::OUString const&,
rtl::OUString const&) (this=0x55dadf679920, user="", password="")
at dbaccess/source/core/dataaccess/datasource.cxx:1213
#7  0x7f274653e2e8 in
dbaccess::OSharedConnectionManager::getConnection(rtl::OUString const&,
rtl::OUString const&, rtl::OUString const&,
com::sun::star::uno::Sequence 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  0x7f27465480d7 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  0x7f2746547d13 in
dbaccess::ODatabaseSource::getConnection(rtl::OUString const&, rtl::OUString
const&) (this=0x55dadf679920, user="", password="") at
dbaccess/source/core/dataaccess/datasource.cxx:1114
#10 0x7f2746548324 in non-virtual thunk to
dbaccess::ODatabaseSource::getConnection(rtl::OUString const&, rtl::OUString
const&) () at dbaccess/source/core/dataaccess/datasource.cxx:1257
#11 0x7f2737d5dc70 in
dbaui::ODatasourceConnector::connect(com::sun::star::uno::Reference
const&, dbtools::SQLExceptionInfo*) const
(this=0x7ffd99aab1b8, _xDataSource=uno::Reference to
(dbaccess::ODatabaseSource *) 0x55dadf679990, _pErrorInfo=0x0) at
dbaccess/source/ui/misc/datasourceconnector.cxx:135
#12 0x7f2737d5ce7a 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 0x7f2737b5a96e 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 0x7f2737a30fcd in
dbaui::OApplicationController::ensureConnection(dbtools::SQLExceptionInfo*)
(this=0x55dadf690bb0, _pErrorInfo=0x0) at
dbaccess/source/ui/app/AppControllerDnD.cxx:324
#15 0x7f27379f141c in
dbaui::OApplicationController::onContainerSelect(dbaui::ElementType)
(this=0x55dadf690bb0, _eType=dbaui::E_TABLE) at
dbaccess/source/ui/app/AppController.cxx:1623
#16 0x7f2737a78839 in
dbaui::OApplicationSwapWindow::onContainerSelected(dbaui::ElementType)
(this=0x55dadf6836c0, _eType=dbaui::E_TABLE) at
dbaccess/source/ui/app/AppSwapWindow.cxx:99
#17 0x7f2737a78a40 in
dbaui::OApplicationSwapWindow::OnContainerSelectHdl(ThumbnailViewItem const*)
(this=0x55dadf6836c0, pEntry=0x55dadf524900) at
dbaccess/source/ui/app/AppSwapWindow.cxx:117
#18 0x7f2737a7860d in
dbaui::OApplicationSwapWindow::LinkStubOnContainerSelectHdl(void*,
ThumbnailViewItem const*) (instance=0x55dadf6836c0, data=0x55dadf524900)
at dbaccess/source/ui/app/AppSwapWindow.cxx:112
...

second one:
#0  

[Libreoffice-bugs] [Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2023-04-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

Julien Nabet  changed:

   What|Removed |Added

 Blocks|116968  |51780


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=51780
[Bug 51780] [META] Default to Firebird not HSQLDB in Base (for _new_ files)
https://bugs.documentfoundation.org/show_bug.cgi?id=116968
[Bug 116968] [META] Migrating existing embedded HSQLDB databases to Firebird
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2023-04-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

Julien Nabet  changed:

   What|Removed |Added

 Blocks||116968


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=116968
[Bug 116968] [META] Migrating existing embedded HSQLDB databases to Firebird
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2022-09-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

--- Comment #5 from Julien Nabet  ---
I gave a new try with hsqldb and put trace in every constructor and destructor
+ some other methods but don't see where can be the pb.

=> when launching odb file
ODatabaseSource ctr 0x55746c415400
ODatabaseSource disposing 0x55746c415400
ODatabaseSource dtr 0x55746c415400
warn:legacy.osl:47987:47987:dbaccess/source/core/dataaccess/ModelImpl.cxx:767:
ODatabaseModelImpl::getOrCreateRootStorage: no source to create the storage
from!
ODatabaseSource ctr 0x55746c39a780
warn:legacy.osl:47987:47987:dbaccess/source/core/dataaccess/ModelImpl.cxx:767:
ODatabaseModelImpl::getOrCreateRootStorage: no source to create the storage
from!
warn:legacy.osl:47987:47987:dbaccess/source/core/dataaccess/ModelImpl.cxx:767:
ODatabaseModelImpl::getOrCreateRootStorage: no source to create the storage
from!
ODatabaseSource disposing 0x55746c39a780
ODatabaseSource dtr 0x55746c39a780

=> when clicking on tables
OGenericUnoController ctr 0x55746c4d3d00
OApplicationController ctr 0x55746c4d3d00
ODatabaseSource ctr 0x55746c0bb510
ODatasourceConnector ctr 0x7ffc68d65b48
OSharedConnectionManager ctr 0x55746cb60a30
ODatabaseSource::buildIsolatedConnection 0x55746c0bb510
ODatabaseSource::buildLowLevelConnection 0x55746c0bb510
OPoolCollection ctr 0x55746cb713b0
OSDBCDriverManager ctr 0x55746cbec1c0
ODriverDelegator ctr 0x55746cbaba70
ODriverDelegator::loadDriver 0x55746cbaba70
FlushNotificationAdapter installAdapter
FlushNotificationAdapter ctr 0x55746cff5b90
OConnection ctr 0x55746cffbaa0
OGenericUnoController::startConnectionListening 0x55746c4d3d00
ODatasourceConnector dtr 0x7ffc68d65b48

=> when closing odb file
OApplicationController disposing void 0x55746c4d3d00
OApplicationController disconnect 0x55746c4d3d00
OGenericUnoController::stopConnectionListening 0x55746c4d3d00
FlushNotificationAdapter flushed 0x55746cff5b90
OSharedConnectionManager disposing 0x55746cb60a30
OConnection::disposing 0x55746cffbaa0
OConnection dtr 0x55746cffbaa0
FlushNotificationAdapter disposing 0x55746cff5b90
FlushNotificationAdapter impl_dispose 0x55746cff5b90
FlushNotificationAdapter dtr 0x55746cff5b90
ODatabaseSource disposing 0x55746c0bb510
OSharedConnectionManager dtr 0x55746cb60a30
ODatabaseSource ctr 0x55746cac2330
ODatabaseSource disposing 0x55746cac2330
ODatabaseSource dtr 0x55746cac2330
ODatabaseSource dtr 0x55746c0bb510
OApplicationController dtr 0x55746c4d3d00
OGenericUnoController dtr 0x55746c4d3d00

Here's part of a bt from OPoolCollection ctr:
#0 
connectivity::OPoolCollection::OPoolCollection(com::sun::star::uno::Reference
const&)
(this=0x555f1f400ef0, _rxContext=uno::Reference to (cppu::(anonymous
namespace)::ComponentContext *) 0x555f1ca28a70) at
connectivity/source/cpool/ZPoolCollection.cxx:75
#1  0x7f62f9d125f5 in
connectivity_OPoolCollection_get_implementation(com::sun::star::uno::XComponentContext*,
com::sun::star::uno::Sequence const&)
(context=0x555f1ca28a70)
at connectivity/source/cpool/ZPoolCollection.cxx:467
#2  0x7f632fdebdba in std::__invoke_impl const&),
com::sun::star::uno::XComponentContext*,
com::sun::star::uno::Sequence
const&>(std::__invoke_other, com::sun::star::uno::XInterface*
(*&)(com::sun::star::uno::XComponentContext*,
com::sun::star::uno::Sequence const&),
com::sun::star::uno::XComponentContext*&&,
com::sun::star::uno::Sequence const&)
 (__f=@0x555f1ca51b38: 0x7f62f9d125a0
 const&)>,
__args=@0x7ffe7f3e7030: 0x555f1ca28a70, __args=empty uno::Sequence) at
/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/invoke.h:61
#3  0x7f632fdebd37 in std::__invoke_r const&),
com::sun::star::uno::XComponentContext*,
com::sun::star::uno::Sequence
const&>(com::sun::star::uno::XInterface*
(*&)(com::sun::star::uno::XComponentContext*,
com::sun::star::uno::Sequence const&),
com::sun::star::uno::XComponentContext*&&,
com::sun::star::uno::Sequence const&)
 (__fn=@0x555f1ca51b38: 0x7f62f9d125a0
 const&)>,
__args=@0x7ffe7f3e7030: 0x555f1ca28a70, __args=empty uno::Sequence) at
/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/invoke.h:114
#4  0x7f632fdebc07 in
std::_Function_handler const&),
com::sun::star::uno::XInterface* (*)(com::sun::star::uno::XComponentContext*,
com::sun::star::uno::Sequence
const&)>::_M_invoke(std::_Any_data const&,
com::sun::star::uno::XComponentContext*&&,
com::sun::star::uno::Sequence const&) (__functor=...,
__args=@0x7ffe7f3e7030: 0x555f1ca28a70, __args=empty uno::Sequence)
at
/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/std_function.h:290
#5  0x7f632fdb2743 in std::function
const&)>::operator()(com::sun::star::uno::XComponentContext*,
com::sun::star::uno::Sequence const&) const
(this=0x555f1ca51b38, __args=0x555f1ca28a70, __args=empty uno::Sequence)
at
/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/std_function.h:591
#6  0x7f632fd9aba6 in

[Libreoffice-bugs] [Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2022-01-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

Julien Nabet  changed:

   What|Removed |Added

   Severity|normal  |major

--- Comment #4 from Julien Nabet  ---
Let's increase a bit importance since it seems to impact several types of
databases and not only Firebird which is experimental.

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

[Libreoffice-bugs] [Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2021-12-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

Julien Nabet  changed:

   What|Removed |Added

Version|unspecified |7.2.1.1 rc
 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW

--- Comment #3 from Julien Nabet  ---
On pc Debian x86-64 with master sources updated today, I could reproduce this.

For the record, I gave a try too with HSQLDBembedded, I got:
at the opening
OPoolCollection ctr
OSDBCDriverManager ctr
ODriverDelegator ctr
ODriverDelegator loadDriver

at the closing (without having created anything, table, ...)
ODriverDelegator flushConnections
ODriverDelegator shutdownConnections

so no dtr for:
ODriverDelegator
OSDBCDriverManager
OPoolCollection

In comparison I got call to UnxSplashScreen ctr and dtr when closing LO.

Let's put 7.2.1.1 but I think this behaviour is older than this.

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

[Libreoffice-bugs] [Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2021-09-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

Julien Nabet  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=57
   ||979,
   ||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=77
   ||141
 CC||serval2...@yahoo.fr

--- Comment #2 from Julien Nabet  ---
I don't know if it can help but since several years, I've got this when closing
odb files:
warn:dbaccess:68925:68925:dbaccess/source/core/dataaccess/ModelImpl.cxx:926: 
com.sun.star.container.NoSuchElementException message:
/home/julien/lo/libreoffice/package/source/xstor/xstorage.cxx:2974: 
/home/julien/lo/libreoffice/package/source/xstor/xstorage.cxx:2974
warn:dbaccess:68925:68925:dbaccess/source/core/dataaccess/ModelImpl.cxx:926: 
com.sun.star.container.NoSuchElementException message:
/home/julien/lo/libreoffice/package/source/xstor/xstorage.cxx:2974: 
/home/julien/lo/libreoffice/package/source/xstor/xstorage.cxx:2974

Also, perhaps a relation with tdf#57979 (or even tdf#77141)?
I mean all these show a pb when closing odb files.

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

[Libreoffice-bugs] [Bug 144256] Missing destruction of FirebirdDriver::~FirebirdDriver, OSDBCDriverManager::~OSDBCDriverManager, OPoolCollection::~OPoolCollection opening and closing an ODB

2021-09-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144256

--- Comment #1 from Stephan Bergmann  ---
drivermanager::OSDBCDriverManager
(connectivity/source/manager/mdrivermanager.hxx) is the single-instance
implementation of the css.sdbc.DriverManager service (cf.
connectivity/source/manager/sdbc2.component).  In the reproducer scenario it
does get a css.lang.XComponent::dispose call from
cppuhelper::ServiceManager::disposing (cppuhelper/source/servicemanager.cxx) as
expected.  So there must be some other reason (an unbroken circular
dependencies perhaps?) that prevents destruction despite the dispose() call.

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