Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 64823 invoked from network); 6 Aug 2010 13:02:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Aug 2010 13:02:31 -0000 Received: (qmail 20218 invoked by uid 500); 6 Aug 2010 13:02:30 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 19991 invoked by uid 500); 6 Aug 2010 13:02:26 -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 19983 invoked by uid 99); 6 Aug 2010 13:02:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Aug 2010 13:02:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shasderias@gmail.com designates 209.85.216.52 as permitted sender) Received: from [209.85.216.52] (HELO mail-qw0-f52.google.com) (209.85.216.52) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Aug 2010 13:02:19 +0000 Received: by qwf7 with SMTP id 7so7072669qwf.11 for ; Fri, 06 Aug 2010 06:01:58 -0700 (PDT) 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; bh=zTWK3jZobDa738oLVgCQ8RW3c9xKRmWW5GdsUFN6eZ4=; b=JyoQPePutTxA9Wfa6LAlHPNwlK5xmoUOKfOXl475405VtAkYc5bftBFfKtpeQiBLKm QZU+scBEerhWKDKdryJX12Ct03AqC440bFfOUCanZxbZTeusTW4kYvMR35VKYnRSlhxa 7tKno44HT4DVCLEl6aVURUtCQeGsMlR3FEOr0= 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; b=j4zls2XEVA3aya5ZMIqNoe/74EFFd/AYvciQ1CbCwsJiY1f8R9EXJPvYJVcFyzTIiN 52r0f4n7UftpFjdj+BUHms2nYqvA+TqK1jfdj04hN7jL6Dfy5VDn/nolf5qheyL5zmcn 4rMIgdUGN9vwfRE1Mcv2BYFyalZuRetm37HR0= MIME-Version: 1.0 Received: by 10.224.80.4 with SMTP id r4mr5932071qak.45.1281099718773; Fri, 06 Aug 2010 06:01:58 -0700 (PDT) Received: by 10.229.222.145 with HTTP; Fri, 6 Aug 2010 06:01:58 -0700 (PDT) In-Reply-To: References: Date: Fri, 6 Aug 2010 21:01:58 +0800 Message-ID: Subject: Re: Crash when using builtin reduce _stats From: Yue Chuan Lim To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=00c09f899a97a8cd64048d274588 X-Virus-Checked: Checked by ClamAV on apache.org --00c09f899a97a8cd64048d274588 Content-Type: text/plain; charset=ISO-8859-1 And curiously enough, running it as a temp view works just fine. [info] [<0.1859.0>] 127.0.0.1 - - 'POST' /gsc_lt2/_temp_view?limit=11&descending=true&group=true 200 On Fri, Aug 6, 2010 at 8:38 PM, Yue Chuan Lim wrote: > Fairly standard map/reduce function, map looks something like > > function(doc) { > if(doc.data[12] > 0) { > key = doc._id.split("|")[0]; > emit(key, doc.data[12]); > } > } > > Data returned by map is along the lines of: ("test1", 123), ("test1", 245). > > Reduce is just: _stats > > Crash log: http://pastebin.com/aX7jeeLm > Platform: Windows 7 (32-bit) > > Using the installer by Mark Hammond. Incidentally, is the installer on > couch.io the preferred one for windows deployment? > > Thanks > > > --00c09f899a97a8cd64048d274588--