Re: [Dovecot] segfault with vpopmail 5.5.0

2010-03-16 Thread Timo Sirainen
On Sun, 2010-02-28 at 19:27 +0100, Giuseppe Iuculano wrote:
 Il 28/02/2010 16:26, Timo Sirainen ha scritto:
 
  Yeah.. I already tried fixing this once, but it broke older vpopmail 
  versions and didn't even fix it for 5.5. So I don't really know how to fix 
  it, since I don't have a working vpopmail installation to test it on.
 
 Could I do something to help with debugging this?

The best help would be if you figured out what the new vpopmail version
wants Dovecot to do so that it doesn't crash. But I can't really help
more specifically with that. And currently I've way too much other more
important things to fix..



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] segfault with vpopmail 5.5.0

2010-02-28 Thread Timo Sirainen
On 26.2.2010, at 23.32, Giuseppe Iuculano wrote:

 [118905.528497] dovecot-auth[3856]: segfault at 0 ip (null) sp 
 7fffad98 error 14 in dovecot-auth[40+61000]
 2010-02-26 22:17:45 dovecot: Error: child 3856 (auth) killed with signal 11 
 (core dumped)
 
 (gdb) bt full
 #0  0x in ?? ()
 No symbol table info available.
 #1  0x00423b0e in vpopmail_lookup_vqp (request=0x726f68, 
 vpop_user=0x7fffae20 postmaster,
 vpop_domain=0x7fffadc0 test.bogus)
at userdb-vpopmail.c:43

Yeah.. I already tried fixing this once, but it broke older vpopmail versions 
and didn't even fix it for 5.5. So I don't really know how to fix it, since I 
don't have a working vpopmail installation to test it on.



Re: [Dovecot] segfault with vpopmail 5.5.0

2010-02-28 Thread Giuseppe Iuculano
Il 28/02/2010 16:26, Timo Sirainen ha scritto:

 Yeah.. I already tried fixing this once, but it broke older vpopmail versions 
 and didn't even fix it for 5.5. So I don't really know how to fix it, since I 
 don't have a working vpopmail installation to test it on.
 


Could I do something to help with debugging this?

Cheers,
Giuseppe.



signature.asc
Description: OpenPGP digital signature


[Dovecot] segfault with vpopmail 5.5.0

2010-02-26 Thread Giuseppe Iuculano
Hi,

version: 1.2.10
OS: Debian unstable/x86_64

[118905.528497] dovecot-auth[3856]: segfault at 0 ip (null) sp 7fffad98 
error 14 in dovecot-auth[40+61000]
2010-02-26 22:17:45 dovecot: Error: child 3856 (auth) killed with signal 11 
(core dumped)

(gdb) bt full
#0  0x in ?? ()
No symbol table info available.
#1  0x00423b0e in vpopmail_lookup_vqp (request=0x726f68, 
vpop_user=0x7fffae20 postmaster,
vpop_domain=0x7fffadc0 test.bogus)
at userdb-vpopmail.c:43
vpw = value optimized out
#2  0x00421376 in vpopmail_password_lookup 
(auth_request=0x7fffae20, cleartext=false,
result_r=0x7fffaebc) at passdb-vpopmail.c:65
vpop_user = postmaster, '\000' repeats 70 times
vpop_domain = test.bogus, '\000' repeats 70 times
vpw = value optimized out
password = value optimized out
#3  0x004215ad in vpopmail_verify_plain (request=0x7fffae20, 
password=0x704360 test, callback=0x415500
auth_request_verify_plain_callback)
at passdb-vpopmail.c:119
result = value optimized out
scheme = value optimized out
tmp_pass = value optimized out
crypted_pass = value optimized out
ret = value optimized out
#4  0x00415391 in auth_request_verify_plain (request=0x726f68, 
password=0x704360 test, callback=0x41eb90
plain_verify_callback)
at auth-request.c:509
passdb = 0x70ca40
result = value optimized out
cache_key = value optimized out
__PRETTY_FUNCTION__ = auth_request_verify_plain
#5  0x0041a6f7 in mech_plain_auth_continue (request=0x726f68, 
data=value optimized out, data_size=value
optimized out) at mech-plain.c:58
authid = 0x704340 
authenid = 0x704341 postmas...@test.bogus
error = value optimized out
pass = 0x704360 test
count = 2
#6  0x00415d41 in auth_request_handler_auth_begin (handler=0x7192f8, 
args=value optimized out) at
auth-request-handler.c:388
mech = value optimized out
request = 0x726f68
list = 0x24
name = 0x704308 @Cp
arg = 0x704195 AHBvc3RtYXN0ZXJAdGVzdC5ib2d1cwB0ZXN0
initial_resp = 0x704195 AHBvc3RtYXN0ZXJAdGVzdC5ib2d1cwB0ZXN0
initial_resp_len = 2
id = value optimized out
buf = 0x704308
#7  0x00411549 in auth_client_handle_line (conn=0x717f70) at 
auth-client-connection.c:174
No locals.
#8  auth_client_input (conn=0x717f70) at auth-client-connection.c:250
_data_stack_cur_id = 3
line = 0x7182b6
AUTH\t1\tPLAIN\tservice=pop3\tlip=XXX.XXX.XXX.XXXcensored\trip=XXX.XXX.XXX.XXXcensored\tlport=110\trport=41899\tresp=AHBvc3RtYXN0ZXJAdGVzdC5ib2d1cwB0ZXN0
ret = value optimized out
#9  0x0043643d in io_loop_handler_run (ioloop=value optimized out) at 
ioloop-epoll.c:208
ctx = 0x70f3e0
event = 0x70f450
list = 0x718280
io = 0x718240
---Type return to continue, or q return to quit---
tv = {tv_sec = 4, tv_usec = 999573}
t_id = 2
msecs = value optimized out
ret = 1
i = 0
call = value optimized out
#10 0x004358b8 in io_loop_run (ioloop=0x70c380) at ioloop.c:335
No locals.
#11 0x00419efe in main (argc=value optimized out, argv=value 
optimized out) at main.c:347
foreground = false


Cheers,
Giuseppe



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] segfault with vpopmail 5.5.0

2010-02-26 Thread Giuseppe Iuculano
Il 26/02/2010 22:32, Giuseppe Iuculano ha scritto:
 Hi,
 
 version: 1.2.10
 OS: Debian unstable/x86_64
 
 [118905.528497] dovecot-auth[3856]: segfault at 0 ip (null) sp 
 7fffad98 error 14 in dovecot-auth[40+61000]
 2010-02-26 22:17:45 dovecot: Error: child 3856 (auth) killed with signal 11 
 (core dumped)


Forgot dovecot -n, sorry.


# dovecot -n
# 1.2.10: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-3-amd64 x86_64 Debian squeeze/sid
log_path: /var/log/dovecot-log.log
info_log_path: /var/log/dovecot-info.log
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap imaps pop3 pop3s
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
mail_max_userip_connections(default): 60
mail_max_userip_connections(imap): 60
mail_max_userip_connections(pop3): 20
verbose_proctitle: yes
first_valid_uid: 64020
last_valid_uid: 64020
first_valid_gid: 64020
last_valid_gid: 64020
mail_privileged_group: mail
mail_location: maildir:~/Maildir
mail_debug: yes
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
imap_client_workarounds(default): tb-extra-mailbox-sep
imap_client_workarounds(imap): tb-extra-mailbox-sep
imap_client_workarounds(pop3):
namespace:
  type: private
  separator: .
  prefix: INBOX.
  inbox: yes
  list: yes
  subscriptions: yes
auth default:
  mechanisms: plain login digest-md5 cram-md5
  verbose: yes
  debug: yes
  passdb:
driver: vpopmail
  userdb:
driver: vpopmail
plugin:
  quota: maildir



signature.asc
Description: OpenPGP digital signature