Re: [PATCH v4 09/16] index encrypted parts when asked.
[notmuch-archives.git] / 15 / 17d2ebcb4dd3c9c405657058796b67645775e2
1 Return-Path: <jrollins@finestructure.net>\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 95601431FD0\r
6         for <notmuch@notmuchmail.org>; Sat, 23 Jul 2011 22:51:44 -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: -2.29\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 baNMo-uW03Mj for <notmuch@notmuchmail.org>;\r
16         Sat, 23 Jul 2011 22:51:44 -0700 (PDT)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id 0F0E5431FB6\r
20         for <notmuch@notmuchmail.org>; Sat, 23 Jul 2011 22:51:44 -0700 (PDT)\r
21 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by earth-doxen-postvirus (Postfix) with ESMTP id 83EF266E01FB;\r
23         Sat, 23 Jul 2011 22:51:43 -0700 (PDT)\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
25 Received: from finestructure.net (cpe-98-149-172-122.socal.res.rr.com\r
26         [98.149.172.122]) (Authenticated sender: jrollins)\r
27         by earth-doxen-submit (Postfix) with ESMTP id 670C766E01E9;\r
28         Sat, 23 Jul 2011 22:51:35 -0700 (PDT)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id CD9AF7F4; Sat, 23 Jul 2011 22:51:34 -0700 (PDT)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: Aaron Ecay <aaronecay@gmail.com>, notmuch@notmuchmail.org\r
33 Subject: Re: segfault: g_type_init() missing\r
34 In-Reply-To:\r
35  <CAFcZrT1V-33BgUbrasznk4rAYC-UtiTFu=p=_4=FfUuDWjowLA@mail.gmail.com>\r
36 References:\r
37  <CAFcZrT1V-33BgUbrasznk4rAYC-UtiTFu=p=_4=FfUuDWjowLA@mail.gmail.com>\r
38 User-Agent: Notmuch/0.5-353-gb44d56e (http://notmuchmail.org) Emacs/23.3.1\r
39         (x86_64-pc-linux-gnu)\r
40 Date: Sat, 23 Jul 2011 22:51:32 -0700\r
41 Message-ID: <87ipqsfcpn.fsf@servo.factory.finestructure.net>\r
42 MIME-Version: 1.0\r
43 Content-Type: multipart/signed; boundary="=-=-=";\r
44         micalg=pgp-sha256; protocol="application/pgp-signature"\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 List-Id: "Use and development of the notmuch mail system."\r
49         <notmuch.notmuchmail.org>\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
53 List-Post: <mailto:notmuch@notmuchmail.org>\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
57 X-List-Received-Date: Sun, 24 Jul 2011 05:51:44 -0000\r
58 \r
59 --=-=-=\r
60 \r
61 On Sun, 24 Jul 2011 00:32:39 -0400, Aaron Ecay <aaronecay@gmail.com> wrote:\r
62 > According to the Glib docs\r
63 > (http://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#g-type-init),\r
64 > the g_type_init() function must be called before using any GType\r
65 > stuff, which notmuch_filter_discard_uuencode_new does.  There are no\r
66 > grep hits for g_type_init in the notmuch sources, though.  The code on\r
67 > the error path looks pretty old, so I'm not sure why this bug hasn't\r
68 > hit someone else before.  Adding a call to g_type_init() to main()\r
69 > (right after g_mime_init(0)) fixes the problem.\r
70 \r
71 Hey, Aaron.  Since you've found a suitable fix, would you mind providing\r
72 a patch (from git send-email for instance)?  Simple bug fixes tend to\r
73 get applied fairly quickly if well formatted patches are included.\r
74 Thanks.\r
75 \r
76 jamie.\r
77 \r
78 --=-=-=\r
79 Content-Type: application/pgp-signature\r
80 \r
81 -----BEGIN PGP SIGNATURE-----\r
82 Version: GnuPG v1.4.11 (GNU/Linux)\r
83 \r
84 iQIcBAEBCAAGBQJOK7LkAAoJEO00zqvie6q8T/UP/0W5FN/onZ3qsNiXzkkTj1aq\r
85 pDXRxiQVbSsMKHcp1VCeMrCv4UjbeFhWH8W+pjsPH63DbFxX/4dAfk61fIgXM+dV\r
86 rDz1CNgNRxOdFRrzkMjpCauLNFFv+7KBH8kZxqsqycjkyOGvil8DOSmEsOwIuvH2\r
87 y47OLBQ1CKtlWMt3VNdGnlkCOS4JnZlcVZUC9aO5slXwwhWNrEZvTEUyGBYEB5o9\r
88 HVXCQJtYtZuewLji51CnO/EPX6yPd+6JqmOWtZvoYl0cOxgVx/c2Kccz847ZMOZk\r
89 541CaIhHQplcleUCF95urITO2r8lhNjpCZP7+4/dW5Fc3QL4tf7gRTuMta9V9gj2\r
90 vFnI7TO5yhlOKmFHBuuGIdoxojrvOR5QSfjq7q+4FQZuyEVBM8+COOlV4T01mBmL\r
91 y8fYbpBVXuK1vIX6oXLhp1eyd/m9ChABrguvhYGYY6tksYYuihe/QPuQRhoVGTTa\r
92 IaqbJa1+QOLLih/5PHWwwOUJ0vW7roND4M8DMnvGmXj4x9LR6D9U8zuyuPufKB9t\r
93 P+5O8QK6cPwz5uIqoL2YRJg5z+HgV/gPzA5UmH1VZr/c3rZLbPqZQBRhxX9HdeU1\r
94 F9FKuBvfBw6SatApj/7LGFxe3GaOWnciwd+/6FuSWvtbZI0Q5DbkpVFOhgcFHs3/\r
95 GGA6Hfgha/VP2Br6Z35E\r
96 =WG6I\r
97 -----END PGP SIGNATURE-----\r
98 --=-=-=--\r