| Summary: | An ODB hangs indefinitely when opening on Windows with another FB instance is running | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Mike Kaganski <mikekaganski> |
| Component: | Base | Assignee: | Mike Kaganski <mikekaganski> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | cg |
| Priority: | medium | ||
| Version: | 7.2.0.4 release | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:7.3.0 inReleaseNotes:7.3 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 108445 | ||
| Attachments: | Internal FB DB hangs on opening | ||
|
Description
Mike Kaganski
2021-08-30 08:28:48 UTC
*** Bug 144198 has been marked as a duplicate of this bug. *** This is not related to the bug in the incorrect check - rather it's similar to https://github.com/FirebirdSQL/firebird/issues/4376. The problem is that FB uses a global locking mechanism with a name that is shared across all FB instances running on a session; and using a separate trace storage (which for LO is placed in LO's own temp directory) is unsupported by FB currently. The problem is reproducible in one of the following ways: 1. Open FireBird's isql utility and connect to a local FDB; then open an ODB with embedded FB in LibreOffice, and try to open its tables; 2. Open a LibreOffice instance with an embedded FB ODB, and open a table in it; open another instance of LibreOffice (e.g., a dev build; or use another user profile) with another embedded FB ODB, and try to open its tables. (the latter was how it occurred to me - the other running LO process was hung and invisible, and I needed to kill it). Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a5bb0e66492118b79da5fef31f8d2bd686947354 tdf#144172: patch FB to use per-process LOCK directories It will be available in 7.3.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. |