From owner-freebsd-questions@FreeBSD.ORG Wed Jul 12 11:53:17 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BDC116A4E2 for ; Wed, 12 Jul 2006 11:53:17 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.t-hosting.hu (server.t-hosting.hu [217.20.133.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2354B43D66 for ; Wed, 12 Jul 2006 11:53:12 +0000 (GMT) (envelope-from gabor@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id 5B7EC99AA05; Wed, 12 Jul 2006 13:53:00 +0200 (CEST) X-Virus-Scanned: amavisd-new at t-hosting.hu Received: from server.t-hosting.hu ([127.0.0.1]) by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ARs13NVKIo3w; Wed, 12 Jul 2006 13:52:54 +0200 (CEST) Received: from [192.168.2.186] (catv-50635cb6.catv.broadband.hu [80.99.92.182]) by server.t-hosting.hu (Postfix) with ESMTP id 87AF799A9D5; Wed, 12 Jul 2006 13:52:54 +0200 (CEST) Message-ID: <44B4E28E.1030107@FreeBSD.org> Date: Wed, 12 Jul 2006 13:52:46 +0200 From: =?ISO-8859-1?Q?G=E1bor_K=F6vesd=E1n?= User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Jaime References: <6C87A72D-B79C-4B07-B14D-713A16564428@snowmoon.com> In-Reply-To: <6C87A72D-B79C-4B07-B14D-713A16564428@snowmoon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: IMAP crashing on message move X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gabor@t-hosting.hu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 11:53:17 -0000 Jaime wrote: > When trying to move a message from my INBOX folder to another > folder, I usually (4 out of 5?) find that the imapd process has > crashed. SquirrelMail is nice enough to tell me this: > > ERROR: Connection dropped by IMAP server. > Query: COPY 18238,18255 "mail/Trash" > > Looking in /var/log/messages, I find lines like this: > > Jul 11 21:28:47 atlas kernel: pid 81702 (imapd), uid 1001: exited on > signal 11 > > This is using FreeBSD 6.1-Stable built from sources a few days ago > and the ports for imap-uw, cclient, squirrelmail, php5-imap, etc. > built from ports updated yesterday afternoon. I've seen the above > error in /var/log/messages for a few other UIDs, too. So I know its > not just me. > > This is a new server. The old server was working OK with these > same files in /home (I moved the data over using a tar czpf > archive.tar.gz -C /home . command.) and FreeBSD 5.x and imap-uw, et. > al. built from ports as well. The most significant change that I can > find is the move from php4 to php5, but that shouldn't cause the imapd > process to fail, right? > > Any thoughts, tips, advice, etc. is greatly appreciated. > > Jaime Are you using any CFLAGS in /etc/make.conf? Signal 11 is SIGSEGV aka segmentation violation, which is often caused by unsupported optimization flags. Btw, do you use the stock compiler or something from ports? I suggest you to rebuild everything related with stock compiler and without any CFLAGS set. You can do this comfortably with portupgrade -f. Regards, Gabor