Re: Panic: file auth-request.c

2016-09-18 Thread Chris Wik
From:   Aki Tuomi <aki.tu...@dovecot.fi> 

 To:   Dovecot Mailing List <dovecot@dovecot.org>, Chris Wik <ch...@anu.net> 
 Sent:   18/09/2016 8:06 AM 
 Subject:   Re: Panic: file auth-request.c 

 
> Sep 17 19:34:57 mail dovecot: auth: Panic: file auth-request.c: line 1049 
> (auth_request_lookup_credentials): assertion failed: 
> (request->credentials_scheme == scheme) 
> Sep 17 19:34:57 mail dovecot: auth: Error: Raw backtrace: 
> /usr/local/lib/dovecot/libdovecot.so.0(+0x89470) [0x7fa9cb8af470] -> 
> /usr/local/lib/dovecot/libdovecot.so.0(+0x8954e) [0x7fa9cb8af54e] -> 
> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fa9cb851f75] -> 
> dovecot/auth() [0x4165bc] -> dovecot/auth() [0x4221fb] -> dovecot/auth() 
> [0x41620b] -> dovecot/auth(auth_request_lookup_credentials_callback+0x58) 
> [0x4162f8] -> dovecot/auth(passdb_handle_credentials+0x6a) [0x4254ba] -> 
> dovecot/auth() [0x425b62] -> dovecot/auth() [0x41c1f8] -> 
> /usr/local/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x4c) [0x7fa9cb8c207c] 
> -> /usr/local/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xd7) 
> [0x7fa9cb8c3377] -> 
> /usr/local/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25) 
> [0x7fa9cb8c2105] -> /usr/local/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) 
> [0x7fa9cb8c22b8] -> 
> /usr/local/lib/dovecot/libdovecot.so.0(master_service_run+0x13) 
> [0x7fa9cb857f33] -> dovecot/auth(main+0x2eb 
 ) [0x40ccdb] -> /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fa9c9dc2b15] -> 
dovecot/auth() [0x40cf15] 

 
Hi! 
 
This has been fixed with 
https://github.com/dovecot/core/commit/6c969ac21a43cc10ee1f1a91a4f39e4864c886cb 
 
Aki Tuomi 
Dovecot oy 


Great, good to hear!


In my local source of 2.2.5, the deleted lines are lines 1048-1049. In the 
patch the lines are 1068-1069. I think maybe we'll wait for 2.2.6 and not try 
to patch it ourselves, we aren't using the new features in 2.2.5 yet and 2.2.4 
has been stable for us...


Chris

--
Chris Wik
Anu Internet Services
www.anu.net | www.cwik.ch





Re: Panic: file auth-request.c

2016-09-19 Thread Chris Wik
From:   Tanstaafl <tansta...@libertytrek.org> 

 To:   <dovecot@dovecot.org> 
 Sent:   19/09/2016 5:44 PM 
 Subject:   Re: Panic: file auth-request.c 

On 9/17/2016 2:15 PM, Chris Wik <ch...@anu.net> wrote: 
> So we upgraded to a new CentOS 7 server with SSD RAID, fast CPUs and 
> tons of RAM. No more load problems. We compiled the latest dovecot 
> from source (as the version from CentOS yum repo is already quite 
> old, figure we might as well run the latest version since we were 
> upgrading anyway). 
 
Then on 9/18/2016 6:50 AM, Chris Wik <ch...@anu.net> wrote: 
> In my local source of 2.2.5, 
 
??? 
 
Latest dovecot version is 2.2.25 - or was that (hopefully) a typo? 
 
http://www.dovecot.org/download.html


Yes, typo, sorry.


I have 2.2.25 sources and the line numbers don't match the diff.


We'll wait for 2.2.26, unless someone from Dovecot would like us to test the 
patch? In which case I'll try removing the 2 lines and recompiling and see if 
it works.


Chris

Panic: file auth-request.c

2016-09-17 Thread Chris Wik
cot/dovecot-sql.conf.ext
  driver = sql
}
verbose_ssl = yes
protocol lmtp {
  mail_fsync = optimized
}
protocol lda {
  mail_fsync = optimized
}
protocol imap {
  mail_max_userip_connections = 50
}
protocol pop3 {
  mail_max_userip_connections = 20
}
--
 Chris Wik
 Anu Internet Services
 www.anu.net | www.cwik.ch