Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-09-01 Thread Chris Wakelin
Chris Wakelin wrote: > I've been testing zlib again in Dovecot 1.1.1 (plus assert-crash fix) > and 1.1.2 and I'm beginning to think it may be some sort of race > condition (the Solaris 8 box is significantly slower than the SuSE one!). > > If I leave a few seconds pause between the "FETCH BODY[]

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-08-12 Thread Timo Sirainen
On Aug 5, 2008, at 11:44 AM, Dean Brooks wrote: Is there a way to implement a --without-bzlib style option so people can disable compilation of some of these plugins? Added: http://hg.dovecot.org/dovecot-1.1/rev/0dd6386cbc93 PGP.sig Description: This is a digitally signed message part

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-08-06 Thread Chris Wakelin
Chris Wakelin wrote: Oh, unless there are some bugs in your zlib version, such as related to seeking.. Could be, I imagine it's as prehistoric as the bzlib :) Right, I've tried dovecot-1.1.2 using my own zlib-1.2.3 (and bzlib-1.0.5) build on Solaris 8: ldd lib20_zlib_plugin.so gives

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-08-05 Thread Dean Brooks
On Mon, Aug 04, 2008 at 04:24:09PM -0400, Timo Sirainen wrote: > On Aug 4, 2008, at 2:38 PM, Dean Brooks wrote: > > >Does dovecot require a shared version of the libbz2 library to compile > >correctly? Is there no way to statically link this? > > You could link the libbz2.a into the imap binary

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-08-04 Thread Timo Sirainen
On Aug 4, 2008, at 2:38 PM, Dean Brooks wrote: Does dovecot require a shared version of the libbz2 library to compile correctly? Is there no way to statically link this? You could link the libbz2.a into the imap binary (and hope that linker doesn't optimize it away), but you can't link .a l

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-08-04 Thread Dean Brooks
On Mon, Aug 04, 2008 at 02:26:50PM -0400, Timo Sirainen wrote: > On Jul 24, 2008, at 1:11 PM, Dean Brooks wrote: > > >I cannot get Dovecot 1.1.2 to compile at all on Solaris8 with gcc > >3.3.4 and newly recompiled versions of bzip2 and zlib libraries. This > >is the first time I've ever had a pro

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-08-04 Thread Timo Sirainen
On Jul 24, 2008, at 1:11 PM, Dean Brooks wrote: I cannot get Dovecot 1.1.2 to compile at all on Solaris8 with gcc 3.3.4 and newly recompiled versions of bzip2 and zlib libraries. This is the first time I've ever had a problem getting Dovecot to compile under Solaris 8. ..

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-07-24 Thread Dean Brooks
On Thu, Jul 24, 2008 at 04:30:28PM +0100, Chris Wakelin wrote: > Chris Wakelin wrote: > >>>I can try this in Solaris 10, but I don't really see why the > >>>OS/architecture should matter. > >> > >>Oh, unless there are some bugs in your zlib version, such as related to > >>seeking.. > > > >Could be,

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-07-24 Thread Chris Wakelin
Chris Wakelin wrote: I can try this in Solaris 10, but I don't really see why the OS/architecture should matter. Oh, unless there are some bugs in your zlib version, such as related to seeking.. Could be, I imagine it's as prehistoric as the bzlib :) Right, I've tried dovecot-1.1.2 using m

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-07-23 Thread Chris Wakelin
Timo Sirainen wrote: make clean shouldn't ever be necessary, since automake does dependency tracking.. I thought so too, but it was fine on SuSE when I did a "make clean". Anyway, it didn't make any difference on Solaris 8 :( I can try this in Solaris 10, but I don't really see why the OS

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-07-23 Thread Timo Sirainen
On Thu, 2008-07-24 at 02:51 +0300, Timo Sirainen wrote: > > >>> dovecot: Jul 24 00:22:22 Error: IMAP 13458 xxx.xxx.xxx.xxx : > > >>> Cached message offset 75979 is invalid for mbox file (read-only mbox > > >>> stream) > > > > > > I'm not able to reproduce this at least on Linux.. > > >

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-07-23 Thread Timo Sirainen
On Thu, 2008-07-24 at 00:47 +0100, Chris Wakelin wrote: > > Timo Sirainen wrote: > > On Thu, 2008-07-24 at 00:34 +0100, Chris Wakelin wrote: > >> Well, now it doesn't assert crash, but (on the Solaris 8 machine): > >> > >>> dovecot: Jul 24 00:22:22 Error: IMAP 13458 xxx.xxx.xxx.xxx : > >

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-07-23 Thread Chris Wakelin
Timo Sirainen wrote: On Thu, 2008-07-24 at 00:34 +0100, Chris Wakelin wrote: Well, now it doesn't assert crash, but (on the Solaris 8 machine): dovecot: Jul 24 00:22:22 Error: IMAP 13458 xxx.xxx.xxx.xxx : Cached message offset 75979 is invalid for mbox file (read-only mbox stream)

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-07-23 Thread Timo Sirainen
On Thu, 2008-07-24 at 00:34 +0100, Chris Wakelin wrote: > Well, now it doesn't assert crash, but (on the Solaris 8 machine): > > > dovecot: Jul 24 00:22:22 Error: IMAP 13458 xxx.xxx.xxx.xxx : > > Cached message offset 75979 is invalid for mbox file (read-only mbox stream) I'm not able t

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-07-23 Thread Chris Wakelin
Timo Sirainen wrote: On Wed, 2008-07-23 at 15:58 +0100, Chris Wakelin wrote: I've tried this on both Solaris 8 and SuSE Enterprise 9 (64-bit). I get a assert-crash when using a gzipped mbox folder .. istream-raw-mbox.c: line 363 (i_stream_create_raw_mbox): assertion failed: (input->v_offset

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-07-23 Thread Timo Sirainen
On Wed, 2008-07-23 at 15:58 +0100, Chris Wakelin wrote: > I've tried this on both Solaris 8 and SuSE Enterprise 9 (64-bit). > > I get a assert-crash when using a gzipped mbox folder .. > istream-raw-mbox.c: line 363 (i_stream_create_raw_mbox): assertion > failed: (input->v_offset == 0) Fixed: ht