[Libreoffice-bugs] [Bug 120042] FIREBIRD: Crash in: libc-2.27.so when Save As of an ODB overtop of an existing ODB if the target has been opened in current session
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Sep 27 17:43:53 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=120042
--- Comment #5 from Terrence Enger <lo_bugs at iseries-guru.com> ---
(In reply to Drew Jensen from comment #4)
> (In reply to Terrence Enger from comment #2)
> > ... only if I browse table data ...
>
> yes - I should of come back and clarified that. The issue only triggers if a
> connection to the database has been established in the first document. In
I think that clicking <Tables> in the left pane to display the list of
tables establishes the connection. Right? But I think I remember
that that alone is not sufficient to trigger the later crash.
> fact I believe there are couple of other issues open right now that look to
> have a root cause tied to the connection not being freed up as the document
> is closed.
When I re-open the first file and browse table data a second time,
lsof shows the same number of occurrences of fd's and they have the
same value. So maybe maintenance of the connection is a deliberate
optimization. I doubt that the optimization is needed, and it is
clearly not being done right.
This report immediately reminded me of bug 77141 "leaks a fd on closed
odb: locks file on Windows share", but that is from 2014 and so is
older than 6.0.6, which is said not to have the present problem. (The
summary of bug 77141 is not quite right: the leak happens on Linux
too, but Linux is more tolerant of operations on still-open files.)
After Save-As but while the database window is still open, lsof showed
me the first-opened file 8 times (all with the same value for the fd).
> I could go find those and cross reference them or maybe this is worth a meta
> issue dealing with connection life cycle management?
Or, perhaps a bug for life cycle management in general. Do we have
that already?
--
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/20180927/b7e7ce23/attachment.html>
More information about the Libreoffice-bugs
mailing list