[Dovecot] backtrace from postgres dict

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Wed Nov 28 11:38:16 EET 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

since I enabled ACLs I get following backtrace. It looks like that it 
happens if the ACLs had been changed only. Also, it looks like that it 
always happens 1 minute after last "dict: Info: pgsql(localhost): 
Connected to database dovecot", no matter if the user is logged in (and 
idle) or logged off. Postgres logs: "could not receive data from client: 
Connection reset by peer" and "unexpected EOF on client connection".

Is there some TCP keep alive issue?
Postgres is using the "system default" for TCP keep alive.
I'm currently testing ACLs via telnet, so the activity with the ACL dict 
is pretty low, hence, an idle timeout would make much sense.

# ../../sbin/dovecot --version
2.1.10 (a4f02f6c0d32)

dict connect string:
connect = host=localhost dbname=db user=user



2012-11-28 10:03:39 dict: Info: pgsql(localhost): Connected to database 
dovecot
2012-11-28 10:03:39 dict: Info: pgsql(localhost): Connected to database 
dovecot
2012-11-28 10:03:39 dict: Info: pgsql(localhost): Connected to database 
dovecot

2012-11-28 10:03:58 IMAP(user) [22922]: Info: Disconnected: Logged out 
in=23 out=763

2012-11-28 10:04:41 dict: Panic: file driver-pgsql.c: line 84 
(driver_pgsql_set_state): assertion failed: (state == SQL_DB_STATE_BUSY || 
db->cur_result == NULL)

2012-11-28 10:04:41 dict: Error: Raw backtrace: 
/usr/local/dovecot-2.1.10/lib/dovecot/libdovecot.so.0(+0x4857a) 
[0x7f91f511157a] -> 
/usr/local/dovecot-2.1.10/lib/dovecot/libdovecot.so.0(+0x485c6) 
[0x7f91f51115c6] -> 
/usr/local/dovecot-2.1.10/lib/dovecot/libdovecot.so.0(i_error+0) 
[0x7f91f50e4eaf] -> dovecot2.1/dict() [0x40aa36] -> dovecot2.1/dict() 
[0x40aa91] -> dovecot2.1/dict() [0x40bed3] -> dovecot2.1/dict() [0x409504] 
- -> dovecot2.1/dict(sql_db_cache_deinit+0x20) [0x408a60] -> 
dovecot2.1/dict(main+0x169) [0x405a59] -> 
/lib/libc.so.6(__libc_start_main+0xfd) [0x7f91f4b5cc8d] -> 
dovecot2.1/dict() [0x404bb9]

2012-11-28 10:04:41 dict: Fatal: master: service(dict): child 22923 killed 
with signal 6 (core not dumped)


- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBULXbiGoxLS8a3A9mAQI9Ywf/YItPO4fFT70HcuwCkDXgx0Sn7CEyXu2j
+1VzOu3R/TMs1rcxYJIvWiei6Nk3wXywzQl84POadJn61Yf2NuT80nMxwBsBbgio
e+0oRE9JNVSjtvX5l7kehEdUDQjqRRKyrhWG9KDlpjWidGsYh7pQg0rDtp3UwG57
HuSBMiBAZ9t9sC2DXjn9wT9vweH3gMIhc/K5U0BLF5JG/K8UAKc5QBUgezjIYzvn
KP90TJ4RoZ2vnPzmWfeIsjffRBvvC6UUgWmU02e2H9xJxzF32Nix0s8YWi7G91sH
Ei057HW5NsKNDtp6B5fYk+xCpC6ucQiwFSr/ZG+uZCAdtTd2qmf60g==
=tQYK
-----END PGP SIGNATURE-----



More information about the dovecot mailing list