Re: Dovecot on 5.5 stable out-of-mem errors

2014-06-02 Thread Brad Smith
On 28/05/14 4:03 AM, Otto Moerbeek wrote: On Wed, May 28, 2014 at 07:32:48AM +0200, Otto Moerbeek wrote: On Tue, May 27, 2014 at 05:11:16PM -0400, Brad Smith wrote: On 27/05/14 3:42 PM, Otto Moerbeek wrote: Hi, on amd64 I'm seeing out-of-mem errors if I use a nonexistent username with

Re: Dovecot on 5.5 stable out-of-mem errors

2014-06-02 Thread Otto Moerbeek
On Mon, Jun 02, 2014 at 04:48:54PM -0400, Brad Smith wrote: On current this is fixed due to changes to getpwnam_r(). It is funny to see calls to getpwnam_r() in code using static buffers A fix for 5.5. is indeed tricky, we cannot use the result argument nor the return value to

Re: Dovecot on 5.5 stable out-of-mem errors

2014-05-28 Thread Otto Moerbeek
On Wed, May 28, 2014 at 07:32:48AM +0200, Otto Moerbeek wrote: On Tue, May 27, 2014 at 05:11:16PM -0400, Brad Smith wrote: On 27/05/14 3:42 PM, Otto Moerbeek wrote: Hi, on amd64 I'm seeing out-of-mem errors if I use a nonexistent username with bsdauth (ottotest1 does not exist in

Dovecot on 5.5 stable out-of-mem errors

2014-05-27 Thread Otto Moerbeek
Hi, on amd64 I'm seeing out-of-mem errors if I use a nonexistent username with bsdauth (ottotest1 does not exist in /etc/passwd). May 27 21:33:28 mx1 dovecot: auth-worker(11223): Fatal: pool_system_realloc(268435456): Out of memory May 27 21:33:28 mx1 dovecot: auth: Error: auth worker: Aborted

Re: Dovecot on 5.5 stable out-of-mem errors

2014-05-27 Thread Brad Smith
On 27/05/14 3:42 PM, Otto Moerbeek wrote: Hi, on amd64 I'm seeing out-of-mem errors if I use a nonexistent username with bsdauth (ottotest1 does not exist in /etc/passwd). May 27 21:33:28 mx1 dovecot: auth-worker(11223): Fatal: pool_system_realloc(268435456): Out of memory May 27 21:33:28 mx1

Re: Dovecot on 5.5 stable out-of-mem errors

2014-05-27 Thread Otto Moerbeek
On Tue, May 27, 2014 at 05:11:16PM -0400, Brad Smith wrote: On 27/05/14 3:42 PM, Otto Moerbeek wrote: Hi, on amd64 I'm seeing out-of-mem errors if I use a nonexistent username with bsdauth (ottotest1 does not exist in /etc/passwd). May 27 21:33:28 mx1 dovecot: auth-worker(11223): Fatal: