Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id A313D431FD0 for ; Fri, 30 Dec 2011 20:37:56 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 tkETmh3hwblz for ; Fri, 30 Dec 2011 20:37:56 -0800 (PST) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.216.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 1C21E431FB6 for ; Fri, 30 Dec 2011 20:37:56 -0800 (PST) Received: by qcha6 with SMTP id a6so11114857qch.26 for ; Fri, 30 Dec 2011 20:37:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=x4oSS2KqqqjwIk2JG3uqvZ0tg+QIpANEQnAYeiFzNWo=; b=r1aPkFRK95waQRRoNGSjRWS2+t1QV2ZhCughuFuyI94PKodeBD9vwMykkKHV40Cx0t lPf7UlIkmBjwdwjWSb4cTcaLfyeOez8eeRhnfgVlUR/kipgI70/PKCW19J62Cckd2TDb upjsYoDEVlSJ0sDIxkHjlEyL2ZFKA3ult/nDk= Received: by 10.229.78.143 with SMTP id l15mr15372170qck.84.1325306275321; Fri, 30 Dec 2011 20:37:55 -0800 (PST) Received: from localhost.localdomain (201-1-35-143.dsl.telesp.net.br. [201.1.35.143]) by mx.google.com with ESMTPS id r10sm76863833qaz.7.2011.12.30.20.37.53 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 30 Dec 2011 20:37:54 -0800 (PST) From: Kazuo Teramoto To: david@tethera.net, notmuch@notmuchmail.org Subject: [PATCH] lib: call g_mime_init() from notmuch_database_open() Date: Sat, 31 Dec 2011 02:37:40 -0200 Message-Id: <1325306261-21444-1-git-send-email-kaz.rag@gmail.com> X-Mailer: git-send-email 1.7.8.1 In-Reply-To: <87hb0h5tps.fsf@zancas.localnet> References: <87hb0h5tps.fsf@zancas.localnet> 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 04:37:56 -0000 I'm resending the PATCH 2/2 as a standalone, leaving the matter of removing the checks for the future. I added a more detailed commit too. This is the only patch needed to fix the segfault I reported. Kazuo Teramoto (1): lib: call g_mime_init() from notmuch_database_open() lib/database.cc | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) -- 1.7.8.1