Skip to content

When 32bit and 64bit FB 3 servers run on one Windows machine concurrently, Firebird services freeze several minutes after first disconnect. [CORE5515] #5784

@firebird-automations

Description

@firebird-automations

Submitted by: michalk1 (michalk1)

Attachments:
CORE-5515.7z

Steps to reproduce:
1) Install FB3.0.2 64bit with default settings (port 3050, service name DefaultInstance)
2) Use FB3.0.2 32bit zip package to install another FB instance at the same machine, change its RemoteServicePort in firebird.conf (e.g. to 3051), setup its security database and use instsvc to configure and start the service (named say FB30)
instsvc i -n FB30
instsvc start -n FB30
3) Run isql from DefaultInstance server and make TCP connect to its employee database
isql -user sysdba -password masterkey localhost/3050:employee
4) Run isql from FB30 server instance and connect to its employee database as well
isql -user sysdba -password masterkey localhost/3051:employee
5) Close both connections and isql consoles (ctrl+z)
6) Wait at least two minutes
7) Now, when trying to connect again to any database, isql console freezes. Both FB services are stuck as well and must be killed from task manager.

Clues:
The problem is not isql or database specific, you can use i.e. FlameRobin, and connect to any database to demonstrate the problem.
What is weird is the time limit required in step 6, because when the new connection is established fast enough (in less than about those two minutes), everything continues to work.
Two FB 3 64bit or two 32bit servers work together ok, it is only combination of 32bit and 64bit servers that cause hangs.

Commits: 90270cd ffaf62b

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions