Bizarre error with lmtpd

Simon Matter simon.matter at invoca.ch
Tue Jun 16 12:18:44 EDT 2009


> I'm working on installing Cyrus 2.3.14 and I've run into a weird issue.
> When postfix goes to deliver a message via lmtpunix, I get a segfault:

Please make sure you add this patch before any more debugging:
http://github.com/brong/cyrus-imapd/commit/ec1bfcf6a1db9c86cbf55b9c25d7eb044dbbe51b#diff-0

Regards,
Simon

>
> Jun 12 16:06:30 ssmail lmtpunix[24401]: [ID 921384 local6.debug]
> accepted connection
> Jun 12 16:06:30 ssmail lmtpunix[24401]: [ID 685068 local6.debug] lmtp
> connection preauth'd as postman
> Jun 12 16:06:30 ssmail master[27855]: [ID 970914 local6.error] process
> 24401 exited, signaled to death by 11
> Jun 12 16:06:30 ssmail master[27855]: [ID 621917 local6.debug] service
> lmtpunix pid 24401 in BUSY state: terminated abnormally
>
> But if I rebuild imap with "CFLAGS=-g" then it delivers normally:
>
> Jun 16 10:52:43 ssmail lmtpunix[6838]: [ID 518349 local6.debug] executed
> Jun 16 10:52:43 ssmail lmtpunix[6838]: [ID 921384 local6.debug] accepted
> connection
> Jun 16 10:52:43 ssmail lmtpunix[6838]: [ID 685068 local6.debug] lmtp
> connection preauth'd as postman
> Jun 16 10:52:43 ssmail lmtpunix[6838]: [ID 802986 local6.debug] IOERROR:
> fstating sieve script /var/imap/sieve/d/dbecker/defaultbc: No such file
> or directory
> Jun 16 10:52:43 ssmail lmtpunix[6838]: [ID 100061 local6.debug]
> duplicate_check: <4A37BC0E.5020409 at cpicorp.com>           user.dbecker
>        0
> Jun 16 10:52:44 ssmail last message repeated 1 time
> Jun 16 10:52:44 ssmail lmtpunix[6838]: [ID 964586 local6.info]
> Delivered: <4A37B
> C0E.5020409 at cpicorp.com> to mailbox: user.dbecker
>
> I had turned on the "-g" flag to try and debug the failure. Based on
> output from truss (this is Solaris 10), the segfault was coming when
> lmtpd tried to mmap and access the cyrus.header file for a given user.
> The cyrus.header file was correct, and even after I nuked the
> cyrus.header file and did a reconstruct it still crashed. I've done 4
> builds now, two with "-g" and two without, and the behavior is
> consistent. Ideas?
>
> Thanks,
>
> Derek
>
> --
> ----------------------------------------------------------------------
> Derek Chen-Becker
> Senior Network Engineer, Security Architect
> CPI Corp, Inc.
> 1706 Washington Ave
> St. Louis, MO 63103
> Phone: 314-231-7711 x6455
> Fax:   314-613-6724
> dbecker at cpicorp.com
> PGP Key available from public key servers
> Fingerprint: E4C4 26C0 8588 E80A C29F  636D 1FBE 0FE3 2871 4AE8
> ----------------------------------------------------------------------
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>




More information about the Info-cyrus mailing list