Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 4336 invoked from network); 10 Aug 2006 14:40:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Aug 2006 14:40:16 -0000 Received: (qmail 14288 invoked by uid 500); 10 Aug 2006 14:40:15 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 14264 invoked by uid 500); 10 Aug 2006 14:40:15 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 14253 invoked by uid 99); 10 Aug 2006 14:40:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2006 07:40:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2006 07:40:11 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E24007142C7 for ; Thu, 10 Aug 2006 14:37:19 +0000 (GMT) Message-ID: <21469581.1155220639924.JavaMail.jira@brutus> Date: Thu, 10 Aug 2006 07:37:19 -0700 (PDT) From: "Mike Matrigali (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Resolved: (DERBY-1248) Assert failure in BasePage.shiftUp() when running store/onlineBackupTest4.sql In-Reply-To: <15659967.1145882465758.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1248?page=all ] Mike Matrigali resolved DERBY-1248. ----------------------------------- Fix Version/s: 10.2.0.0 Resolution: Fixed committed fix to trunk: m3_142:80>svn commit Sending java\engine\org\apache\derby\impl\store\raw\log\LogToFile.java Transmitting file data . Committed revision 430396. > Assert failure in BasePage.shiftUp() when running store/onlineBackupTest4.sql > ----------------------------------------------------------------------------- > > Key: DERBY-1248 > URL: http://issues.apache.org/jira/browse/DERBY-1248 > Project: Derby > Issue Type: Bug > Components: Store, Regression Test Failure > Affects Versions: 10.2.0.0 > Environment: Sun JVM 1.5.0_04 on Solaris 10 x86. Derby from trunk (revision 396285). Sane build. > Reporter: Knut Anders Hatlen > Assigned To: Mike Matrigali > Fix For: 10.2.0.0 > > Attachments: derby_335.log, linuxfailure.zip, solaris-singlecpu.zip, solarisfailure.zip, storemore.zip, test2_379.jar, test335.jar, test5.zip > > > I saw this error when I ran derbyall. > ********* Diff file derbyall/storeall/storemore/onlineBackupTest4.diff > *** Start: onlineBackupTest4 jdk1.5.0_04 storeall:storemore 2006-04-24 11:51:50 *** > 68 del > < ij(CONNECTION1)> select * from ctest; > 69 del > < ID |NAME > 70 del > < -------------------------------------------------------------------------------------------------------------------------------------------- > 71 del > < 1 |derby backup/compress test & > 72 del > < 2 |derby backup/compress test & > 73 del > < 300 |derby backup/compress test & > 74 del > < 509 |derby backup/compress test & > 75 del > < 510 |derby backup/compress test & > 76 del > < 511 |derby backup/compress test & > 77 del > < 512 |derby backup/compress test & > 78 del > < ij(CONNECTION1)> insert into ctest values(2000, 'restore was successfil') ; > 79 del > < 1 row inserted/updated/deleted > 80 del > < ij(CONNECTION1)> > 80 add > > org.apache.derby.shared.common.sanity.AssertFailure: ASSERT FAILED shiftUp failed, low must be between 0 and recordCount. low = 140, recordCount = 2 > > ERROR XJ040: Failed to start database 'wombat', see the next exception for details. > > ERROR XJ001: Java exception: 'ASSERT FAILED shiftUp failed, low must be between 0 and recordCount. low = 140, recordCount = 2: org.apache.derby.shared.common.sanity.AssertFailure'. > > ij> select * from ctest; > > IJ ERROR: Unable to establish connection > > ij> insert into ctest values(2000, 'restore was successfil') ; > > IJ ERROR: Unable to establish connection > > ij> > Test Failed. > *** End: onlineBackupTest4 jdk1.5.0_04 storeall:storemore 2006-04-24 11:51:56 *** > The test usually succeeds, but I managed to reproduce the failure by running this loop in the shell: > touch onlineBackupTest4.pass > while [ -f onlineBackupTest4.pass ]; do > rm onlineBackupTest4.pass > java org.apache.derbyTesting.functionTests.harness.RunTest store/onlineBackupTest4.sql > done -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira