Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id C1F3A40BFD3 for ; Wed, 13 Oct 2010 14:00:02 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PehSGq8qsRB5 for ; Wed, 13 Oct 2010 13:59:52 -0700 (PDT) Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36]) by olra.theworths.org (Postfix) with ESMTP id E321540BD9F for ; Wed, 13 Oct 2010 13:59:51 -0700 (PDT) Received: from localhost (unknown [192.168.200.4]) by max.feld.cvut.cz (Postfix) with ESMTP id 2A0983CFE77; Wed, 13 Oct 2010 22:59:51 +0200 (CEST) X-Virus-Scanned: IMAP AMAVIS Received: from max.feld.cvut.cz ([192.168.200.1]) by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new, port 10044) with ESMTP id ffLmt1Njy+nz; Wed, 13 Oct 2010 22:59:49 +0200 (CEST) Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34]) by max.feld.cvut.cz (Postfix) with ESMTP id 901823CFE76; Wed, 13 Oct 2010 22:59:49 +0200 (CEST) Received: from steelpick.2x.cz (unknown [213.29.198.144]) (Authenticated sender: sojkam1) by imap.feld.cvut.cz (Postfix) with ESMTPSA id 89EE815C082; Wed, 13 Oct 2010 22:59:49 +0200 (CEST) Received: from wsh by steelpick.2x.cz with local (Exim 4.72) (envelope-from ) id 1P68QP-0003Zi-5U; Wed, 13 Oct 2010 22:59:49 +0200 From: Michal Sojka To: Mike Kelly , notmuch@notmuchmail.org Subject: Re: [PATCH 0/4] Maildir synchronization v2 In-Reply-To: <20101013103515.21ec86f7@pioto.org> References: <1286972038-21064-1-git-send-email-sojkam1@fel.cvut.cz> <20101013093158.6d637b89@pioto.org> <20101013102425.0ca181c1@pioto.org> <20101013103515.21ec86f7@pioto.org> User-Agent: Notmuch/0.3.1-110-g7be1648 (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Wed, 13 Oct 2010 22:59:49 +0200 Message-ID: <87ocaxolkq.fsf@steelpick.2x.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 21:00:03 -0000 On Wed, 13 Oct 2010, Mike Kelly wrote: > On Wed, 13 Oct 2010 10:24:25 -0400 > Mike Kelly wrote: > > > Looks like this may also require a newer xapian than i have now > > (xapian-core 1.0.18), as notmuch new aborts with: > > > > terminate called after throwing an instance of > > 'Xapian::InvalidArgumentError' > > > > I'll see if I can track down anything more concrete as a cause. > > Well, the full backtrace looks like this: So you were able to compile it? What was the problem? > > #0 __cxa_throw (obj=0x2883d560, tinfo=0x8070278, dest=0x806132e <~InvalidArgumentError>) > at ../../.././../gcc-4.4-20100309/libstdc++-v3/libsupc++/eh_throw.cc:67 > header = (__cxxabiv1::__cxa_refcounted_exception *) 0x2883d500 > #1 0x28353b72 in Xapian::Document::Internal::remove_term () from /usr/local/lib/libxapian.so.21 > No symbol table info available. > #2 0x28353c96 in Xapian::Document::remove_term () from /usr/local/lib/libxapian.so.21 > No symbol table info available. > #3 0x080604bc in _notmuch_message_remove_term (message=0x28a85c10, prefix_name=0x806c887 "tag", value=0x806c564 "draft") > at lib/message.cc:737 > term = 0x28806ab0 "Kdraft" > #4 0x0806086a in notmuch_message_remove_tag (message=0x28a85c10, tag=0x806c564 "draft") at lib/message.cc:832 > private_status = 134662454 > status = NOTMUCH_STATUS_SUCCESS I guess the problem would be that it removes nonexistent tag. I do not experience such a problem on Linux with Xapian 1.2.3. -Michal