Subject Re: [firebird-support] Corruptions to our Mac data files
Author Helen Borrie
At 05:08 PM 2/02/2006, you wrote:
>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.

As it would be, since it is no longer connected to the
database. However, your Java application doesn't know that the
connection is gone; so finding the exact point at which the crash
occurred would be hard.


>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?
No; and because it isn't happening on your Windows/Superserver
installations it's happening either (or both) because it's Classic
and because it's Java.

I suggest reposting your question on the firebird-java list, since
it's much more likely you'll find someone there using your
combination of OS and driver.

./heLen