From owner-freebsd-i386@FreeBSD.ORG Mon Dec 7 18:00:18 2009 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A92F1065670 for ; Mon, 7 Dec 2009 18:00:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BC99B8FC0C for ; Mon, 7 Dec 2009 18:00:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nB7I0FPr027556 for ; Mon, 7 Dec 2009 18:00:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nB7I0FWW027555; Mon, 7 Dec 2009 18:00:15 GMT (envelope-from gnats) Resent-Date: Mon, 7 Dec 2009 18:00:15 GMT Resent-Message-Id: <200912071800.nB7I0FWW027555@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, William Olson Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14DD3106568F for ; Mon, 7 Dec 2009 17:58:31 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id DE8038FC1C for ; Mon, 7 Dec 2009 17:58:30 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nB7HwUYU036914 for ; Mon, 7 Dec 2009 17:58:30 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nB7HwUWd036913; Mon, 7 Dec 2009 17:58:30 GMT (envelope-from nobody) Message-Id: <200912071758.nB7HwUWd036913@www.freebsd.org> Date: Mon, 7 Dec 2009 17:58:30 GMT From: William Olson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: i386/141251: Segmentation Fault (core dump) on vdelivermail X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2009 18:00:18 -0000 >Number: 141251 >Category: i386 >Synopsis: Segmentation Fault (core dump) on vdelivermail >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 07 18:00:15 UTC 2009 >Closed-Date: >Last-Modified: >Originator: William Olson >Release: 7.2-STABLE >Organization: Nelson and Wright, Inc. >Environment: FreeBSD cw-melb-02.siz.com.au 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Jun 20 10:09:11 EST 2009 wolson@cw-melb-02.siz.com.au:/usr/obj/usr/src/sys/GENERIC i386 >Description: I did a portupgrade from vpopmail 5.4.27 to 5.4.28 and the next day in my security reports I was seeing multiple core dumps of vdelivermail like so: cw-melb-02.siz.com.au kernel log messages: +++ /tmp/security.vxyq3ILQ 2009-12-06 03:04:44.000000000 +1100 +pid 86745 (vdelivermail), uid 1003: exited on signal 11 (core dumped) +pid 86776 (vdelivermail), uid 1003: exited on signal 11 (core dumped) +pid 86810 (vdelivermail), uid 1003: exited on signal 11 (core dumped) +pid 86835 (vdelivermail), uid 1003: exited on signal 11 (core dumped) The same thing continues on and on within the report. I did some minor troubleshooting and when investigating the qmail-send logs I would see this multiple times: 2009-12-05 18:57:49.800479500 delivery 161995: deferral: client_connect:_warning:_config_begin_failed/Segmentation_fault_(core_dumped)/ I uninstalled and reinstalled vpopmail with the following commands: # cd /usr/ports/mail/vpopmail # make CONFIGURE_ARGS="--enable-logging=p --enable-onchange-script" # make install clean and I was still getting the error. I tried it without the --enable-onchange-script and even just a plain make install clean on the vpopmail port. I did about an hours worth of troubleshooting and decided to portdowngrade to 5.4.27. Once I did this, My mail deliveries started working again and my queue was dropping. >How-To-Repeat: Install vpopmail accoring to this guide: http://freebsdrocks.net/index.php?option=com_content&task=view&id=74&Itemid=25 Or if you don't have qmail installed, you would need to start at the beginning of the guide: http://freebsdrocks.net/index.php?option=com_content&task=view&id=19&Itemid=25 >Fix: I could not fix it. I had to downgrade to vpopmail 5.4.27 until this fix is addressed. >Release-Note: >Audit-Trail: >Unformatted: