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

Server crashes while switching to the shadow if the disk I/O fault happens while flushing the cache [CORE3873] #1432

Closed
firebird-automations opened this issue Jun 20, 2012 · 7 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @dyemanov

This happens only if there are not active attachments at this point, e.g.:

- SS and FW=OFF: last user disconnects from the database
- CS and FW=OFF: any user disconnects from the database
- any arch and FW: the server is shutting down with active transactions

Unfortunately, some code parts attempt to access the NULL attachment pointer regardless.

Commits: 81ea92c 1636bb0

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Dmitry Yemanov [ dimitr ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => In Progress [ 3 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

description: There is no active attachment at this moment, but some code parts attempt to access the NULL pointer regardless. => This happens only if there are not active attachments at this point, e.g.:

- SS and FW=OFF: last user disconnects from the database
- CS and FW=OFF: any user disconnects from the database
- any arch and FW: the server is shutting down with active transactions

Unfortunately, some code parts attempt to access the NULL attachment pointer regardless.

summary: Server crashes while switching to the shadow if the disk I/O fault happens while flushing the cache during the engine shutdown => Server crashes while switching to the shadow if the disk I/O fault happens while flushing the cache

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: In Progress [ 3 ] => Open [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

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

resolution: Fixed [ 1 ]

Fix Version: 2.5.2 [ 10450 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: Cannot be tested

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