Issue Details (XML | Word | Printable)

Key: CORE-4835
Type: Bug Bug
Status: Open Open
Priority: Critical Critical
Assignee: Unassigned
Reporter: Darko
Votes: 0
Watchers: 4
Operations

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

GBAK crashes / freeze Firebird server on restore over existing database

Created: 09/Jun/15 09:25 AM   Updated: 10/Jun/15 12:36 PM
Component/s: GBAK
Affects Version/s: 2.5.4
Fix Version/s: None

Environment: Windows x86/x64 - 2003,2008,2012, firebird vesrsion 2.5.4.x

QA Status: No test


 Description  « Hide
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


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alexander Peshkov added a comment - 10/Jun/15 12:36 PM
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 #