<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 25/11/15 13:46, Alvin Starr via
Info-cyrus wrote:<br>
</div>
<blockquote cite="mid:5655BBBB.4090807@netvel.net" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">With it dying just after starttls I
would be inclined to check the tls/ssl config.<br>
Or possibly try running the sync without TLS enabled.<br>
<br>
On 11/25/2015 08:32 AM, Patrick Boutilier via Info-cyrus wrote:<br>
</div>
<blockquote cite="mid:5655B863.9050507@ednet.ns.ca" type="cite">On
11/25/2015 06:21 AM, Sunny via Info-cyrus wrote: <br>
<blockquote type="cite">Hi <br>
<br>
[root@imap08 user]# su cyrus <br>
bash-4.1$ /usr/lib/cyrus-imapd/sync_client -v -l -S
backup-imap01 -u test8 <br>
Segmentation fault (core dumped) <br>
<br>
<br>
I run strace <br>
<br>
bash-4.1$ strace /usr/lib/cyrus-imapd/sync_client -v -l -S
backup-imap01 <br>
-u test8 <br>
<br>
munmap(0x7f1300165000, 4096) = 0 <br>
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 5
<br>
connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"},
110) = 0 <br>
sendto(5, "\2\0\0\0\r\0\0\0\6\0\0\0hosts\0", 18, MSG_NOSIGNAL,
NULL, 0) <br>
= 18 <br>
poll([{fd=5, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1
([{fd=5, <br>
revents=POLLIN|POLLHUP}]) <br>
recvmsg(5, {msg_name(0)=NULL, msg_iov(2)=[{"hosts\0", 6}, <br>
{"\270O\3\0\0\0\0\0", 8}], msg_controllen=24, {cmsg_len=20, <br>
cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {6}}, <br>
msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 14 <br>
mmap(NULL, 217016, PROT_READ, MAP_SHARED, 6, 0) =
0x7f12fffd4000 <br>
close(6) = 0 <br>
close(5) = 0 <br>
rt_sigaction(SIGALRM, {0x7f130018d920, [], SA_RESTORER,
0x7f12fe0816a0}, <br>
NULL, 8) = 0 <br>
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 5 <br>
alarm(10) = 0 <br>
connect(5, {sa_family=AF_INET, sin_port=htons(2005), <br>
sin_addr=inet_addr("10.31.4.14")}, 16) = 0 <br>
alarm(0) = 10 <br>
rt_sigaction(SIGALRM, {SIG_IGN, [ALRM],
SA_RESTORER|SA_RESTART, <br>
0x7f12fe0816a0}, {0x7f130018d920, [], SA_RESTORER,
0x7f12fe0816a0}, 8) = 0 <br>
read(5, "* STARTTLS\r\n* OK backup-imap01"..., 4096) = 91 <br>
--- SIGSEGV (Segmentation fault) @ 0 (0) --- <br>
+++ killed by SIGSEGV (core dumped) +++ <br>
Segmentation fault (core dumped) <br>
<br>
Any advice how to fix this? <br>
<br>
Regards <br>
Sunny <br>
---- <br>
Cyrus Home Page: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a>
<br>
List Archives/Info: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
<br>
To Unsubscribe: <br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a>
<br>
</blockquote>
<br>
<br>
Anything in logs on the sync server? <br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">----
Cyrus Home Page: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a>
List Archives/Info: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
To Unsubscribe:
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Alvin Starr || voice: (905)513-7688
Netvel Inc. || Cell: (416)806-0133
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:alvin@netvel.net">alvin@netvel.net</a> ||
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">----
Cyrus Home Page: <a class="moz-txt-link-freetext" href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a>
List Archives/Info: <a class="moz-txt-link-freetext" href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
To Unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></pre>
</blockquote>
<br>
Solved.<br>
<br>
I was pushing sync_client to a cyrus replica server which had a
different version of the libc driver to the master imap server. <br>
<br>
/var/log/messges logged this<br>
kernel: sync_client[31071]: segfault at 0 ip 00007f03e729457f sp
00007fffc35ebf88 error 4 in libc-2.12.so[7f03e7161000+18a000]<br>
<br>
<br>
</body>
</html>