Subject Attempt to call GlobalRWLock::unlock() while not holding a valid lock for logical owner
Author

I have just migrated a system from Firebird 1.5 to 2.0.7.13318 running on Windows 2008 R2. I backed up the data using gbak on 1.5. and reloaded it using gbak on 2.0.7. Now on 2.0.7 I am being plagued by:


Attempt to call GlobalRWLock::unlock() while not holding a valid lock for logical owner


The application is the same, the only thing that has changed is the Firebird version.


Going back to 1.5 is no longer an option as the customer has been working on with the new database and there is no way (that I know of) to back it up on 2.5 and reload it on 1.5.


Going forward to 2.5 is not an option (at least in the short term) since there are issues with some of the timestamp fields in the old database containing values that are not acceptable to 2.5.


1. What could be causing these errors? As far as I can tell the database is not corrupt. There are no messages in the log that would indicate a corrupt database and it was freshly loaded yesterday.


2. How can I resolve this issue? I had this happen at one other site and I resolved it be regressing to 2.0.5 but I no longer have, nor can I find, the installer for 2.0.5.


Any help is greatly appreciated.