Return-Path: Delivered-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Received: (qmail 47779 invoked from network); 15 Apr 2011 00:00:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Apr 2011 00:00:41 -0000 Received: (qmail 18369 invoked by uid 500); 15 Apr 2011 00:00:41 -0000 Delivered-To: apmail-lucene-pylucene-dev-archive@lucene.apache.org Received: (qmail 18341 invoked by uid 500); 15 Apr 2011 00:00:41 -0000 Mailing-List: contact pylucene-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pylucene-dev@lucene.apache.org Delivered-To: mailing list pylucene-dev@lucene.apache.org Received: (qmail 18333 invoked by uid 99); 15 Apr 2011 00:00:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Apr 2011 00:00:41 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [173.228.80.32] (HELO ovaltofu.org) (173.228.80.32) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Apr 2011 00:00:32 +0000 Received: from [192.168.149.223] ([72.14.229.87]) (authenticated bits=0) by ovaltofu.org (8.14.4/8.14.4) with ESMTP id p3F004sF008152 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 14 Apr 2011 17:00:07 -0700 (PDT) Date: Thu, 14 Apr 2011 17:01:18 -0700 (PDT) From: Andi Vajda X-X-Sender: vajda@yuzu.local Reply-To: Andi Vajda To: pylucene-dev@lucene.apache.org Subject: Re: finding exceptions the crash pylucene In-Reply-To: Message-ID: References: User-Agent: Alpine 2.01 (OSX 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 14 Apr 2011, Marcus wrote: > thanks. > > I have documents that will consistently cause this upon writing them to the > index. let me see if I can reduce them down to the crux of the crash. > granted, these are docs are very large, unruly "bad" data, that should have > never gotten this stage in our pipeline, but I was hoping for a java or > lucene exception. > > I also get "Java GC overhead" exceptions passed into my code from time to > time, but those manageable, and not crashes. > > Are there known memory constraint scenarios that force a c++ exception, > whereas in a normal Java environment, you would get a memory error? Not sure. > and just confirming, do "java.lang.OutOfMemoryError" errors pass into > python, or force a crash? Not sure, I've never seen these as I make sure I've got enough memory. initVM() is the place where you can configure the memory for your JVM. Andi.. > > thanks again > Marcus > > On Thu, Apr 14, 2011 at 2:07 PM, Andi Vajda wrote: > >> >> On Thu, 14 Apr 2011, Marcus wrote: >> >> in certain cases when a java/pylucene exception occurs, it gets passed up >>> in my code, and I'm able to analyze the situation. >>> sometimes though, the python process just crashes, and if I happen to be >>> in >>> top (linux top that is), I see a JCC exception flash up in the top >>> console. >>> where can I go to look for this exception, or is it just lost? >>> I looked in the locations where a java crash would be located, but didn't >>> find anything. >>> >> >> If you're hitting a crash because of an unhandled C++ exception, running a >> debug build with symbols under gdb will help greatly in tracking it down. >> >> An unhandled C++ exception would be a PyLucene/JCC bug. If you have a >> simple way to reproduce this failure, send it to this list. >> >> Andi.. >> >