From user-return-11909-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Sat Aug 07 00:10:04 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 68871 invoked from network); 7 Aug 2010 00:10:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Aug 2010 00:10:04 -0000 Received: (qmail 53556 invoked by uid 500); 7 Aug 2010 00:10:03 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 53509 invoked by uid 500); 7 Aug 2010 00:10:02 -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 53501 invoked by uid 99); 7 Aug 2010 00:10:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Aug 2010 00:10:02 +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.180 as permitted sender) Received: from [209.85.216.180] (HELO mail-qy0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Aug 2010 00:09:56 +0000 Received: by qyk31 with SMTP id 31so5589312qyk.11 for ; Fri, 06 Aug 2010 17:09:35 -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=IZBuY3hQ9njmvGWMQ6H3WVtG5WTlvt96eyOQbNfCatA=; b=fJ5FhLmPtOfQIuv1qhPDn8Mz/qKD6ewmQaeDOnBD3ErK9/APAfSlpDoS/GbrsP8py7 f1WgzNcry4cvrfEphYOL7oiGWmAQLvQZzcjWyaoMxDkM42KgLe8Gaa3ljc/Yix4DXF/z rULj3VxNsRCU66R+HvwSOZUujsJcNKV0a2dq0= 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=C4yGVgmjPMzvpAKG1uRgnEgjpjyDawTrigvq+NFBG9t/PZfbmOvbRjJV6AWIH6Wf5l twZ30JdUBeEf/OAbXk6GeKpsRDt5uQwBdLhbl9pl1BD4YZUmx2oE0iquLRv2SINQV9zt UgpuU2nxha4+9jfnSN4iCYnHnh/QRzKfGe/A4= MIME-Version: 1.0 Received: by 10.224.53.35 with SMTP id k35mr6478606qag.250.1281139775286; Fri, 06 Aug 2010 17:09:35 -0700 (PDT) Received: by 10.229.222.145 with HTTP; Fri, 6 Aug 2010 17:09:35 -0700 (PDT) In-Reply-To: References: Date: Sat, 7 Aug 2010 08:09:35 +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=00c09fa2175f36b000048d30990c X-Virus-Checked: Checked by ClamAV on apache.org --00c09fa2175f36b000048d30990c Content-Type: text/plain; charset=ISO-8859-1 Further tested on the couch.io windows installer as well as a couch.ioinstance with the same results, works on a temp view, crashes on a actual view. shasderias.couchone_remove_me_.com/_utils/database.html?gsc_lt2/_design/stats/_view/active_power is the couchone instance. On Fri, Aug 6, 2010 at 9:01 PM, Yue Chuan Lim wrote: > 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 >> >> >> > --00c09fa2175f36b000048d30990c--