[PATCH 08/11] cli: add thread recipients to search output
[notmuch-archives.git] / 47 / b4b1c7ee46bdac40ccc906a127c69c58b34805
1 Return-Path: <bremner@unb.ca>\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 B816F429E25\r
6         for <notmuch@notmuchmail.org>; Sun,  4 Dec 2011 10:14:13 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id BBYha359LoSb for <notmuch@notmuchmail.org>;\r
16         Sun,  4 Dec 2011 10:14:13 -0800 (PST)\r
17 Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 0B8A2429E21\r
21         for <notmuch@notmuchmail.org>; Sun,  4 Dec 2011 10:14:12 -0800 (PST)\r
22 Received: from zancas.localnet\r
23         (fctnnbsc36w-156034079193.pppoe-dynamic.High-Speed.nb.bellaliant.net\r
24         [156.34.79.193]) (authenticated bits=0)\r
25         by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id pB4IEAWJ018177\r
26         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO);\r
27         Sun, 4 Dec 2011 14:14:11 -0400\r
28 Received: from bremner by zancas.localnet with local (Exim 4.77)\r
29         (envelope-from <bremner@unb.ca>)\r
30         id 1RXGZm-0003mF-BO; Sun, 04 Dec 2011 14:14:10 -0400\r
31 From: David Bremner <david@tethera.net>\r
32 To: Kazuo Teramoto <kaz.rag@gmail.com>, notmuch@notmuchmail.org\r
33 Subject: Re: notmuch seg. fault on _thread_add_message\r
34 In-Reply-To: <20111204173539.GA4411@sophie>\r
35 References: <20111204173539.GA4411@sophie>\r
36 User-Agent: Notmuch/0.10 (http://notmuchmail.org) Emacs/23.3.1\r
37         (x86_64-pc-linux-gnu)\r
38 Date: Sun, 04 Dec 2011 14:14:10 -0400\r
39 Message-ID: <87r50kurv1.fsf@zancas.localnet>\r
40 MIME-Version: 1.0\r
41 Content-Type: text/plain; charset=us-ascii\r
42 X-BeenThere: notmuch@notmuchmail.org\r
43 X-Mailman-Version: 2.1.13\r
44 Precedence: list\r
45 List-Id: "Use and development of the notmuch mail system."\r
46         <notmuch.notmuchmail.org>\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
50 List-Post: <mailto:notmuch@notmuchmail.org>\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
54 X-List-Received-Date: Sun, 04 Dec 2011 18:14:13 -0000\r
55 \r
56 On Sun, 4 Dec 2011 15:35:39 -0200, Kazuo Teramoto <kaz.rag@gmail.com> wrote:\r
57 > Hi!\r
58\r
59 > Following an alot bug report [1] I created a small python script that\r
60 > causes a segmentation fault in notmuch:\r
61 > ========================================================================\r
62 > #!/usr/bin/env python2\r
63 > import notmuch\r
64 > db = notmuch.Database(mode=notmuch.Database.MODE.READ_WRITE)\r
65 > q_new = notmuch.Query(db, 'tag:inbox')\r
66 > for t in q_new.search_threads():\r
67 >     pass\r
68 > ========================================================================\r
69 \r
70 As I mentioned previously, I suspect the message below should be fixed;\r
71 whether or not it fixes your bug I don't know. I'm not sure where\r
72 exactly g_type_init would/should be called in the library; there isn't\r
73 currently a global initialization call for libnotmuch. Perhaps there\r
74 should be?\r
75 \r
76\r
77 > (process:16579): GLib-GObject-CRITICAL **: gtype.c:2715: You forgot to call g_type_init()\r
78\r