syncserver segfaults

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

 



Hi,

I need some help debuging a problem with the syncserver. After
upgrading to from cyrus 2.3.14 to 2.3.15 the syncserver segfaults.
This happens on i586 and x86_64 systems after a syncclient tries
to connect.

Telnet to the syncserver shows

/home/mailserv08# telnet mailserv01 2005
Trying 192.168.3.17...
Connected to mailserv01.
Escape character is '^]'.
* SASL PLAIN LOGIN
* STARTTLS
* OK mailserv01 Cyrus sync server v2.3.15
Connection closed by foreign host.

Attacht are the strace from the i586 and x86_64 server.

What other informations are needed to debug this.


Regards

       Michael Menge

--------------------------------------------------------------------------------
M.Menge                                Tel.: (49) 7071/29-70316
Universität Tübingen                   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung mail: michael.menge@xxxxxxxxxxxxxxxxxxxx
Wächterstraße 76
72074 Tübingen
accept(4, 0, NULL)                      = 9
fcntl64(8, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0)                                = 0
write(3, "\2\0\0\0\272#\0\0", 8)        = 8
time(NULL)                              = 1252918704
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=842, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=842, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=842, ...}) = 0
send(5, "<183>Sep 14 10:58:24 syncserver["..., 58, MSG_NOSIGNAL) = 58
dup2(9, 0)                              = 0
dup2(9, 1)                              = 1
dup2(9, 2)                              = 2
close(9)                                = 0
write(3, "\3\0\0\0\272#\0\0", 8)        = 8
getpeername(0, {sa_family=AF_INET, sin_port=htons(53531), sin_addr=inet_addr("192.168.3.31")}, [16]) = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 9
fcntl64(9, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(9, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(9, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = 0
poll([{fd=9, events=POLLOUT|POLLERR|POLLHUP, revents=POLLOUT}], 1, 5000) = 1
send(9, "\2\0\0\0\r\0\0\0\6\0\0\0hosts\0\0\0", 20, MSG_NOSIGNAL) = 20
poll([{fd=9, events=POLLIN|POLLERR|POLLHUP, revents=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1
recvmsg(9, {msg_name(0)=NULL, msg_iov(1)=[{"hosts\0", 6}], msg_controllen=16, {cmsg_len=16, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {10}}, msg_flags=0}, 0) = 6
fstat64(10, {st_mode=S_IFREG|0600, st_size=217016, ...}) = 0
pread64(10, "\1\0\0\0h\0\0\0\260k\10\0\1\0\0\0\177P\365I\0\0\0\0\323"..., 104, 0) = 104
mmap2(NULL, 217016, PROT_READ, MAP_SHARED, 10, 0) = 0xb6181000
close(10)                               = 0
close(9)                                = 0
getsockname(0, {sa_family=AF_INET, sin_port=htons(2005), sin_addr=inet_addr("192.168.3.19")}, [16]) = 0
socket(PF_NETLINK, SOCK_RAW, 0)         = 9
bind(9, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(9, {sa_family=AF_NETLINK, pid=9146, groups=00000000}, [12]) = 0
time(NULL)                              = 1252918704
sendto(9, "\24\0\0\0\26\0\1\3\260\5\256J\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(9, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"D\0\0\0\24\0\2\0\260\5\256J\272#\0\0\2\10\200\376\1\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 324
recvmsg(9, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\260\5\256J\272#\0\0\n\200\200\376\1\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 320
recvmsg(9, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\260\5\256J\272#\0\0\0\0\0\0\1\0\0\0\24"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(9)                                = 0
socket(PF_NETLINK, SOCK_RAW, 0)         = 9
bind(9, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(9, {sa_family=AF_NETLINK, pid=9146, groups=00000000}, [12]) = 0
time(NULL)                              = 1252918704
sendto(9, "\24\0\0\0\26\0\1\3\260\5\256J\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(9, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"D\0\0\0\24\0\2\0\260\5\256J\272#\0\0\2\10\200\376\1\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 324
recvmsg(9, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\260\5\256J\272#\0\0\n\200\200\376\1\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 320
recvmsg(9, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\260\5\256J\272#\0\0\0\0\0\0\1\0\0\0\24"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(9)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=1192, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6180000
read(9, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1192
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0xb6180000, 4096)                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=59359, ...}) = 0
mmap2(NULL, 59359, PROT_READ, MAP_PRIVATE, 9, 0) = 0xb6172000
close(9)                                = 0
open("/lib/libnss_files.so.2", O_RDONLY) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\33"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=42485, ...}) = 0
mmap2(NULL, 37528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xb6168000
madvise(0xb6168000, 37528, MADV_SEQUENTIAL|0x1) = 0
mmap2(0xb6170000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x7) = 0xb6170000
close(9)                                = 0
munmap(0xb6172000, 59359)               = 0
open("/etc/protocols", O_RDONLY)        = 9
fcntl64(9, F_GETFD)                     = 0
fcntl64(9, F_SETFD, FD_CLOEXEC)         = 0
fstat64(9, {st_mode=S_IFREG|0644, st_size=6561, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6180000
read(9, "#\n# protocols\tThis file describe"..., 4096) = 4096
close(9)                                = 0
munmap(0xb6180000, 4096)                = 0
setsockopt(1, SOL_TCP, TCP_NODELAY, [1], 4) = 0
open("/home/mailserv09_replic/proc/9146", O_RDWR|O_CREAT|O_TRUNC, 0666) = 9
fstat64(9, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6180000
_llseek(9, 0, [0], SEEK_SET)            = 0
write(9, "mailserv09.uni-tuebingen.de [192"..., 43) = 43
_llseek(9, 0, [43], SEEK_CUR)           = 0
ftruncate(9, 43)                        = 0
write(1, "* SASL PLAIN LOGIN\r\n* STARTTLS\r\n"..., 75) = 75
time(NULL)                              = 1252918704
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=842, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=842, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=842, ...}) = 0
send(5, "<183>Sep 14 10:58:24 syncserver["..., 57, MSG_NOSIGNAL) = 57
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6127000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
accept(4, 0, NULL)                      = 9
fcntl(8, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0)                                = 0
write(3, "\2\0\0\0pm\0\0", 8)           = 8
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=842, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=842, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=842, ...}) = 0
sendto(5, "<183>Sep 14 11:00:01 syncserver["..., 59, MSG_NOSIGNAL, NULL, 0) = 59
dup2(9, 0)                              = 0
dup2(9, 1)                              = 1
dup2(9, 2)                              = 2
close(9)                                = 0
write(3, "\3\0\0\0pm\0\0", 8)           = 8
getpeername(0, {sa_family=AF_INET, sin_port=htons(38226), sin_addr=inet_addr("192.168.3.30")}, [12884901904]) = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 9
fcntl(9, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(9, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
connect(9, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = 0
poll([{fd=9, events=POLLOUT|POLLERR|POLLHUP, revents=POLLOUT}], 1, 5000) = 1
sendto(9, "\2\0\0\0\r\0\0\0\6\0\0\0hosts\0\252\264", 20, MSG_NOSIGNAL, NULL, 0) = 20
poll([{fd=9, events=POLLIN|POLLERR|POLLHUP, revents=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1
recvmsg(9, {msg_name(0)=NULL, msg_iov(1)=[{"hosts\0", 6}], msg_controllen=24, {cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {10}}, msg_flags=0}, 0) = 6
fstat(10, {st_mode=S_IFREG|0600, st_size=217016, ...}) = 0
pread(10, "\1\0\0\0h\0\0\0H\25\t\0\1\0\0\0\35P\365I\0\0\0\0\323\0"..., 104, 0) = 104
mmap(NULL, 217016, PROT_READ, MAP_SHARED, 10, 0) = 0x2b1bb761e000
close(10)                               = 0
close(9)                                = 0
getsockname(0, {sa_family=AF_INET, sin_port=htons(2005), sin_addr=inet_addr("192.168.3.17")}, [12884901904]) = 0
socket(PF_NETLINK, SOCK_RAW, 0)         = 9
bind(9, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(9, {sa_family=AF_NETLINK, pid=28016, groups=00000000}, [17780093728359186444]) = 0
sendto(9, "\24\0\0\0\26\0\1\3\21\6\256J\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(9, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"D\0\0\0\24\0\2\0\21\6\256Jpm\0\0\2\10\200\376\1\0\0\0\10"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 324
recvmsg(9, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\21\6\256Jpm\0\0\n\200\200\376\1\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 320
recvmsg(9, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\21\6\256Jpm\0\0\0\0\0\0\1\0\0\0\24\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(9)                                = 0
socket(PF_NETLINK, SOCK_RAW, 0)         = 9
bind(9, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(9, {sa_family=AF_NETLINK, pid=28016, groups=00000000}, [17780093453481279500]) = 0
sendto(9, "\24\0\0\0\26\0\1\3\21\6\256J\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(9, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"D\0\0\0\24\0\2\0\21\6\256Jpm\0\0\2\10\200\376\1\0\0\0\10"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 324
recvmsg(9, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\21\6\256Jpm\0\0\n\200\200\376\1\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 320
recvmsg(9, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\21\6\256Jpm\0\0\0\0\0\0\1\0\0\0\24\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(9)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=1192, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b1bb7653000
read(9, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1192
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x2b1bb7653000, 4096)            = 0
open("/etc/ld.so.cache", O_RDONLY)      = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=124944, ...}) = 0
mmap(NULL, 124944, PROT_READ, MAP_PRIVATE, 9, 0) = 0x2b1bb7653000
close(9)                                = 0
open("/lib64/libnss_files.so.2", O_RDONLY) = 9
read(9, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260#\0\0"..., 832) = 832
fstat(9, {st_mode=S_IFREG|0755, st_size=53489, ...}) = 0
mmap(NULL, 1090888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0x2b1bb7672000
madvise(0x2b1bb7672000, 1090888, MADV_SEQUENTIAL|0x1) = 0
mprotect(0x2b1bb767c000, 1044480, PROT_NONE) = 0
mmap(0x2b1bb777b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x9000) = 0x2b1bb777b000
close(9)                                = 0
munmap(0x2b1bb7653000, 124944)          = 0
open("/etc/protocols", O_RDONLY)        = 9
fcntl(9, F_GETFD)                       = 0
fcntl(9, F_SETFD, FD_CLOEXEC)           = 0
fstat(9, {st_mode=S_IFREG|0644, st_size=6561, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b1bb7653000
read(9, "#\n# protocols\tThis file describe"..., 4096) = 4096
close(9)                                = 0
munmap(0x2b1bb7653000, 4096)            = 0
setsockopt(1, SOL_TCP, TCP_NODELAY, [1], 4) = 0
open("/home/mailserv08_replic/proc/28016", O_RDWR|O_CREAT|O_TRUNC, 0666) = 9
fstat(9, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b1bb7653000
lseek(9, 0, SEEK_SET)                   = 0
write(9, "mailserv08.uni-tuebingen.de [192"..., 43) = 43
lseek(9, 0, SEEK_CUR)                   = 43
ftruncate(9, 43)                        = 0
write(1, "* SASL PLAIN LOGIN\r\n* STARTTLS\r\n"..., 75) = 75
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=842, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=842, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=842, ...}) = 0
sendto(5, "<183>Sep 14 11:00:01 syncserver["..., 58, MSG_NOSIGNAL, NULL, 0) = 58
mmap(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b1bb777d000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---

Attachment: smime.p7s
Description: S/MIME krytographische Unterschrift

----
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

[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