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

Assertion (space > 0) failure during restore #7992

Closed
ilya071294 opened this issue Feb 2, 2024 · 2 comments
Closed

Assertion (space > 0) failure during restore #7992

ilya071294 opened this issue Feb 2, 2024 · 2 comments

Comments

@ilya071294
Copy link
Collaborator

FB5 debug build.
I created a database, filled it with some random data, created a backup. When I try to restore it, I get an assertion failure in RestoreRelationTask::fileReader.

gbak.exe -c bac_fb_5_0.fbk RES_FB_5_0.FDB -user SYSDBA -v
gbak:opened file bac_fb_5_0.fbk
gbak:transportable backup -- data in XDR format
gbak:           backup file is compressed
gbak:backup version is 11
gbak:created database RES_FB_5_0.FDB, page_size 16384 bytes
gbak:started transaction
gbak:restoring domain RDB$1
gbak:restoring domain RDB$2
gbak:committing metadata
gbak:restoring table T1
gbak:    restoring column ID
gbak:    restoring column STR1
gbak:committing metadata
gbak:restoring data for table T1
Assertion (space > 0) failure: d:\Repo\firebird_5_0\gen\burp\restore.cpp 22158

Here's the backup file:
bac_fb_5_0.zip

@hvlad
Copy link
Member

hvlad commented Feb 2, 2024

Fix is committed, please check next snapshot build

@ilya071294
Copy link
Collaborator Author

I've tested the fix. Works fine now.

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

3 participants