Re: Hi all
[notmuch-archives.git] / 43 / 219e8f9c6e645239c2a763a6e8da82b71a9a12
1 Return-Path: <Sebastian@SSpaeth.de>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id A4CA5429E29\r
6         for <notmuch@notmuchmail.org>; Thu, 16 Jun 2011 23:35:02 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.09\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         RCVD_IN_DNSWL_NONE=-0.0001, T_MIME_NO_TEXT=0.01] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id vBnDsX2NQ9zR for <notmuch@notmuchmail.org>;\r
17         Thu, 16 Jun 2011 23:35:02 -0700 (PDT)\r
18 Received: from homiemail-a22.g.dreamhost.com (caiajhbdcahe.dreamhost.com\r
19         [208.97.132.74])\r
20         by olra.theworths.org (Postfix) with ESMTP id E9D08431FB6\r
21         for <notmuch@notmuchmail.org>; Thu, 16 Jun 2011 23:35:01 -0700 (PDT)\r
22 Received: from homiemail-a22.g.dreamhost.com (localhost [127.0.0.1])\r
23         by homiemail-a22.g.dreamhost.com (Postfix) with ESMTP id 50F5D1A8061;\r
24         Thu, 16 Jun 2011 23:35:01 -0700 (PDT)\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:subject\r
26         :in-reply-to:references:date:message-id:mime-version:\r
27         content-type; q=dns; s=sspaeth.de; b=Q1WNnz7UFq2NtglFX2PNLf61Rgo\r
28         OOzzxtYE90IHcdlAbMj7vBJPY4nsiXiRG3de2QeOzv6VTiLF9uLFZq3mV3S3p89g\r
29         DoasI/Jd3R14UjJUt1OmX/GyExqYOZbu3EUT6aiI1UeY+U+1YV06YOM0EJaGys9k\r
30         k+5VM0so5fA0nVG4=\r
31 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to\r
32         :subject:in-reply-to:references:date:message-id:mime-version:\r
33         content-type; s=sspaeth.de; bh=wd3MJkpFDAapIZcCIc/Z3ESdxVA=; b=E\r
34         P8TWXNADbnrk1l5kas1TD2phknbMAruMpNYhsBvzcyU15HJXZ6S620559qA5dW9h\r
35         7Zy9p1bvZGzs5YGi+dTgKFsVaIzWxYVamcAGaiRn0isNjESyL9By5PeXXUcjBFj3\r
36         1sJYymmRxkybwZLKxNNWriUjQblv3zAUQtp4vrJAo4=\r
37 Received: from spaetzbook.sspaeth.de (mtec-hg-docking-1-dhcp-253.ethz.ch\r
38         [129.132.133.253])\r
39         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
40         (No client certificate requested)\r
41         (Authenticated sender: fax@sspaeth.de)\r
42         by homiemail-a22.g.dreamhost.com (Postfix) with ESMTPSA id C1AB51A805F; \r
43         Thu, 16 Jun 2011 23:34:59 -0700 (PDT)\r
44 Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation);\r
45         Fri, 17 Jun 2011 08:34:57 +0200\r
46 From: Sebastian Spaeth <Sebastian@SSpaeth.de>\r
47 To: patricktotzke@gmail.com, notmuch@notmuchmail.org\r
48 Subject: Re: [python] segfaults at Message.get_date\r
49 In-Reply-To: <20110616215439.GA26997@brick>\r
50 References: <20110616215439.GA26997@brick>\r
51 User-Agent: Notmuch/0.5-233-gb404931 (http://notmuchmail.org) Emacs/23.2.1\r
52         (x86_64-pc-linux-gnu)\r
53 Date: Fri, 17 Jun 2011 08:34:56 +0200\r
54 Message-ID: <87boxxq833.fsf@SSpaeth.de>\r
55 MIME-Version: 1.0\r
56 Content-Type: multipart/signed; boundary="=-=-=";\r
57         micalg=pgp-sha1; protocol="application/pgp-signature"\r
58 X-BeenThere: notmuch@notmuchmail.org\r
59 X-Mailman-Version: 2.1.13\r
60 Precedence: list\r
61 List-Id: "Use and development of the notmuch mail system."\r
62         <notmuch.notmuchmail.org>\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
64         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
66 List-Post: <mailto:notmuch@notmuchmail.org>\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
69         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
70 X-List-Received-Date: Fri, 17 Jun 2011 06:35:02 -0000\r
71 \r
72 --=-=-=\r
73 \r
74 On Thu, 16 Jun 2011 22:54:39 +0100, Patrick Totzke wrote:\r
75 > Unfortunately, as it segfaults, I don't get a stacktrace here.\r
76 > The line that seems to cause the segfault is this one:\r
77 > https://github.com/pazz/notmuch-gui/blob/master/alot/db.py#L181\r
78 \r
79 Just some followup. get_date() calls libnotmuch's:\r
80 \r
81 notmuch_message_get_date(...)\r
82 \r
83 and expects a "c_long" as result (notmuch.h says it returns time_t, so\r
84 long should be appropriate, shouldn't it?)\r
85 \r
86 I had this segfault on me once, but it was not reproducable.\r
87 \r
88 I have no clue what's going on there, especially as it's not reliable reproducable.\r
89 Sebastian\r
90 \r
91 --=-=-=\r
92 Content-Type: application/pgp-signature\r
93 \r
94 -----BEGIN PGP SIGNATURE-----\r
95 Version: GnuPG v1.4.11 (GNU/Linux)\r
96 \r
97 iEYEARECAAYFAk369ZEACgkQVYX1jMgnoGIgWACbBgXyykiS3MTXx6xHxV2+oOBM\r
98 rGcAnRRMhkwcekLSI8LzUYPxG4QgaBP3\r
99 =RZpX\r
100 -----END PGP SIGNATURE-----\r
101 --=-=-=--\r