Issue Details (XML | Word | Printable)

Key: CORE-2356
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vlad Khorsun
Reporter: Vlad Khorsun
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
Firebird Core

On Windows listener process of Classic Server can't create necessary resources after restart if any worker process was present

Created: 07/Mar/09 05:17 PM   Updated: 22/Aug/16 06:16 AM
Component/s: Engine
Affects Version/s: 2.0.0, 1.5.4, 2.0.1, 2.0.2, 2.0.3, 1.5.5, 2.1.0, 2.0.4, 2.5 Alpha 1, 2.1.1, 2.0.5, 2.1.2
Fix Version/s: 2.5 Beta 1, 2.1.4

Environment: Windows. Classic Server.

QA Status: Cannot be tested

 Description  « Hide
Run fb_inet_server -a
Connect to any database
Stop listener process via tray icon
Run fb_inet_server -a again :
  you'll found XNET error in firebird.log
  new connection's is not accepted until old worker process exist

The following errors could be logged in firebird.log
XNET error (xnet:2323) XNET server initialization failed

INET/inet_error: listen errno = 10022

Unable to complete network request to host "xxx".
Error while listening for an incoming connection.
An invalid argument was supplied.

WNET/wnet_error: ReadFile end-of-file errno = 109

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Vlad Khorsun added a comment - 07/Mar/09 05:29 PM
Fix is to make child (worker) process not inherit handles of parent (listener) process.

Vlad Khorsun added a comment - 11/Sep/10 10:40 AM
Backported into 2.1.4