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

GBAK crashes / freeze Firebird server on restore over existing database [CORE4835] #5131

Open
firebird-automations opened this issue Jun 9, 2015 · 2 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Darko (irdanet)

In version 2.5.4.x GBAK crashes / freeze Firebird server on restore over existing database.
In combination with GFIX and FULL shutdown, if you use GBAK with -REP option and try to restore database over existing one, gbak hangs on start and freeze firebird server.
You need to open Windows task manager and kill Firebird server task and after that Guardian restart Firebird Server.

That problem is happened only in combination of these conditions:
1. GFIX - full shutdown
2. GBAK - restore with -REP option

Problem does not exist in Firebird version 2.5.2.26539 or 2.5.2.26540 - other version before 2.5.4.x I did not test.

Workaround 1:
1. GFIX: shutdown full
2. GFIX: online single

Workaround 2:
1. GFIX: shutdown full
2. DELETE database file
3. Restore with GBAK with same name

@firebird-automations
Copy link
Collaborator Author

Modified by: Darko (irdanet)

Component: GBAK [ 10006 ]

summary: CLONE -GBAK crashes / freeze Firebird server on restore over existing database => GBAK crashes / freeze Firebird server on restore over existing database

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

Did not reproduce on linux:

localhost bin #⁠ ./gfix -shut full -force 0 test2.gdb
localhost bin #⁠ ./gstat -h test2.gdb

Database "test2.gdb"
Attributes force write, full shutdown

localhost bin #⁠ ./gbak -replace test2.gbak test2.gdb
localhost bin #⁠ ./gstat -h test2.gdb

Database "test2.gdb"
Attributes force write

localhost bin #⁠

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

1 participant