sync_client Segmentation fault (core dumped)

Alvin Starr alvin at netvel.net
Wed Nov 25 08:46:35 EST 2015


With it dying just after starttls I would be inclined to check the 
tls/ssl config.
Or possibly try running the sync without TLS enabled.

On 11/25/2015 08:32 AM, Patrick Boutilier via Info-cyrus wrote:
> On 11/25/2015 06:21 AM, Sunny via Info-cyrus wrote:
>> Hi
>>
>> [root at imap08 user]# su cyrus
>> bash-4.1$ /usr/lib/cyrus-imapd/sync_client -v -l -S backup-imap01 -u 
>> test8
>> Segmentation fault (core dumped)
>>
>>
>> I run strace
>>
>> bash-4.1$ strace /usr/lib/cyrus-imapd/sync_client -v -l -S backup-imap01
>> -u test8
>>
>> munmap(0x7f1300165000, 4096)            = 0
>> socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 5
>> connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = 0
>> sendto(5, "\2\0\0\0\r\0\0\0\6\0\0\0hosts\0", 18, MSG_NOSIGNAL, NULL, 0)
>> = 18
>> poll([{fd=5, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=5,
>> revents=POLLIN|POLLHUP}])
>> recvmsg(5, {msg_name(0)=NULL, msg_iov(2)=[{"hosts\0", 6},
>> {"\270O\3\0\0\0\0\0", 8}], msg_controllen=24, {cmsg_len=20,
>> cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {6}},
>> msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 14
>> mmap(NULL, 217016, PROT_READ, MAP_SHARED, 6, 0) = 0x7f12fffd4000
>> close(6)                                = 0
>> close(5)                                = 0
>> rt_sigaction(SIGALRM, {0x7f130018d920, [], SA_RESTORER, 0x7f12fe0816a0},
>> NULL, 8) = 0
>> socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 5
>> alarm(10)                               = 0
>> connect(5, {sa_family=AF_INET, sin_port=htons(2005),
>> sin_addr=inet_addr("10.31.4.14")}, 16) = 0
>> alarm(0)                                = 10
>> rt_sigaction(SIGALRM, {SIG_IGN, [ALRM], SA_RESTORER|SA_RESTART,
>> 0x7f12fe0816a0}, {0x7f130018d920, [], SA_RESTORER, 0x7f12fe0816a0}, 
>> 8) = 0
>> read(5, "* STARTTLS\r\n* OK backup-imap01"..., 4096) = 91
>> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>> +++ killed by SIGSEGV (core dumped) +++
>> Segmentation fault (core dumped)
>>
>> Any advice how to fix this?
>>
>> Regards
>> Sunny
>> ----
>> 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
>
>
> Anything in logs on the sync server?
>
>
> ----
> 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


-- 
Alvin Starr                   ||   voice: (905)513-7688
Netvel Inc.                   ||   Cell:  (416)806-0133
alvin at netvel.net              ||

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20151125/c0420a6c/attachment-0001.html>


More information about the Info-cyrus mailing list