From owner-freebsd-stable@FreeBSD.ORG Thu Mar 15 15:37:49 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F3E1816A402 for ; Thu, 15 Mar 2007 15:37:48 +0000 (UTC) (envelope-from mrc@CAC.Washington.EDU) Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by mx1.freebsd.org (Postfix) with ESMTP id D1B0413C455 for ; Thu, 15 Mar 2007 15:37:48 +0000 (UTC) (envelope-from mrc@CAC.Washington.EDU) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l2FFbmG6032119 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 15 Mar 2007 08:37:48 -0700 X-Auth-Received: from pangtzu.panda.com (pangtzu.panda.com [206.124.149.117]) (authenticated authid=mrc) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l2FFbjFB004909 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 15 Mar 2007 08:37:47 -0700 Date: Thu, 15 Mar 2007 08:37:44 -0700 (PDT) From: Mark Crispin Sender: mrc@pangtzu.panda.com To: Willy Offermans In-Reply-To: <20070315105336.GA7589@wiz> Message-ID: References: <20070315105336.GA7589@wiz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=us-ascii X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.3.15.82434 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Cc: imap-use@u.washington.edu, freebsd-stable@FreeBSD.ORG Subject: Re: [Imap-use] imap-uw occasionally crashes X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2007 15:37:49 -0000 On Thu, 15 Mar 2007, Willy Offermans wrote: > imap-uw crashes from time to time on my FreeBSD 6.2 server: > Mar 13 09:51:10 sun kernel: pid 46336 (imapd), uid 1012: exited on signal 6 > Mar 13 09:51:10 sun imapd > Mar 13 09:51:10 sun in free(): > Mar 13 09:51:10 sun error: > Mar 13 09:51:10 sun chunk is already free This is definitely a bug in your copy of UW imapd. However, it is not a bug that I know. That is, it is certainly the case over the 17 year history of UW imapd that there have been heap management bugs (which the bug that you have is), but there are no known bugs of this nature in the current distributed version nor in any previous verion for quite some time. What version are you running? You can get the version from running UW imapd from the shell and see what the greeting banner says (just CTRL/C out once you get the banner). The current UW release version is 2006f, and the current development snapshot is 2006g. Did your copy come directly from UW? If it did not come directly from UW, it may have been modified by third parties. If it is a third-party modified version, the problem may be in those modifications and not in the actual UW code. I recommend that you obtain a copy of UW imapd directly from UW, either: ftp://ftp.cac.washington.edu/mail/imap.tar.Z for the release version, or ftp://ftp.cac.washington.edu/mail/imap-2006g.DEV.tar.Z for the imap-2006g development snapshot. Try to deploy the unmodified current UW version, and see if that addresses your problem. A word of caution: sometimes, third party modifications take the form of incompatible customizations that they don't tell you about. So, when you try the unmodified version, it won't work because of a dependency on one of the customizations. If you find that this happens when you try to run the unmodified UW version, let me know (you can email me directly, no need to bother the list) and I'll help you get it going. -- Mark -- http://panda.com/mrc Democracy is two wolves and a sheep deciding what to eat for lunch. Liberty is a well-armed sheep contesting the vote.