[Libreoffice-bugs] [Bug 140339] CRASH: after closing firebird document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Feb 20 09:01:17 UTC 2021


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

Julien Nabet <serval2412 at yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lionel at mamane.lu,
                   |                            |sbergman at redhat.com,
                   |                            |serval2412 at yahoo.fr

--- Comment #6 from Julien Nabet <serval2412 at yahoo.fr> ---
Firebird is the only one with Connection::disposing(const EventObject&)
 except connectivity/source/cpool/ZPooledConnection.cxx

https://opengrok.libreoffice.org/xref/core/connectivity/source/cpool/ZPooledConnection.cxx?r=6ec7f2b2#42
https://opengrok.libreoffice.org/xref/core/connectivity/source/cpool/ZPooledConnection.cxx?r=6ec7f2b2#52

All other connectivity DBs seem to only use disposing() method.

I added some fprintf in these 2 disposing methods in Firebird.
see:
https://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/firebird/Connection.cxx?r=1250aecd#838

https://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/firebird/Connection.cxx?r=1250aecd#895


If I disable macros and browse table, when closing, I see these calls:
- Connection::disposing()
- Connection::disposing(const EventObject&)

If I enable macros and browse table, when closing, I got:
- Connection::disposing(const EventObject&)
- Connection::disposing()
and it crashes in this last one.

I don't know what's the use of Connection::disposing(const EventObject&), I can
just tell if I empty the method, it doesn't crash.
Of course, I know it's a not a fix per se but at least it's a hint.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210220/3dbb4702/attachment.htm>


More information about the Libreoffice-bugs mailing list