Re: sync_client segmentation fault when using TLS

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

 




Dietmar Rieder wrote:
> Hi,
> 
> we just updated our master + replication servers from 2.3.13 to 2.3.16 
> and discovered, that the sync_client is dying with a segfault when it 
> connects to the replication server which has set "allowplaintext: no".
> 
> We managed to trace down the problem and came up with the following 
> patch against imap/backend.c to solve it.
> 
> Gernot & Didi
> 
> p.s.:
> Allowing plaintext authentication by "allowplaintext: yes" on the 
> replication server would also be an option as workarround ... but not 
> for us :-)
> 

I had a working environment with a master server running on 32 bit 
RHEL4.7 and version 2.3.13 of cyrus, and a replica running on 32 bit 
RHEL5.4 and version 2.3.16 of cyrus.  I then upgraded the master to 
2.3.16 and now the sync_client segfaults immediately.  I tried testing 
with plaintext allowed to no avail, after which I disabled TLS for the 
sync service (syncserver_tls_cert_file: disabled) with no improvement.

The output from tcpdump indicates that the TCP session closes down 
immediately after the server sends the banner.

I tried the patch supplied by Dietmar, which didn't fix the problem and 
in addition, rendered the master non-operational.

I take it from the lack of followup on this thread, that this is not a 
problem experienced by the majority if any of the folks on this list.

Has anyone else experienced anything like this?

Any suggestions as to what might cause this before I dust off my 
debugging skills and attempt to trace the cause?

Thanks,
Rafe
----
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