v2.3.15 IMAP connection hangs
rosenbaumlm at ornl.gov
Thu Sep 24 16:37:02 EDT 2009
OK I've finally figured it out. The connection only hangs if I use the
following build procedure:
Using either old or new zlib, start without the zlib patch
(at this point we get the deflateBound build error if we're using the old
run the patch (patches prot.h and prot.c)
stop and restart Cyrus master
connect to port 143 and issue a command
Voila! the connection hangs.
Note that there is no "make depend" in this sequence. If I follow the same
sequence but I do a "make depend" after the configure step, then the server
I think this means there's nothing wrong with the patch. So is it better to
use the patch or the new zlib or both?
> -----Original Message-----
> From: info-cyrus-bounces+info-cyrus=ornl.gov at lists.andrew.cmu.edu
> [mailto:info-cyrus-bounces+info-cyrus=ornl.gov at lists.andrew.cmu.edu] On
> Behalf Of Rosenbaum, Larry M.
> Sent: Thursday, September 17, 2009 10:13 AM
> To: Bron Gondwana; Simon Matter
> Cc: info-cyrus at lists.andrew.cmu.edu
> Subject: RE: v2.3.15 IMAP connection hangs
> > From: Bron Gondwana [mailto:brong at fastmail.fm]
> > Sent: Wednesday, September 16, 2009 8:22 PM
> > To: Simon Matter
> > Cc: Rosenbaum, Larry M.; Bron Gondwana; info-
> cyrus at lists.andrew.cmu.edu
> > Subject: Re: v2.3.15 IMAP connection hangs
> > On Wed, Sep 16, 2009 at 07:04:05PM +0200, Simon Matter wrote:
> > > >> From: Simon Matter [mailto:simon.matter at invoca.ch]
> > > >>...
> > > >> >> Long shot - but you might want to try it with the attached
> > patch
> > > >> >> applied.
> > > >> >> It rewrites the zlib handling logic quite a lot, though it
> > wasn't
> > > >> >> originally
> > > >> >> designed to deal with your problem! I'm going to push it to
> > CVS
> > > >> soon.
> > > >> >
> > > >> > I already have the patch installed because we have an old
> > version of
> > > >> Zlib.
> > > >> > Could the patch be causing the problem?
> > > >>
> > > >> Hi,
> > > >>
> > > >> I have the same patch in my RPMs and tested it on a ancient
> > OS/zlib and
> > > >> didn't see any problems. Of course it doesn't mean much because
> > I'm
> > > >> running Linux.
> > > >> Did you already try to build and run without zlib support?
> > > >
> > > > I hadn't thought of building it without zlib support.
> > > >
> > > > I have just installed a newer zlib, removed the patch, and
> > Cyrus
> > > > IMAP with the new zlib. Now it works!
> > >
> > > Good, but I'm sure Bron would still like to know why it didn't work
> > before...
> > I sure would! Given that we've been running that patch on top of CVS
> > for
> > a few months not (Linux with a newer zlib) without problems, I'd love
> > to
> > know what's wrong with the patch - particularly since I'm planning to
> > add
> > it to CVS if there's nothing else wrong with it.
> > So it goes into an infinite loop on signals_poll, obviously.
> > Can you please try building with the patch, but with the new zlib?
> With the new zlib and the patch, it hangs.
> Perhaps the problem with the patch is Solaris-specific.
> 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
More information about the Info-cyrus