RE: v2.3.15 IMAP connection hangs

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

 



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
configure
make
(at this point we get the deflateBound build error if we're using the old
zlib)
run the patch (patches prot.h and prot.c)
make
make install
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
works properly.

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?

Thanks, Larry

> -----Original Message-----
> From: info-cyrus-bounces+info-cyrus=ornl.gov@xxxxxxxxxxxxxxxxxxxx
> [mailto:info-cyrus-bounces+info-cyrus=ornl.gov@xxxxxxxxxxxxxxxxxxxx] On
> Behalf Of Rosenbaum, Larry M.
> Sent: Thursday, September 17, 2009 10:13 AM
> To: Bron Gondwana; Simon Matter
> Cc: info-cyrus@xxxxxxxxxxxxxxxxxxxx
> Subject: RE: v2.3.15 IMAP connection hangs
> 
> > From: Bron Gondwana [mailto:brong@xxxxxxxxxxx]
> > Sent: Wednesday, September 16, 2009 8:22 PM
> > To: Simon Matter
> > Cc: Rosenbaum, Larry M.; Bron Gondwana; info-
> cyrus@xxxxxxxxxxxxxxxxxxxx
> > 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@xxxxxxxxx]
> > > >>...
> > > >> >> 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
> rebuilt
> > 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

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