https://bugs.documentfoundation.org/show_bug.cgi?id=122129
--- Comment #4 from Tamas Bunth <[email protected]> ---
Hi,
These are my observations:
- The bug is not always reproducible. It happens after around half of my
attempts for me.
- LibreOffice hangs after multiple concurrent calls of isc_dsql_prepare. The
problem is that Firebird lands in a deadlock.
- Those calls are initiated by separate threads started at
RelationLoader::run() [1]
- The threads use the very same connection, but separate statements.
According to this [2] and this [3] Firebird should be thread-safe in a manner
that multiple threads are allowed, if they are working on the same connection
object.
That means that it might be a bug of Firebird, and not ours. Although it would
be good to get rid of the problem. A workaround could be not to allow multiple
calls of OStatementCommonBase::prepareAndDescribeStatement related to the same
connection object.
[1] dbaccess/source/ui/relationdesign/RelationController.cxx
[2] https://firebirdsql.org/rlsnotesh/rnfb25-engine.html
[3]
https://www.firebirdsql.org/file/documentation/reference_manuals/driver_manuals/odbc/html/fbodbc205-threading.html
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs