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
Circular index references in corrupt database causes fbserver to loop infinitely [CORE1127] #1548
Comments
Commented by: Diane Downie (dianedownie) Before and after fbserver.log that illustrate the problems and code changes that detect the problem. (FB Developers may be aware of a better to address this issue that has been present since 1.5.) |
Modified by: Diane Downie (dianedownie)Attachment: Circular Index.zip [ 10250 ] |
Modified by: Diane Downie (dianedownie)description: Fbserver.exe does not detect circular index references in a corrupt database during validation in the walk_index. Attached please find logs illustrating the problem and code changes that detect the problem and allow the database to be successfully repaired. Unfortunately, I cannot supply the database as it belongs to a 3rd party. => Fbserver.exe does not detect circular index references in a corrupt database during in the walk_index phase of validation. Attached please find logs illustrating the problem and code changes that detect the problem and allow the database to be successfully repaired. Unfortunately, I cannot supply the database as it belongs to a 3rd party, but am able to test/verify any proposed changes to fbserver. |
Commented by: Diane Downie (dianedownie) Added Readme.txt to the archive. |
Modified by: Diane Downie (dianedownie)Attachment: Circular Index.zip [ 10251 ] |
Commented by: @hvlad Diane, thank you for contribution. Index: jrd/validation.cppRCS file: /cvsroot/firebird/firebird2/src/jrd/validation.cpp,v @@ -1430,11 +1431,16 @@
+ + // check for circular referenes |
Modified by: @hvladassignee: Vlad Horsun [ hvlad ] |
Commented by: Diane Downie (dianedownie) Yes, your reworked changs also allowed the database to be recovered. |
Modified by: @hvladstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.0.1 [ 10090 ] Fix Version: 2.1 [ 10041 ] |
Commented by: @pmakowski Reporter said that it is ok, so we can close |
Modified by: @pmakowskistatus: Resolved [ 5 ] => Closed [ 6 ] |
Commented by: @pcisar Reopened to update ticket information. |
Modified by: @pcisarWorkflow: jira [ 11593 ] => Firebird [ 15455 ] |
Modified by: @pavel-zotovQA Status: No test |
Modified by: @pavel-zotovstatus: Closed [ 6 ] => Closed [ 6 ] QA Status: No test => Cannot be tested |
Submitted by: Diane Downie (dianedownie)
Attachments:
Circular Index.zip
Circular Index.zip
Fbserver.exe does not detect circular index references in a corrupt database during in the walk_index phase of validation. Attached please find logs illustrating the problem and code changes that detect the problem and allow the database to be successfully repaired. Unfortunately, I cannot supply the database as it belongs to a 3rd party, but am able to test/verify any proposed changes to fbserver.
Commits: 75a7e65 e4b66b9 119a702
The text was updated successfully, but these errors were encountered: