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 A4CA5429E29 for ; Thu, 16 Jun 2011 23:35:02 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.09 X-Spam-Level: X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, T_MIME_NO_TEXT=0.01] 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 vBnDsX2NQ9zR for ; Thu, 16 Jun 2011 23:35:02 -0700 (PDT) Received: from homiemail-a22.g.dreamhost.com (caiajhbdcahe.dreamhost.com [208.97.132.74]) by olra.theworths.org (Postfix) with ESMTP id E9D08431FB6 for ; Thu, 16 Jun 2011 23:35:01 -0700 (PDT) Received: from homiemail-a22.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a22.g.dreamhost.com (Postfix) with ESMTP id 50F5D1A8061; Thu, 16 Jun 2011 23:35:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:subject :in-reply-to:references:date:message-id:mime-version: content-type; q=dns; s=sspaeth.de; b=Q1WNnz7UFq2NtglFX2PNLf61Rgo OOzzxtYE90IHcdlAbMj7vBJPY4nsiXiRG3de2QeOzv6VTiLF9uLFZq3mV3S3p89g DoasI/Jd3R14UjJUt1OmX/GyExqYOZbu3EUT6aiI1UeY+U+1YV06YOM0EJaGys9k k+5VM0so5fA0nVG4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to :subject:in-reply-to:references:date:message-id:mime-version: content-type; s=sspaeth.de; bh=wd3MJkpFDAapIZcCIc/Z3ESdxVA=; b=E P8TWXNADbnrk1l5kas1TD2phknbMAruMpNYhsBvzcyU15HJXZ6S620559qA5dW9h 7Zy9p1bvZGzs5YGi+dTgKFsVaIzWxYVamcAGaiRn0isNjESyL9By5PeXXUcjBFj3 1sJYymmRxkybwZLKxNNWriUjQblv3zAUQtp4vrJAo4= Received: from spaetzbook.sspaeth.de (mtec-hg-docking-1-dhcp-253.ethz.ch [129.132.133.253]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fax@sspaeth.de) by homiemail-a22.g.dreamhost.com (Postfix) with ESMTPSA id C1AB51A805F; Thu, 16 Jun 2011 23:34:59 -0700 (PDT) Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation); Fri, 17 Jun 2011 08:34:57 +0200 From: Sebastian Spaeth To: patricktotzke@gmail.com, notmuch@notmuchmail.org Subject: Re: [python] segfaults at Message.get_date In-Reply-To: <20110616215439.GA26997@brick> References: <20110616215439.GA26997@brick> User-Agent: Notmuch/0.5-233-gb404931 (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Fri, 17 Jun 2011 08:34:56 +0200 Message-ID: <87boxxq833.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: Fri, 17 Jun 2011 06:35:02 -0000 --=-=-= On Thu, 16 Jun 2011 22:54:39 +0100, Patrick Totzke wrote: > Unfortunately, as it segfaults, I don't get a stacktrace here. > The line that seems to cause the segfault is this one: > https://github.com/pazz/notmuch-gui/blob/master/alot/db.py#L181 Just some followup. get_date() calls libnotmuch's: notmuch_message_get_date(...) and expects a "c_long" as result (notmuch.h says it returns time_t, so long should be appropriate, shouldn't it?) I had this segfault on me once, but it was not reproducable. I have no clue what's going on there, especially as it's not reliable reproducable. Sebastian --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk369ZEACgkQVYX1jMgnoGIgWACbBgXyykiS3MTXx6xHxV2+oOBM rGcAnRRMhkwcekLSI8LzUYPxG4QgaBP3 =RZpX -----END PGP SIGNATURE----- --=-=-=--