From 832bb8fdf5cfd252b41365f1ec3cfa2dfe6ee030 Mon Sep 17 00:00:00 2001 From: Patrick Totzke Date: Wed, 21 Mar 2012 08:57:29 +0000 Subject: [PATCH] Re: [RFC] Split notmuch_database_close into two functions --- e2/92f7b530f08b7b9898a20c7e185f40d318bdc5 | 74 +++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 e2/92f7b530f08b7b9898a20c7e185f40d318bdc5 diff --git a/e2/92f7b530f08b7b9898a20c7e185f40d318bdc5 b/e2/92f7b530f08b7b9898a20c7e185f40d318bdc5 new file mode 100644 index 000000000..75eae9bac --- /dev/null +++ b/e2/92f7b530f08b7b9898a20c7e185f40d318bdc5 @@ -0,0 +1,74 @@ +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 3EB90431FAF + for ; Wed, 21 Mar 2012 01:57:38 -0700 (PDT) +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 eA0N2Qc-4PgJ for ; + Wed, 21 Mar 2012 01:57:36 -0700 (PDT) +Received: from mail-we0-f181.google.com (mail-we0-f181.google.com + [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id EA156431FAE + for ; Wed, 21 Mar 2012 01:57:35 -0700 (PDT) +Received: by werm13 with SMTP id m13so850982wer.26 + for ; Wed, 21 Mar 2012 01:57:33 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=googlemail.com; s=20120113; + h=content-type:mime-version:content-transfer-encoding:from:user-agent + :to:references:in-reply-to:message-id:subject:date; + bh=biaxMz+os2WKxcztbFhIDz8MjpCYN+wGw1WgJ2pmkIU=; + b=a1e4SXZ54T20CUPVjBiwp6kfiK91Ph3k2tUoy/JDIlgUiBiC9Jr0S9RlEMd28xfZhO + fgztbsWDOcLihkkemcaY8L75PKrreDmyr8M5yYbJuxz+Fyt0baId8X8woIUjC0mj7T+9 + KRPgJrBPeViO4wfG6EQfwnFo084z/r7T8R8OuVlJ7qwYkGUxdpIODREACVQAaC5CS2ev + WTEyd2cN32Mt73XOqV7dgXjbX4/10BKkw0qU4h1QNJAQ9PZLmya5iYkPW6HaQQ0W+coy + ES+Xv/rdJ+7Z8zuhP1/33PCVS3DwtjR7sSVFPJbT0XYLu/RxeRrO+hY0X+axro01JE/M + ne/w== +Received: by 10.216.132.6 with SMTP id n6mr1884769wei.26.1332320253136; + Wed, 21 Mar 2012 01:57:33 -0700 (PDT) +Received: from localhost (cpc1-sgyl2-0-0-cust548.18-2.cable.virginmedia.com. + [82.41.10.37]) + by mx.google.com with ESMTPS id ff9sm2968834wib.2.2012.03.21.01.57.30 + (version=TLSv1/SSLv3 cipher=OTHER); + Wed, 21 Mar 2012 01:57:31 -0700 (PDT) +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: quoted-printable +From: Patrick Totzke +User-Agent: alot/0.3 +To: Justus Winter <4winter@informatik.uni-hamburg.de>, notmuch@notmuchmail.org +References: + <1332291311-28954-1-git-send-email-4winter@informatik.uni-hamburg.de> +In-Reply-To: + <1332291311-28954-1-git-send-email-4winter@informatik.uni-hamburg.de> +Message-ID: <20120321085729.27322.11894@brick.lan> +Subject: Re: [RFC] Split notmuch_database_close into two functions +Date: Wed, 21 Mar 2012 08:57:29 +0000 +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: Wed, 21 Mar 2012 08:57:38 -0000 + +Hi all, + +I can confirm that this fixes a rather nasty core dump in a branch of alot +that closes and re-opens the database more frequently. +/p -- 2.26.2