Subject Re: [firebird-support] Database corruption on virtual machine
Author Ann W. Harrison
Paul Tessman wrote:
>
>
[Lots of pertinent information cut]
>
> I received the following error:
> EIBInterBaseError with message:
> 'database file appears corrupt () wrong page type page 419181 is of
> wrong type(expected 7, found 5)'

Page type 7 is an index page. Page type 5 is a data page. If you're
going to have a page type error, that's a good one because a gbak
will succeed (unless you're not lucky and the index is part of a
system table) and the restore will be good.

Vlad Khorsun fixed a bug that allowed a pointer from an upper level
of the index to a lower level to persist after the lower level page
had been recombined with another page at the same level and released.
That may be the bug you saw. I don't remember which versions were
fixed.


Good luck,

Ann