1 Return-Path: <patricktotzke@googlemail.com>
\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 0BA2A429E29
\r
6 for <notmuch@notmuchmail.org>; Thu, 16 Jun 2011 14:54:47 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=1.976 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, FREEMAIL_REPLYTO=2.775, RCVD_IN_DNSWL_LOW=-0.7]
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id 0RXfPCojskxH for <notmuch@notmuchmail.org>;
\r
18 Thu, 16 Jun 2011 14:54:46 -0700 (PDT)
\r
19 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com
\r
20 [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
21 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
22 538BE431FB6 for <notmuch@notmuchmail.org>; Thu, 16 Jun 2011 14:54:46 -0700
\r
24 Received: by wwi36 with SMTP id 36so1640151wwi.2
\r
25 for <notmuch@notmuchmail.org>; Thu, 16 Jun 2011 14:54:45 -0700 (PDT)
\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
27 d=googlemail.com; s=gamma;
\r
28 h=domainkey-signature:date:from:to:subject:message-id:reply-to
\r
29 :mime-version:content-type:content-disposition:user-agent;
\r
30 bh=woZm98IKLUSRpoSDdZhYXqokvk33nLMyViKaZDGPhYE=;
\r
31 b=Js6wlVZtTRa92dx7pIvg420voyFXuhxfC+loOcHb+wHLriAqp19JG3LuAsbom2U681
\r
32 8aMWgU6NoECcQGa+Yv+R6lCdX4Wl9eqiqfCbQTCt7JjMDEmCX/Fh0AxpeBmlQuFbLVmS
\r
33 1SNl5JItzRd7Dlk5YL9RU89Yo3iHf3qWYKNjg=
\r
34 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma;
\r
35 h=date:from:to:subject:message-id:reply-to:mime-version:content-type
\r
36 :content-disposition:user-agent;
\r
37 b=j2o1w9XPtdQM2o1xBsDBlYjd6D/dMj2dlemawc9fNa3JMCfGxgEI7ezA1jr+SidjtS
\r
38 kMsANSaj1Wug9UeHXdxvTqOEUBzNzyFMYXdRgwVoFWmVEQ8GYPzqYaSNCHkq0I+6Qzlk
\r
39 nsm0yMjVZCNx+Ki5gsCHCDgmBiR3GN8qd3ezE=
\r
40 Received: by 10.217.6.79 with SMTP id x57mr1487751wes.10.1308261284926;
\r
41 Thu, 16 Jun 2011 14:54:44 -0700 (PDT)
\r
42 Received: from brick (cpc1-sgyl2-0-0-cust47.sgyl.cable.virginmedia.com
\r
44 by mx.google.com with ESMTPS id et5sm463084wbb.67.2011.06.16.14.54.42
\r
45 (version=TLSv1/SSLv3 cipher=OTHER);
\r
46 Thu, 16 Jun 2011 14:54:43 -0700 (PDT)
\r
47 Date: Thu, 16 Jun 2011 22:54:39 +0100
\r
48 From: Patrick Totzke <patricktotzke@googlemail.com>
\r
49 To: notmuch@notmuchmail.org
\r
50 Subject: [python] segfaults at Message.get_date
\r
51 Message-ID: <20110616215439.GA26997@brick>
\r
53 Content-Type: multipart/signed; micalg=pgp-sha1;
\r
54 protocol="application/pgp-signature"; boundary="mP3DRpeJDSE+ciuQ"
\r
55 Content-Disposition: inline
\r
56 User-Agent: Mutt/1.5.21 (2010-09-15)
\r
57 X-BeenThere: notmuch@notmuchmail.org
\r
58 X-Mailman-Version: 2.1.13
\r
60 Reply-To: patricktotzke@gmail.com
\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: Thu, 16 Jun 2011 21:54:47 -0000
\r
74 Content-Type: text/plain; charset=us-ascii
\r
75 Content-Disposition: inline
\r
76 Content-Transfer-Encoding: quoted-printable
\r
79 First off: Thanks Sebastian for your recent work on the python bindings.
\r
80 It all makes a little bit more sense now without the __len__ and all.
\r
81 As some of you might have read on the IRC channel, I'm facing really
\r
82 strange behaviour with Message.get_date() which unfortunately,
\r
83 I cannot reproduce reliably: I get it on one machine, not on the other,
\r
84 despite using the same distribution (ubuntu natty - standard python
\r
85 install), and notmuch and bindings from master on both boxes:
\r
87 Unfortunately, as it segfaults, I don't get a stacktrace here.
\r
88 The line that seems to cause the segfault is this one:
\r
89 https://github.com/pazz/notmuch-gui/blob/master/alot/db.py#L181
\r
91 To explain the circumstances in my code:
\r
92 I crete these alot.Message objects by recursively calling
\r
93 notmuch.Message.get_replies at line 153 in the same file.
\r
94 The error occurs only at recursion depth 1, so to reproduce
\r
95 one needs to open a thread with at least one reply.
\r
97 Did anyone experience something similar? It would help if someone=20
\r
98 could try and run my code and report if it works for him/her:
\r
99 git clone https://github.com/pazz/notmuch-gui=20
\r
100 python alot/init.py # to run directly=20
\r
101 open a large enough thread by hitting enter
\r
103 Just to be clear: I don't expect anybody to debug my broken code.
\r
104 I think it might help to report segfaults, as it looks like it is=20
\r
105 a problem with the C-lib or the bindings.
\r
106 Of course, I'd be grateful for any pointers (pun not intended *caught*)
\r
107 or helpful hints to debug this.
\r
114 Content-Type: application/pgp-signature; name="signature.asc"
\r
115 Content-Description: Digital signature
\r
117 -----BEGIN PGP SIGNATURE-----
\r
118 Version: GnuPG v1.4.11 (GNU/Linux)
\r
120 iEUEARECAAYFAk36e58ACgkQlDQDZ9fWxao3CwCdGD/3Q/U1Qf1pgriqRwGFxeF3
\r
121 tnQAl1JLBTJJEZQ2BXhrmnlIriT5ovg=
\r
123 -----END PGP SIGNATURE-----
\r
125 --mP3DRpeJDSE+ciuQ--
\r