Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Races during service startup [CORE1302] #1722

Closed
firebird-automations opened this issue Jun 5, 2007 · 11 comments
Closed

Races during service startup [CORE1302] #1722

firebird-automations opened this issue Jun 5, 2007 · 11 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @AlexPeshkoff

Is duplicated by CORE1294

Was detected in current HEAD, but looking at old code seems to be applicable to all firebird versions.

When starting any service in separate thread, sometimes it hangs with 100% CPU consumption (though able to serv other queries with lower efficiency).

Commits: fd4362e f3a8b2a

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is duplicated by CORE1294 [ CORE1294 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

The problem was due to event initialized after service thread startup.
Now we use semaphore, which is much better applicable as sync for this purpose.

I do not mark 1294 as fixed now in order to let Pavel check it himself - there are still too many badly written places in services code.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

Fix Version: 2.0.2 [ 10130 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

Fix Version: 2.1.0 [ 10041 ]

Fix Version: 2.1 Beta 1 [ 10141 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Fix Version: 2.1 Beta 1 [ 10141 ]

Fix Version: 2.1.0 [ 10041 ] =>

@firebird-automations
Copy link
Collaborator Author

Commented by: @pcisar

As far as I can tell, this looks fixed (cannot reproduce with 2.1 Beta 1).

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 12275 ] => Firebird [ 15532 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test => Cannot be tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment