Subject Corruptions to our Mac data files
Author phil_hhn
We are having a few problems with corruptions to our Mac data files
when we try to access our databases via JDBC.

What we see is:

java.lang.ArrayIndexOutOfBoundsException: 1034
at org.firebirdsql.jgds.GDS_Impl.getSqlCounts(GDS_Impl.java:1357)
at
org.firebirdsql.jca.FBManagedConnection.getSqlCounts(FBManagedConnection.java:971)
at
org.firebirdsql.jdbc.AbstractConnection.getSqlCounts(AbstractConnection.java:983)
at
org.firebirdsql.jdbc.AbstractStatement.getUpdateCount(AbstractStatement.java:592)
at
org.firebirdsql.jdbc.AbstractStatement.executeUpdate(AbstractStatement.java:201)

This is followed by 'GDS Exception. 335544726. Error reading data from
the connection.' as the FB process on the server has been killed.
Once this happens the database is effectively unusable by our application.

Currently we are running the 1.5.1 Classic server installer and
connecting using Jaybird 1.5.5.
All our Macs are running at least OSX 10.3.4.

We have not seen this problem on any of our Windows sites running
1.5.2 SuperServer.

In some cases doing a backup and restore seems to get the database
running again but in other cases not.
We have one client datafile here that exhibits this problem. gfix
reports that there is one error but when it is told to repair it just
gives a segmentation fault.

Unfortunately this is happening randomly at some sites so it isn't
something that we can easily replicate. These are 'live' sites so it's
not a good situation.

Is this familiar to anyone?

Thanks, Phil