Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3607

Invalid checksum error in Derby 10.3.2.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Cannot Reproduce
    • 10.3.2.1, 10.4.1.3
    • None
    • Store
    • OS-WIN XP SP2, 1.86GHz, 2GB, JVM 1.5, disk caching disabled, Hibernate 3.1.1.RC3,c3p0
    • Normal
    • Data corruption, Seen in production

    Description

      I am getting this execption when ever I try to restart my application

      java.sql.SQLException: Invalid checksum on Page Page(0,Container(0, 2033)), expected=2,731,401,932, on-disk version=2,375,776,513, page dump follows: Hex dump:

      00000000: 0076 0000 0001 0000 0000 0000 0002 0000 .v..............
      00000010: 0000 0006 0000 0000 0000 0000 0000 0000 ................
      00000020: 0000 0000 0001 0000 0000 0000 0000 0000 ................
      00000030: 0000 0000 0000 0000 0000 0000 ffff ffff ................
      00000040: ffff ffff 0000 0000 0000 0000 0000 0000 ................
      00000050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
      00000060: 0000 0000 0000 0000 0000 0000 5000 0000 ............P...

      at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
      at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
      at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
      at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
      at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedCallableStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown Source)
      at com.mchange.v2.c3p0.impl.NewProxyCallableStatement.execute(NewProxyCallableStatement.java:3044)
      at ae.sphere.arena.database.management.backup.BackupStategy.createBackup(BackupStategy.java:56)
      at ae.sphere.arena.database.management.backup.BackupStategy.doSchedulerJob(BackupStategy.java:41)
      at ae.sphere.arena.common.jobscheduler.Scheduler$1.run(Scheduler.java:49)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
      00000070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
      00000080: 0000 0000 0000 0000 0000 0000 0000 0000 ................
      00000090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
      000000a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
      000000b0: 0000 0

      Attachments

        1. DB_10.4logs.zip
          9 kB
          Shahbaz
        2. derby.log
          87 kB
          Shahbaz
        3. derby.log
          42 kB
          Shahbaz
        4. derby.log
          254 kB
          Shahbaz
        5. derby.log
          1.51 MB
          Shahbaz
        6. DerbyDiag.java
          2 kB
          Katherine Marsden
        7. DerbyIssues_DBSource.zip
          3.03 MB
          Shahbaz
        8. hibernate.cfg.xml
          5 kB
          Shahbaz
        9. hibernate.cfg.xml
          2 kB
          Shahbaz
        10. hibernate.cfg.xml
          2 kB
          Shahbaz
        11. modules.properties
          5 kB
          Shahbaz
        12. SingleThread Test.zip
          190 kB
          Shahbaz

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shahbaz Shahbaz
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: