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 3C2BC431FDD for ; Thu, 5 Sep 2013 08:13:35 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.099 X-Spam-Level: X-Spam-Status: No, score=-0.099 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001] autolearn=disabled 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 c6LNpx1a4k7B for ; Thu, 5 Sep 2013 08:13:29 -0700 (PDT) X-Greylist: delayed 399 seconds by postgrey-1.32 at olra; Thu, 05 Sep 2013 08:13:29 PDT Received: from frisell.zx2c4.com (frisell.zx2c4.com [192.95.5.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 746F4431FDB for ; Thu, 5 Sep 2013 08:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version :date:message-id:subject:from:to:content-type; s=mail; bh=lk9bwI QHgYYgChgx8Nw4jB/Hmho=; b=SBFvStEVGLyG28B5Yzfy3Wo+MPIaghIGmiUFO+ 6jXFba2PBz8mitNE++5KHyu9931JNGCV5/noRkPpNCL0/RD+WFgH3Wyqamsqcbqb TUoNfZWwCF2h9yAZ1XcAdciyrx0xVsoQbrOeUfnU4pk1nVe/qGnVJTpqTOMi0sQH 7hFfQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=zx2c4.com; h=mime-version :date:message-id:subject:from:to:content-type; q=dns; s=mail; b= Hw7hAoLOQTmn+ulrarYTYBXRlJPsT1N5ukFDE0Tz6JOZo2cRb5dsvDMzLKgCWPbb z0k2IW+bqPKNg2AAjncIWNbR9fmyq1b7vtHIVG+A498Ibs87tjwBwKjOkgyLzTf2 tVidDB/xLFO7xpc5VyX2tAld7X7B7n58sOsnonRqz4U= Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 8d13a089; TLS version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=YES; for ; Thu, 5 Sep 2013 15:06:40 +0000 (UTC) Received: by mail-vc0-f171.google.com with SMTP id ij15so1229574vcb.16 for ; Thu, 05 Sep 2013 08:06:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:date:message-id:subject:from:to:content-type; bh=cCzKLqtB01or51z6O7OD7Y8dr8Y0CChOlPpb2PjsbW4=; b=g6JQ6b75vSheltp68Z8jrHgO1rNF0fFr9zYJNf8OlBW06qguP7O10kbg6n3eJczwis dD9l21P+vxSHXYhlC4n7sAZyruvjiLVww6KgC+4K1VyiDfuvNM7exjNXrrRyr1pod3Or IQF/9va4oSAaSuRffo5dg1ad9LpY+XtmL4mYyjeyACDqET3ZrEk2OOHpsXlIRKBqJcvP 0DCRPblg1DOI175m8edrhlk/PqcEuoMnb4EPA2Vi+pba0/Q48uHIWZYDPKFvwk39R4TA jYdWGK3pWL1VqPH/i5+7esU60vMBFt2Awp0dUhfhDcItwDMP8vc6kpZbNdvICZO3hbVa Ncow== MIME-Version: 1.0 X-Received: by 10.220.199.5 with SMTP id eq5mr2548568vcb.16.1378393605255; Thu, 05 Sep 2013 08:06:45 -0700 (PDT) Received: by 10.52.233.69 with HTTP; Thu, 5 Sep 2013 08:06:45 -0700 (PDT) Date: Thu, 5 Sep 2013 17:06:45 +0200 Message-ID: Subject: segfault with xapian 1.3.1 From: "Jason A. Donenfeld" To: notmuch ML Content-Type: multipart/alternative; boundary=047d7b5db26a33be4c04e5a44577 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: Thu, 05 Sep 2013 15:13:35 -0000 --047d7b5db26a33be4c04e5a44577 Content-Type: text/plain; charset=ISO-8859-1 As discussed on IRC, notmuch segfaults with 1.3.1 but not with 1.2.5 on notmuch-new: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff75a5367 in Xapian::TermIterator::skip_to(std::string const&) () from /usr/lib64/libxapian-1.3.so.1 (gdb) bt #0 0x00007ffff75a5367 in Xapian::TermIterator::skip_to(std::string const&) () from /usr/lib64/libxapian-1.3.so.1 #1 0x00007ffff7decaa5 in _notmuch_message_get_term(_notmuch_message*, Xapian::TermIterator&, Xapian::TermIterator&, char const*) () from /usr/lib64/libnotmuch.so.3 #2 0x00007ffff7ded1fb in _notmuch_message_ensure_metadata(_notmuch_message*) () from /usr/lib64/libnotmuch.so.3 #3 0x00007ffff7ded535 in notmuch_message_get_message_id () from /usr/lib64/libnotmuch.so.3 #4 0x00007ffff7de9c11 in notmuch_database_add_message () from /usr/lib64/libnotmuch.so.3 #5 0x000000000040c610 in add_files () #6 0x000000000040cfbf in notmuch_new_command () #7 0x0000000000407a1b in main () This occurs irrespective of the state of the database or the message being added. --047d7b5db26a33be4c04e5a44577 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
As discussed on IRC, notmuch segfaults with 1.3.1 but not = with 1.2.5 on notmuch-new:

Program received signal = SIGSEGV, Segmentation fault.
0x00007ffff75a5367 in Xapian::TermIt= erator::skip_to(std::string const&) () from /usr/lib64/libxapian-1.3.so= .1
(gdb) bt
#0 =A00x00007ffff75a5367 in Xapian::TermIterator::s= kip_to(std::string const&) () from /usr/lib64/libxapian-1.3.so.1
<= div>#1 =A00x00007ffff7decaa5 in _notmuch_message_get_term(_notmuch_message*= , Xapian::TermIterator&, Xapian::TermIterator&, char const*) () fro= m /usr/lib64/libnotmuch.so.3
#2 =A00x00007ffff7ded1fb in _notmuch_message_ensure_metadata(_notmuch_= message*) () from /usr/lib64/libnotmuch.so.3
#3 =A00x00007ffff7de= d535 in notmuch_message_get_message_id () from /usr/lib64/libnotmuch.so.3
#4 =A00x00007ffff7de9c11 in notmuch_database_add_message () from /usr/= lib64/libnotmuch.so.3
#5 =A00x000000000040c610 in add_files ()
#6 =A00x000000000040cfbf in notmuch_new_command ()
#7 =A0= 0x0000000000407a1b in main ()

This occurs irrespective of the state of the data= base or the message being added.
--047d7b5db26a33be4c04e5a44577--