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

Segfault when process exits with active sweep thread [CORE5197] #5478

Open
firebird-automations opened this issue Apr 15, 2016 · 7 comments
Open

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @AlexPeshkoff

Is duplicated by CORE6338

In case when process exits when sweep thread has not yet attached to database (i.e. very fast) process does not wait for sweep thread to complete and begins cleanup with sweep starting which almost for sure causes access violation.

Commits: c42c34c 090a5c7 e1ffc62 b5ade14 c7054df 7a67126

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

Link: This issue is duplicated by CORE6338 [ CORE6338 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

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

resolution: Fixed [ 1 ]

Fix Version: 4.0.0 [ 10931 ]

Fix Version: 3.0.8 [ 10960 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: Attila Molnár (e_pluribus_unum)

Hello!

Can this cause DB corruption? CS and SC both are affected?

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

This bug has no specific 'features' corrupting database, but certainly some chances to have DB corrupted are present. Must say I've never noticed it when debugging.

CS is more affected - it has much more chances to exit a process when sweep thread is starting. But SS may be affected too.

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

First fix did not pass regular tests

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Resolved [ 5 ] => Reopened [ 4 ]

resolution: Fixed [ 1 ] =>

Fix Version: 4.0.0 [ 10931 ] =>

Fix Version: 3.0.8 [ 10960 ] =>

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

No branches or pull requests

2 participants