lmtpd segfaults after update to 2.4.19, seems it wants to act as proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm resending this with new subject and one again attached the straces of
a delivery with 2.4.18 and 2.4.19.

>>> I've just updated our cyrus-imapd rpms from 2.4.18 -> 2.4.19. All
seems well with just some small changes to the build.
>>>
>>> However, I just can't get it to work: lmtpd segfaults on mail delivery.
>>>
>>> The logs show something like this:
>>> May 17 14:21:42 mh1 kernel: lmtpd[7433]: segfault at 5ebc24d7 ip
00007f216292973b sp 00007ffe5ebc1f58 error 4 in
>>> lmtpd[7f21628c1000+169000]
>>> May 17 14:21:42 mh1 master[7423]: process 7433 exited, signaled to death
>>> by 11
>>>
>>> First I've rebuilt without some of the custom patches in the package like
>>> the autocreate patches. But without a change.
>>>
>>> I've then straced an lmtpd during mail delivery, once with 2.4.18 and
once
>>> with 2.4.19 in the hope to find something. The traces are attached.
>>>
>>> I see that there were quite some change concerning lmtp, does anyone
of the developers have an idea where the problem in lmtpd changes
could be?
>>
>> It turns out that lmtpd wants to act as proxy, because only then it
creates the spoolfile in /tmp/. But why?
>> Regards,
>> Simon
>>
>
> Are you running a murder setup? Can you produce a coredump and brovide a
backtrace with symbols loaded?

Hi,

I did two things meanwhile:

1) Built a completely vanilla cyrus-imapd-2.4.19 without any patches to
make sure it's not anything wrong with additional patches. The crash was
the same.

2) Ran the normal build with an unstripped "lmtpd" binary and produced
core and backtrace. So below:

Core was generated by `lmtpd'.
Program terminated with signal 11, Segmentation fault.
#0  strlcpy (dst=0x7ffaa64e00d0 "", src=0x5d73c6c7 <Address 0x5d73c6c7 out
of bounds>, len=1024) at xstrlcpy.c:65
65		if ((dst[n] = src[n]) == '\0') break;
Missing separate debuginfos, use: debuginfo-install
cyrus-sasl-gssapi-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-md5-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-plain-2.1.23-15.el6_6.2.x86_64 db4-4.7.25-22.el6.x86_64
glibc-2.12-1.209.el6_9.1.x86_64 keyutils-libs-1.4-5.el6.x86_64
krb5-libs-1.10.3-65.el6.x86_64 libcom_err-1.41.12-23.el6.x86_64
libselinux-2.0.94-7.el6.x86_64 nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64
openssl-1.0.1e-57.el6.x86_64 pcre-7.8-7.el6.x86_64
tcp_wrappers-libs-7.6-58.el6.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt
#0  strlcpy (dst=0x7ffaa64e00d0 "", src=0x5d73c6c7 <Address 0x5d73c6c7 out
of bounds>, len=1024) at xstrlcpy.c:65
#1  0x00007ffaa5150c2e in proxy_adddest (dlist=0x7ffc5d73c288,
rcpt=0x7ffaa64d26d0 "simix@xxxxxxxxxxxxxxxxxxxxxx", rcpt_num=0,
server=0x5d73c6c7 <Address 0x5d73c6c7 out of bounds>, authas=0x0) at
proxy.c:81
#2  0x00007ffaa514fbae in deliver (msgdata=0x7ffaa64d0950, authuser=0x0,
authstate=0x7ffc5d73c280) at lmtpd.c:749
#3  0x00007ffaa5152f41 in lmtpmode (func=0x7ffaa54b0020, pin=<value
optimized out>, pout=0x7ffaa64cf850, fd=<value optimized out>) at
lmtpengine.c:1325
#4  0x00007ffaa514f4ec in service_main (argc=1, argv=0x7ffaa64c9010,
envp=<value optimized out>) at lmtpd.c:282
#5  0x00007ffaa514dd95 in main (argc=<value optimized out>, argv=<value
optimized out>, envp=0x7ffc5d740718) at service.c:585


The imapd.conf used for the test was:
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN
tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt
sieve_maxscriptsize: 128
allowplaintext: 1
delete_mode: delayed
expunge_mode: delayed
flushseenstate: 1
lmtp_strict_rfc2821: 0
mboxname_lockpath: {configdirectory}/volatile/lock
proc_path: {configdirectory}/volatile/proc
statuscache_db_path: {configdirectory}/volatile/statuscache.db
tlscache_db_path: {configdirectory}/volatile/tls_sessions.db

Any help would be much appreaciated!

Regards,
Simon
Process 2830 attached
accept(4, 0, NULL)                      = 11
fcntl(10, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0)                                = 0
getpeername(11, {sa_family=AF_LOCAL, NULL}, [2]) = 0
write(3, "\2\0\0\0\16\v\0\0", 8)        = 8
dup2(11, 0)                             = 0
dup2(11, 1)                             = 1
dup2(11, 2)                             = 2
close(11)                               = 0
write(3, "\3\0\0\0\16\v\0\0", 8)        = 8
getpeername(0, {sa_family=AF_LOCAL, NULL}, [2]) = 0
open("/var/lib/imap/log/postman/lmtpunix-2830", O_WRONLY|O_CREAT|O_APPEND, 0644) = -1 ENOENT (No such file or directory)
select(1, [0], NULL, NULL, {0, 0})      = 0 (Timeout)
write(1, "220 mh1.bi.corp.testmh.ch Cyrus "..., 83) = 83
select(1, [0], NULL, NULL, {360, 0})    = 1 (in [0], left {359, 999997})
read(0, "LHLO mh1.bi.corp.testmh.ch\r\n", 4096) = 28
select(1, [0], NULL, NULL, {0, 0})      = 0 (Timeout)
write(1, "250-mh1.bi.corp.testmh.ch\r\n250-8"..., 128) = 128
select(1, [0], NULL, NULL, {360, 0})    = 1 (in [0], left {359, 999997})
read(0, "MAIL FROM:<mh1@xxxxxxxxx> SIZE=2"..., 4096) = 83
open("/var/lib/imap/msg/shutdown", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/lib/imap/msg/shutdown", O_RDONLY) = -1 ENOENT (No such file or directory)
fcntl(6, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(6, {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
stat("/var/lib/imap/mailboxes.db", {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
open("/var/lib/imap/volatile/lock/s/user/user1.lock", O_RDWR|O_CREAT|O_TRUNC, 0666) = 11
fcntl(11, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fcntl(6, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(6, {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
stat("/var/lib/imap/mailboxes.db", {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
open("/var/spool/imap/s/user/user1/cyrus.index", O_RDWR) = 12
fstat(12, {st_mode=S_IFREG|0600, st_size=12128, ...}) = 0
mmap(NULL, 24576, PROT_READ, MAP_SHARED, 12, 0) = 0x7fdfb6f3d000
fcntl(12, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
stat("/var/spool/imap/s/user/user1/cyrus.header", {st_mode=S_IFREG|0600, st_size=234, ...}) = 0
open("/var/spool/imap/s/user/user1/cyrus.header", O_RDONLY) = 13
fstat(13, {st_mode=S_IFREG|0600, st_size=234, ...}) = 0
mmap(NULL, 234, PROT_READ, MAP_SHARED, 13, 0) = 0x7fdfb6f86000
munmap(0x7fdfb6f86000, 234)             = 0
open("/var/lib/imap/quota/s/user.user1", O_RDWR) = 14
fstat(14, {st_mode=S_IFREG|0600, st_size=20, ...}) = 0
mmap(NULL, 20, PROT_READ, MAP_SHARED, 14, 0) = 0x7fdfb6f86000
munmap(0x7fdfb6f86000, 20)              = 0
close(14)                               = 0
fcntl(12, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
close(13)                               = 0
close(12)                               = 0
munmap(0x7fdfb6f3d000, 24576)           = 0
close(11)                               = 0
open("/var/lib/imap/msg/shutdown", O_RDONLY) = -1 ENOENT (No such file or directory)
fcntl(6, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(6, {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
stat("/var/lib/imap/mailboxes.db", {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
fcntl(6, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(6, {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
stat("/var/lib/imap/mailboxes.db", {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
unlink("/var/spool/imap/stage./2830-1495029718-0") = -1 ENOENT (No such file or directory)
open("/var/spool/imap/stage./2830-1495029718-0", O_RDWR|O_CREAT|O_TRUNC, 0666) = 11
fstat(11, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdfb6f86000
open("/etc/localtime", O_RDONLY)        = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
fstat(12, {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdfb6f85000
read(12, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 1892
lseek(12, -1217, SEEK_CUR)              = 675
read(12, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0\0\0\0"..., 4096) = 1217
close(12)                               = 0
munmap(0x7fdfb6f85000, 4096)            = 0
select(1, [0], NULL, NULL, {0, 0})      = 0 (Timeout)
write(1, "250 2.1.0 ok\r\n250 2.1.5 ok\r\n354 "..., 42) = 42
select(1, [0], NULL, NULL, {360, 0})    = 1 (in [0], left {359, 999997})
read(0, "Received: from ns1.testmh.ch (mx"..., 4096) = 2764
write(11, "Return-Path: <mh1@xxxxxxxxx>\r\nRe"..., 2978) = 2978
fstat(11, {st_mode=S_IFREG|0600, st_size=2978, ...}) = 0
fcntl(6, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(6, {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
stat("/var/lib/imap/mailboxes.db", {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
stat("/var/lib/imap/sieve/s/user1/defaultbc", {st_mode=S_IFREG|0600, st_size=10240, ...}) = 0
open("/var/lib/imap/sieve/s/user1/defaultbc", O_RDONLY) = 12
fstat(12, {st_mode=S_IFREG|0600, st_size=10240, ...}) = 0
mmap(NULL, 10240, PROT_READ, MAP_SHARED, 12, 0) = 0x7fdfb6f40000
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 13
connect(13, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(13)                               = 0
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 13
connect(13, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(13)                               = 0
open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 13
fstat(13, {st_mode=S_IFREG|0644, st_size=1688, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdfb6f85000
read(13, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1688
read(13, "", 4096)                      = 0
close(13)                               = 0
munmap(0x7fdfb6f85000, 4096)            = 0
open("/etc/ld.so.cache", O_RDONLY)      = 13
fstat(13, {st_mode=S_IFREG|0644, st_size=44317, ...}) = 0
mmap(NULL, 44317, PROT_READ, MAP_PRIVATE, 13, 0) = 0x7fdfb6f35000
close(13)                               = 0
open("/lib64/libnss_files.so.2", O_RDONLY) = 13
read(13, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360!\0\0\0\0\0\0"..., 832) = 832
fstat(13, {st_mode=S_IFREG|0755, st_size=66432, ...}) = 0
mmap(NULL, 2151824, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 13, 0) = 0x7fdfb2959000
mprotect(0x7fdfb2966000, 2093056, PROT_NONE) = 0
mmap(0x7fdfb2b65000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 13, 0xc000) = 0x7fdfb2b65000
close(13)                               = 0
mprotect(0x7fdfb2b65000, 4096, PROT_READ) = 0
munmap(0x7fdfb6f35000, 44317)           = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 13
fcntl(13, F_GETFD)                      = 0x1 (flags FD_CLOEXEC)
fstat(13, {st_mode=S_IFREG|0644, st_size=2100, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdfb6f85000
read(13, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 2100
close(13)                               = 0
munmap(0x7fdfb6f85000, 4096)            = 0
open("/var/lib/imap/group.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 13
connect(13, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(13)                               = 0
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 13
connect(13, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(13)                               = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 13
fstat(13, {st_mode=S_IFREG|0644, st_size=916, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdfb6f85000
lseek(13, 0, SEEK_CUR)                  = 0
read(13, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 916
read(13, "", 4096)                      = 0
close(13)                               = 0
munmap(0x7fdfb6f85000, 4096)            = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 13
fstat(13, {st_mode=S_IFREG|0644, st_size=916, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdfb6f85000
read(13, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 916
close(13)                               = 0
munmap(0x7fdfb6f85000, 4096)            = 0
open("/var/lib/imap/volatile/lock/s/user/user1/System/_testmh/_corp/_bi/mh1.lock", O_RDWR|O_CREAT|O_TRUNC, 0666) = 13
fcntl(13, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fcntl(6, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(6, {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
stat("/var/lib/imap/mailboxes.db", {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
open("/var/spool/imap/s/user/user1/System/_testmh/_corp/_bi/mh1/cyrus.index", O_RDWR) = 14
fstat(14, {st_mode=S_IFREG|0600, st_size=1157600, ...}) = 0
mmap(NULL, 1171456, PROT_READ, MAP_SHARED, 14, 0) = 0x7fdfb6e22000
fcntl(14, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
stat("/var/spool/imap/s/user/user1/System/_testmh/_corp/_bi/mh1/cyrus.header", {st_mode=S_IFREG|0600, st_size=169, ...}) = 0
open("/var/spool/imap/s/user/user1/System/_testmh/_corp/_bi/mh1/cyrus.header", O_RDONLY) = 15
fstat(15, {st_mode=S_IFREG|0600, st_size=169, ...}) = 0
mmap(NULL, 169, PROT_READ, MAP_SHARED, 15, 0) = 0x7fdfb6f85000
munmap(0x7fdfb6f85000, 169)             = 0
open("/var/lib/imap/quota/s/user.user1", O_RDWR) = 16
fstat(16, {st_mode=S_IFREG|0600, st_size=20, ...}) = 0
mmap(NULL, 20, PROT_READ, MAP_SHARED, 16, 0) = 0x7fdfb6f85000
munmap(0x7fdfb6f85000, 20)              = 0
close(16)                               = 0
open("/var/spool/imap/s/user/user1/System/_testmh/_corp/_bi/mh1/cyrus.cache", O_RDWR) = 16
fstat(16, {st_mode=S_IFREG|0600, st_size=9783064, ...}) = 0
mmap(NULL, 9797632, PROT_READ, MAP_SHARED, 16, 0) = 0x7fdfb2001000
fcntl(5, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(5, {st_mode=S_IFREG|0600, st_size=179340, ...}) = 0
stat("/var/lib/imap/deliver.db", {st_mode=S_IFREG|0600, st_size=179340, ...}) = 0
fcntl(5, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(11, {st_mode=S_IFREG|0600, st_size=2978, ...}) = 0
mmap(NULL, 2978, PROT_READ, MAP_SHARED, 11, 0) = 0x7fdfb6f85000
fcntl(6, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(6, {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
stat("/var/lib/imap/mailboxes.db", {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
link("/var/spool/imap/stage./2830-1495029718-0", "/var/spool/imap/s/user/user1/System/_testmh/_corp/_bi/mh1/12189.") = 0
open("/var/spool/imap/s/user/user1/System/_testmh/_corp/_bi/mh1/12189.", O_RDONLY) = 17
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
brk(0x7fdfb8dd6000)                     = 0x7fdfb8dd6000
fsync(17)                               = 0
close(17)                               = 0
utime("/var/spool/imap/s/user/user1/System/_testmh/_corp/_bi/mh1/12189.", [2017/05/17-16:01:58, 2017/05/17-16:01:58]) = 0
lseek(16, 0, SEEK_END)                  = 9783064
write(16, "\0\0\1\r(\"Wed, 17 May 2017 14:01:58 "..., 868) = 868
lseek(14, 1157600, SEEK_SET)            = 1157600
write(14, "\0\0/\235Y\34W\326Y\34\37 \0\0\v\242\0\0\4\240Y\34W\326\0\225G\30Y\34W\326"..., 96) = 96
fsync(16)                               = 0
open("/var/lib/imap/quota/s/user.user1", O_RDWR) = 17
fcntl(17, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(17, {st_mode=S_IFREG|0600, st_size=20, ...}) = 0
stat("/var/lib/imap/quota/s/user.user1", {st_mode=S_IFREG|0600, st_size=20, ...}) = 0
fstat(17, {st_mode=S_IFREG|0600, st_size=20, ...}) = 0
mmap(NULL, 20, PROT_READ, MAP_SHARED, 17, 0) = 0x7fdfb6f84000
munmap(0x7fdfb6f84000, 20)              = 0
unlink("/var/lib/imap/quota/s/user.user1.NEW") = -1 ENOENT (No such file or directory)
open("/var/lib/imap/quota/s/user.user1.NEW", O_RDWR|O_CREAT|O_TRUNC, 0666) = 18
fcntl(18, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
lseek(18, 0, SEEK_SET)                  = 0
write(18, "8804977360\n14000000\n", 20) = 20
ftruncate(18, 20)                       = 0
fsync(18)                               = 0
fstat(18, {st_mode=S_IFREG|0600, st_size=20, ...}) = 0
rename("/var/lib/imap/quota/s/user.user1.NEW", "/var/lib/imap/quota/s/user.user1") = 0
fcntl(18, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
close(18)                               = 0
fcntl(17, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
close(17)                               = 0
lseek(14, 0, SEEK_SET)                  = 0
write(14, "b\1\nU\0\0\0\0\0\0\0\f\0\0\0\200\0\0\0`\0\0/\32Y\34W\326\0\0/\235"..., 128) = 128
fsync(14)                               = 0
socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 17
connect(17, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 110) = 0
sendto(17, "<22>May 17 16:01:58 lmtpunix[283"..., 131, MSG_NOSIGNAL, NULL, 0) = 131
fcntl(5, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(5, {st_mode=S_IFREG|0600, st_size=179340, ...}) = 0
stat("/var/lib/imap/deliver.db", {st_mode=S_IFREG|0600, st_size=179340, ...}) = 0
lseek(5, 179340, SEEK_SET)              = 179340
writev(5, [{"\0\0\0\2", 4}, {"\0\0\0i", 4}, {"<976404.588061513-sendEmail@mh1>"..., 105}, {"\0\0\0", 3}, {"\0\0\0\20", 4}, {"\326W\34Y\0\0\0\0\235/\0\0\0\0\0\0", 16}, {"\0\2\vX", 4}, {"\377\377\377\377", 4}], 8) = 144
lseek(5, 133968, SEEK_SET)              = 133968
write(5, "\0\2\274\214", 4)             = 4
fdatasync(5)                            = 0
lseek(5, 179484, SEEK_SET)              = 179484
write(5, "\0\0\0\377", 4)               = 4
fdatasync(5)                            = 0
fcntl(5, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
sendto(9, "\2\0\0\0\0\0\0\0\16\v\0\0\0\0\0\0user.user1.Syste"..., 56, 0, {sa_family=AF_LOCAL, sun_path="/var/lib/imap/socket/idle"}, 28) = 56
fcntl(14, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
close(15)                               = 0
close(14)                               = 0
munmap(0x7fdfb6e22000, 1171456)         = 0
close(16)                               = 0
munmap(0x7fdfb2001000, 9797632)         = 0
close(13)                               = 0
fcntl(5, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(5, {st_mode=S_IFREG|0600, st_size=179488, ...}) = 0
stat("/var/lib/imap/deliver.db", {st_mode=S_IFREG|0600, st_size=179488, ...}) = 0
lseek(5, 179488, SEEK_SET)              = 179488
writev(5, [{"\0\0\0\2", 4}, {"\0\0\0Q", 4}, {"<976404.588061513-sendEmail@mh1>"..., 81}, {"\0\0\0", 3}, {"\0\0\0\20", 4}, {"\327W\34Y\0\0\0\0\0\0\0\0\0\0\0\0", 16}, {"\0\2\274\214\0\2\vX", 8}, {"\377\377\377\377", 4}], 8) = 124
lseek(5, 133968, SEEK_SET)              = 133968
write(5, "\0\2\275 ", 4)                = 4
lseek(5, 133828, SEEK_SET)              = 133828
write(5, "\0\2\275 ", 4)                = 4
fdatasync(5)                            = 0
lseek(5, 179612, SEEK_SET)              = 179612
write(5, "\0\0\0\377", 4)               = 4
fdatasync(5)                            = 0
fcntl(5, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
munmap(0x7fdfb6f40000, 10240)           = 0
close(12)                               = 0
getrusage(RUSAGE_SELF, {ru_utime={0, 5999}, ru_stime={0, 17997}, ...}) = 0
sendto(17, "<21>May 17 16:01:59 lmtpunix[283"..., 76, MSG_NOSIGNAL, NULL, 0) = 76
munmap(0x7fdfb6f85000, 2978)            = 0
unlink("/var/spool/imap/stage./2830-1495029718-0") = 0
close(11)                               = 0
munmap(0x7fdfb6f86000, 4096)            = 0
write(1, "250 2.1.5 Ok SESSIONID=<mh1.bi.c"..., 81) = 81
open("/dev/null", O_RDWR)               = 11
shutdown(0, SHUT_RD)                    = 0
dup2(11, 0)                             = 0
shutdown(1, SHUT_RD)                    = 0
dup2(11, 1)                             = 1
shutdown(2, SHUT_RD)                    = 0
dup2(11, 2)                             = 2
close(11)                               = 0
write(3, "\1\0\0\0\16\v\0\0", 8)        = 8
rt_sigaction(SIGALRM, {0x7fdfb6fcad50, [], SA_RESTORER|SA_RESETHAND, 0x7fdfb4bd5510}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {0x7fdfb6fcad50, [], SA_RESTORER|SA_RESETHAND, 0x7fdfb4bd5510}, NULL, 8) = 0
rt_sigaction(SIGHUP, {0x7fdfb6fcad50, [], SA_RESTORER|SA_RESTART|SA_RESETHAND, 0x7fdfb4bd5510}, NULL, 8) = 0
rt_sigaction(SIGINT, {0x7fdfb6fcad50, [], SA_RESTORER|SA_RESTART|SA_RESETHAND, 0x7fdfb4bd5510}, NULL, 8) = 0
alarm(78)                               = 0
fcntl(10, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}Process 2830 detached
 <detached ...>
[root@mh1 ~]# strace -p 29994
Process 29994 attached
accept(4, 0, NULL)                      = 11
fcntl(10, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0)                                = 0
getpeername(11, {sa_family=AF_LOCAL, NULL}, [2]) = 0
write(3, "\2\0\0\0*u\0\0", 8)           = 8
dup2(11, 0)                             = 0
dup2(11, 1)                             = 1
dup2(11, 2)                             = 2
close(11)                               = 0
write(3, "\3\0\0\0*u\0\0", 8)           = 8
getpeername(0, {sa_family=AF_LOCAL, NULL}, [2]) = 0
open("/var/lib/imap/log/postman/lmtpunix-29994", O_WRONLY|O_CREAT|O_APPEND, 0644) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_BLOCK, [INT QUIT ALRM TERM CHLD], [], 8) = 0
pselect6(1, [0], NULL, NULL, {0, 0}, {[], 8}) = 0 (Timeout)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, "220 mh1.bi.corp.testmh.ch Cyrus "..., 85) = 85
rt_sigprocmask(SIG_BLOCK, [INT QUIT ALRM TERM CHLD], [], 8) = 0
pselect6(1, [0], NULL, NULL, {360, 0}, {[], 8}) = 1 (in [0], left {359, 999996919})
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
read(0, "LHLO mh1.bi.corp.testmh.ch\r\n", 4096) = 28
rt_sigprocmask(SIG_BLOCK, [INT QUIT ALRM TERM CHLD], [], 8) = 0
pselect6(1, [0], NULL, NULL, {0, 0}, {[], 8}) = 0 (Timeout)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, "250-mh1.bi.corp.testmh.ch\r\n250-8"..., 128) = 128
rt_sigprocmask(SIG_BLOCK, [INT QUIT ALRM TERM CHLD], [], 8) = 0
pselect6(1, [0], NULL, NULL, {360, 0}, {[], 8}) = 1 (in [0], left {359, 999997217})
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
read(0, "MAIL FROM:<mh1@xxxxxxxxx> SIZE=2"..., 4096) = 83
open("/var/lib/imap/msg/shutdown", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/lib/imap/msg/shutdown", O_RDONLY) = -1 ENOENT (No such file or directory)
fcntl(5, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(5, {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
stat("/var/lib/imap/mailboxes.db", {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
fcntl(5, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
open("/var/lib/imap/volatile/lock/s/user/user1.lock", O_RDWR|O_CREAT|O_TRUNC, 0666) = 11
fcntl(11, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fcntl(5, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(5, {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
stat("/var/lib/imap/mailboxes.db", {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
fcntl(5, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
open("/var/spool/imap/s/user/user1/cyrus.index", O_RDWR) = 12
fstat(12, {st_mode=S_IFREG|0600, st_size=12128, ...}) = 0
mmap(NULL, 24576, PROT_READ, MAP_SHARED, 12, 0) = 0x7f22146b6000
fcntl(12, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
stat("/var/spool/imap/s/user/user1/cyrus.header", {st_mode=S_IFREG|0600, st_size=234, ...}) = 0
open("/var/spool/imap/s/user/user1/cyrus.header", O_RDONLY) = 13
fstat(13, {st_mode=S_IFREG|0600, st_size=234, ...}) = 0
mmap(NULL, 234, PROT_READ, MAP_SHARED, 13, 0) = 0x7f22146b5000
munmap(0x7f22146b5000, 234)             = 0
open("/var/lib/imap/quota/s/user.user1", O_RDWR) = 14
fstat(14, {st_mode=S_IFREG|0600, st_size=20, ...}) = 0
mmap(NULL, 20, PROT_READ, MAP_SHARED, 14, 0) = 0x7f22146b5000
munmap(0x7f22146b5000, 20)              = 0
close(14)                               = 0
fcntl(12, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
close(13)                               = 0
close(12)                               = 0
munmap(0x7f22146b6000, 24576)           = 0
close(11)                               = 0
open("/var/lib/imap/msg/shutdown", O_RDONLY) = -1 ENOENT (No such file or directory)
fcntl(5, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(5, {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
stat("/var/lib/imap/mailboxes.db", {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
fcntl(5, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
open("/tmp/cyrus_tmpfile_JZTgCC", O_RDWR|O_CREAT|O_EXCL, 0600) = 11
unlink("/tmp/cyrus_tmpfile_JZTgCC")     = 0
fcntl(11, F_GETFL)                      = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(11, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f22146bb000
lseek(11, 0, SEEK_CUR)                  = 0
open("/etc/localtime", O_RDONLY)        = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
fstat(12, {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f22146ba000
read(12, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 1892
lseek(12, -1217, SEEK_CUR)              = 675
read(12, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0\0\0\0"..., 4096) = 1217
close(12)                               = 0
munmap(0x7f22146ba000, 4096)            = 0
rt_sigprocmask(SIG_BLOCK, [INT QUIT ALRM TERM CHLD], [], 8) = 0
pselect6(1, [0], NULL, NULL, {0, 0}, {[], 8}) = 0 (Timeout)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, "250 2.1.0 ok\r\n250 2.1.5 ok\r\n354 "..., 42) = 42
rt_sigprocmask(SIG_BLOCK, [INT QUIT ALRM TERM CHLD], [], 8) = 0
pselect6(1, [0], NULL, NULL, {360, 0}, {[], 8}) = 1 (in [0], left {359, 999997145})
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
read(0, "Received: from ns1.testmh.ch (mx"..., 4096) = 2764
write(11, "Return-Path: <mh1@xxxxxxxxx>\r\nRe"..., 2980) = 2980
fstat(11, {st_mode=S_IFREG|0600, st_size=2980, ...}) = 0
fcntl(5, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(5, {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
stat("/var/lib/imap/mailboxes.db", {st_mode=S_IFREG|0600, st_size=22284, ...}) = 0
fcntl(5, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xa7a975b7} ---
+++ killed by SIGSEGV +++
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux