Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 98349 invoked from network); 21 Mar 2007 18:38:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2007 18:38:53 -0000 Received: (qmail 98468 invoked by uid 500); 21 Mar 2007 18:39:00 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 98439 invoked by uid 500); 21 Mar 2007 18:39:00 -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 98430 invoked by uid 99); 21 Mar 2007 18:39:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 11:39:00 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 11:38:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2809F714043 for ; Wed, 21 Mar 2007 11:38:32 -0700 (PDT) Message-ID: <30049345.1174502312144.JavaMail.jira@brutus> Date: Wed, 21 Mar 2007 11:38:32 -0700 (PDT) From: "Fabian Merki (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-2475) invalid checksum In-Reply-To: <31469392.1174502192143.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 [ https://issues.apache.org/jira/browse/DERBY-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabian Merki updated DERBY-2475: -------------------------------- Attachment: defekt2.zip i cleaned out almost all tables so that my app still works. and it still fails with the same errors. hibernate does a query to get for all rows in Agent the corresponding 'bild' and 'thumbnail' from dbfile plus dbfilebuffer and it finally fails in dbfilebuffer. a simple select * from dbfilebuffer works. but i haven't had time to test to get the blob data. i think there is were the problem is... may be you'll find something. > invalid checksum > ---------------- > > Key: DERBY-2475 > URL: https://issues.apache.org/jira/browse/DERBY-2475 > Project: Derby > Issue Type: Bug > Affects Versions: 10.2.2.0 > Environment: windows xp, notebook, possibly broken hard drive! > Reporter: Fabian Merki > Priority: Critical > Attachments: defekt2.zip > > > one of my customers gets on a notebook the following exception: > ---------------------------------------------------------------- > 2007-03-17 09:01:53.042 GMT: > Booting Derby version The Apache Software Foundation - Apache Derby - 10.2.2.0 - (485682): instance c013800d-0111-5f21-a736-000002cd2118 > on database directory C:\Programme\merkisoft\kursverwaltung\database\kurs > Database Class Loader started - derby.database.classpath='' > ------------ BEGIN SHUTDOWN ERROR STACK ------------- > ERROR XSDG2: Invalid checksum on Page Page(28,Container(0, 1248)), expected=3'455'715'557, on-disk version=3'357'396'866, page dump follows: Hex dump > > hex dump => see attachment > > i'm using the embedded version together with hibernate on the notebook. > when i transfer the db to my pc and execute select * from i get no errors at all. > we checked the disk about 3 times (with error correction): no result and it still happens. > when i create a new db on the notebook it happens after a while again. > the db is about 35 mb. i could put it somewhere for developers (please email me). > > i've seen someone else having a similar problem but i couldn't find a solution yet. > > any help is very welcome! > > ------------------ > hi bryan > thanks for the quick reply! i tried to answer your questions. i hope it > helps. > > Does this happen for this customer over and over? > > Or did it happen only once? > yes only that, but it happend 6 times. > > Is the customer able to provoke the error on demand? > i tried without success but i keep testing it. > > Can you relate the exception to any particular action that the customer > > is taking in your application? > till now no. > > If it has happened multiple times, is it always the same page on > > the same container? Or is the location different each time? > we installed the app serveral times and i think the following lines are per > installation (so per installation it happend on the same page): > org.hibernate.util.JDBCExceptionReporter - Invalid checksum on Page > Page(28,Container(0, 1248)), expected=3'455'715'557, on-disk > version=3'357'396'866, page dump follows: Hex dump: > org.hibernate.util.JDBCExceptionReporter - Invalid checksum on Page > Page(461,Container(0, 1248)), expected=3'908'279'257, on-disk > version=137'782'528, page dump follows: Hex dump: > org.hibernate.util.JDBCExceptionReporter - Invalid checksum on Page > Page(482,Container(0, 1248)), expected=4'113'528'744, on-disk > version=44'301'386, page dump follows: Hex dump: > org.hibernate.util.JDBCExceptionReporter - Invalid checksum on Page > Page(702,Container(0, 944)), expected=2'598'292'545, on-disk > version=3'174'535'138, page dump follows: Hex dump: > org.hibernate.util.JDBCExceptionReporter - Invalid checksum on Page > Page(2767,Container(0, 944)), expected=2'067'623'629, on-disk > version=2'180'532'620, page dump follows: Hex dump: > org.hibernate.util.JDBCExceptionReporter - Invalid checksum on Page > Page(99,Container(0, 1248)), expected=242'030'294, on-disk > version=3'389'026'885, page dump follows: Hex dump: > > When the exception happens, are there any follow-on symptoms? > yes, my app crashes ;-(( > i'm not shure how well i reinit the db connection. > > Or did > the application seem to behave properly after the user shut it > > down and restarted it? Can the customer later access the data properly > > on their notebook? Or do you have to move the files to another machine > > in order to access the data? > restarts did not help as far as i know. but but when i copied it onto my > harddrive it was ok. > > thanks, > thank you! > fabian > thanks > fabian -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.