Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 24837 invoked from network); 16 Nov 2010 20:49:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Nov 2010 20:49:08 -0000 Received: (qmail 58526 invoked by uid 500); 16 Nov 2010 20:49:38 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 58484 invoked by uid 500); 16 Nov 2010 20:49:38 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 58476 invoked by uid 99); 16 Nov 2010 20:49:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 20:49:38 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of robert.newson@gmail.com designates 209.85.212.52 as permitted sender) Received: from [209.85.212.52] (HELO mail-vw0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 20:49:32 +0000 Received: by vws3 with SMTP id 3so615256vws.11 for ; Tue, 16 Nov 2010 12:49:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=CZV9t4BWE9hAoXRe34Lnk3dW30L0tOoYb2jvTI9243Y=; b=yGekY+9WQg4erCxGhTRC7fDeWPHWIb8+wISjOz+ACiXmv3L7Rzr4jMy2cz1lyf2LTV AcRByShWWY2D+HGYvb2/dCjZy0SG0VsCllKgHslNMOFJ0HufWUX+8awfOE7w6DC5OmHa DDyOLMJudm+y0P8dcdVyr9gayPeCyY/+B3FM8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=O9Yyvt32NGaRqZ3qQHFvX/B0LsWUkW69XzKKyuZR/8bLxnyMYH3gW2FMF9dsDVtzwT 0L1hrxwtZ2awd3tJ4H4+wVWt+cSLCDwXva30VWWIt+dlSERms6b5pw/kDb7jf/B49loP mSVd4V8s0WOJkIwiv2saeCPmWphb2E3F/GevA= MIME-Version: 1.0 Received: by 10.229.241.194 with SMTP id lf2mr6597859qcb.164.1289940547434; Tue, 16 Nov 2010 12:49:07 -0800 (PST) Received: by 10.229.100.65 with HTTP; Tue, 16 Nov 2010 12:49:07 -0800 (PST) In-Reply-To: References: Date: Tue, 16 Nov 2010 20:49:07 +0000 Message-ID: Subject: Re: Couch crash report From: Robert Newson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Also the steps to reproduce it would be very helpful! On Tue, Nov 16, 2010 at 8:48 PM, Robert Newson wr= ote: > Can you upload the big stuff to dropbox or similar and then email the > password directly to me at robert.newson at gmail dot com? > > I'd like to share it with other CouchDB committers too, if that's ok with= you? > > B. > > On Tue, Nov 16, 2010 at 8:17 PM, Matthew Sinclair-Day = wrote: >> Robert, >> >> I think we have this reproduced. =A0If you'd like to look at db files, c= an you >> provide a private email or upload point for transmitting databases and l= og >> info? >> >> Matthew >> >> On 11/15/10 at 1:21 PM, robert.newson@gmail.com (Robert Newson) wrote: >> >>> Matthew, >>> >>> Thanks! We've tracked it to; >>> >>> read_raw_iolist_int(#file{fd=3DFd, tail_append_begin=3DTAB}, Pos, Len) = -> >>> BlockOffset =3D Pos rem ?SIZE_BLOCK, >>> TotalBytes =3D calculate_total_read_len(BlockOffset, Len), >>> {ok, <>} =3D file:pread(Fd, Pos, TotalBytes), >>> if Pos >=3D TAB -> >>> {remove_block_prefixes(BlockOffset, RawBin), Pos + TotalBytes}; >>> true -> >>> % 09 UPGRADE CODE >>> <> =3D RawBin, >>> {[ReturnBin], Pos + Len} >>> end. >>> >>> The only reasonable cause is some issue with the file system or disk, >>> specifically that file:pread returned less than TotalBytes number of >>> bytes, causing the badmatch. >>> >>> Is the database in question confidential or private in any way? We >>> might like to examine it in more detail if not. >>> >>> B. >>> >>> On Mon, Nov 15, 2010 at 5:46 PM, Matthew Sinclair-Day >>> wrote: >>>> >>>> On 11/15/10 at 12:39 PM, robert.newson@gmail.com (Robert Newson) wrote= : >>>> >>>>> exception exit: {{badmatch,{ok >>>>> >>>>> >>>>> can you unsnip the rest of the badmatch exception text? >>>>> >>>>> B. >>>> >>>> Unsnipped as an attachment (unless the mailing list strips it). >> >> >