From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 3A9F1431FD0 for ; Fri, 30 Dec 2011 19:02:43 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] 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 1eJSax1AN+ur for ; Fri, 30 Dec 2011 19:02:42 -0800 (PST) Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 863C9431FB6 for ; Fri, 30 Dec 2011 19:02:42 -0800 (PST) Received: from zancas.localnet (fctnnbsc36w-156034079193.pppoe-dynamic.High-Speed.nb.bellaliant.net [156.34.79.193]) (authenticated bits=0) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id pBV32eD3027501 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Fri, 30 Dec 2011 23:02:40 -0400 Received: from bremner by zancas.localnet with local (Exim 4.77) (envelope-from ) id 1RgpDT-0005ES-RD; Fri, 30 Dec 2011 23:02:39 -0400 From: David Bremner To: Kazuo Teramoto , notmuch@notmuchmail.org Subject: Re: [PATCH 2/2] lib: call g_mime_init from notmuch_database_open In-Reply-To: <1325282290-29565-3-git-send-email-kaz.rag@gmail.com> References: <877h1e6r9d.fsf@zancas.localnet> <1325282290-29565-1-git-send-email-kaz.rag@gmail.com> <1325282290-29565-3-git-send-email-kaz.rag@gmail.com> User-Agent: Notmuch/0.11~rc1+5~g8d34eca (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Fri, 30 Dec 2011 23:02:39 -0400 Message-ID: <87hb0h5tps.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Sat, 31 Dec 2011 03:02:43 -0000 On Fri, 30 Dec 2011 19:58:10 -0200, Kazuo Teramoto wrote: > We need to call g_mime_init to correct initialize the structures needed > by gmime before using it. > --- > lib/database.cc | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) I can confirm this patch (alone) fixes the segfault for me. and doesn't cause in test failures when applied against the release branch. I'm considering pushing it into the 0.11 release. Any comments on that? d