Upgraded cyrus 2.5.6: lmtpd segfaults

Stefan G. Weichinger lists at xunil.at
Mon Nov 2 08:06:37 EST 2015

gentoo server here,

yesterday I upgraded cyrus-imapd from 2.4.x to 2.5.6
Alongside I reinstalled glibc, cyrus-sasl, postfix ... and corrected all
the new config options etc in cyrus.conf etc

I now see problems with lmtpd.

# cyrus.conf
lmtpunix	cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0

# /etc/postfix/main.cf
mailbox_transport = lmtp:unix:/var/imap/socket/lmtp

# ls -l /var/imap/socket/lmtp
srwxrwxrwx 1 root root 0 Nov  2 13:04 /var/imap/socket/lmtp

I get segfaults for lmtpd:

Nov 02 14:01:59 postler.lichtfels.com kernel: lmtpd[17148]: segfault at
173e450 ip 00007f09acc141b5 sp 00007ffc379dab30 error 4 in

Nov 02 14:01:59 postler.lichtfels.com master[8091]: process type:SERVICE
name:lmtpunix path:/usr/lib64/cyrus/lmtpd age:0.324s pid:17148 signaled
to death by signal 11 (Segmentation fault)

# dmesg

[12630549.982443] lmtpd[17655]: segfault at 778ba0 ip 00007f5f3a1091b5
sp 00007ffe0dda3470 error 4 in libc-2.21.so[7f5f3a093000+18b000]
[12630550.204617] lmtpd[17671]: segfault at 250f6c0 ip 00007fd6bdc6b1b5
sp 00007fffd49d63a0 error 4 in libc-2.21.so[7fd6bdbf5000+18b000]
[12630550.834193] lmtpd[17678]: segfault at 12056b0 ip 00007f86e19461b5
sp 00007ffe7f076260 error 4 in libc-2.21.so[7f86e18d0000+18b000]
[12630552.372314] show_signal_msg: 5 callbacks suppressed
[12630552.372321] lmtpd[17748]: segfault at 214f050 ip 00007f65586331b5
sp 00007fffbe826030 error 4 in libc-2.21.so[7f65585bd000+18b000]
[12630552.666540] lmtpd[17743]: segfault at 143f150 ip 00007f095d5ea1b5
sp 00007fff5436c9c0 error 4 in libc-2.21.so[7f095d574000+18b000]
[12630552.739760] lmtpd[17769]: segfault at 1e16560 ip 00007fc9abdeb1b5
sp 00007fffa0481150 error 4 in libc-2.21.so[7fc9abd75000+18b000]

could anyone give me a pointer here?

I can't flush mails from the postfix queue, but *some* mail gets through.

maybe this is also relevant:

Nov 02 14:06:12 postler.lichtfels.com master[5188]: unable to
setsocketopt(IP_TOS) service lmtpunix/unix: Operation not supported

Nov 02 14:06:12 postler.lichtfels.com master[5188]: unable to
setsocketopt(IP_TOS) service notify/unix: Operation not supported


More information about the Info-cyrus mailing list