Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2006 14:22:57 GMT
From:      Sebastian Inacker <inacker@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/100024: Port mail/drac coredumps on runtime if compiled for exim (REQ_HASH)
Message-ID:  <200607101422.k6AEMvnM032839@www.freebsd.org>
Resent-Message-ID: <200607101430.k6AEUHjO072086@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100024
>Category:       ports
>Synopsis:       Port mail/drac coredumps on runtime if compiled for exim (REQ_HASH)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 10 14:30:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Sebastian Inacker
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
FreeBSD mailgate2 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon Jun 26 16:09:29 CEST 2006     root@mailgate2:/usr/src/sys/i386/compile/MYKERNEL  i386
>Description:
Port mail/drac coredumps after a short running time, if drac is compiled for exim ('make WITH_EXIM=yes'). (No compile- or install-problem.)

Problem seems to be releated to -DREQ_HASH within mail/drac/work/Makefile, because drac is stable (no segmentation fault at least for long time) with the same configuration, if i remove "-DREQ_HASH" and recompile drac for exim. Unfortunately -DREQ_HASH is needed for exim.

>From /var/log/messages:
Jul 10 15:00:06 mailgate2 kernel: pid 460 (rpc.dracd), uid 0: exited on signal 11 (core dumped)
Jul 10 15:00:48 mailgate2 imapd: dracauth() Error "call failed: RPC: Timed out" for user 10.10.0.41

RAM got exchanged and no signal 11 problems with other software so far. No crash with the same hardware and without "-DREQ_HASH".

Situation is not described in ports/UPDATING.
Severity serious, because drac is needed for smtp-after-pop-authentication.
>How-To-Repeat:
- Exim (mail/exim-mysql) installed.
- mail/courier-imap installed with support for drac ('WITH_DRAC=yes').
- mail/drac installed with support for exim ('WITH_EXIM=yes').

Add to /etc/rc.conf:
  rpcbind_enable="YES"
  rpcbind_flags="-l -s"
  dracd_enable=YES
  dracd_flags="-i -e 1"

start rpcbind, drac and courier-imap.

Fetch mail from imap-server and wait for rpc.dracd to crash.
It's not necessary to send mail via exim to reproduce the crash.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607101422.k6AEMvnM032839>