[Dovecot] dovecot imap auth fails to reconnect pgsql backend

Frank Wang yafrank at 126.com
Thu Sep 25 07:01:31 EEST 2008


> gdb -p `dovecot-auth`
> cont
> <wait for crash>
> bt full
> 
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208895808 (LWP 29809)]
sql_query_callback (result=0xa13dd88, sql_request=0x70) at
passdb-sql.c:58
58		struct auth_request *auth_request = sql_request->auth_request;
(gdb) bt full
#0  sql_query_callback (result=0xa13dd88, sql_request=0x70) at
passdb-sql.c:58
	auth_request = (struct auth_request *) 0xbfb0fcb8
	passdb_result = <value optimized out>
	password = 0x0
	scheme = <value optimized out>
	ret = <value optimized out>
	__PRETTY_FUNCTION__ = "sql_query_callback"
#1  0x00248c0f in ?? () from /usr/lib/dovecot/auth/libdriver_pgsql.so
No symbol table info available.
#2  0x0806dff0 in io_loop_handler_run (ioloop=0xa0701a8) at
ioloop-epoll.c:203
	ctx = <value optimized out>
	event = (const struct epoll_event *) 0xa078f28
	list = (struct io_list *) 0xa082b58
	io = (struct io_file *) 0xa0921c0
	tv = {tv_sec = 0, tv_usec = 499942}
	t_id = 2
	msecs = <value optimized out>
	ret = 1
	i = 0
	j = 0
	call = <value optimized out>
#3  0x0806d0d8 in io_loop_run (ioloop=0xa0701a8) at ioloop.c:320
No locals.
#4  0x0805a3b7 in main (argc=0, argv=0xa068008) at main.c:328
	_data_stack_cur_id = 0
	foreground = false
(gdb) 

    Is the above enough for debug?

Regards,
Frank Wang




More information about the dovecot mailing list