Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 May 2006 09:11:57 -0600 (MDT)
From:      Mike Durian <durian@shadetreesoftware.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/97305: kio_pop3 wedges during POP from remote VPN'd site
Message-ID:  <200605151511.k4FFBvSs007958@man.boogie.com>
Resent-Message-ID: <200605151520.k4FFKIK4096179@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97305
>Category:       ports
>Synopsis:       kio_pop3 wedges during POP from remote VPN'd site
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 15 15:20:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Mike Durian
>Release:        FreeBSD 6.1-RC i386
>Organization:
>Environment:
System: FreeBSD man.boogie.com 6.1-RC FreeBSD 6.1-RC #5: Sat Apr 15 10:43:56 MDT 2006 root@man.boogie.com:/disk2/obj/disk2/src/sys/BOOGIE i386


	
>Description:
	Once or twice a day, a kio_pop3 process (from KDE kmail) will
	wedge trying to POP mail from a remote host that is accessable
	over a VPN (IPSEC).  I do not know if this is a FreeBSD issue
	or a KDE issue.  The problem occurred after I updated KDE,
	but I had also updated FreeBSD at about the same time.

	I have filed a KDE bug too: http://bugs.kde.org/show_bug.cgi?id=122457

	Here is a gdb backtrace from the wedged process:
	(gdb) info thread
	* 3 LWP 100142  0x294417dd in read () from /lib/libc.so.6
	  2 Thread 0x805d000 (runnable)  0x294417df in read () from /lib/libc.so.6
	  1 Thread 0x833fa00 (LWP 100139)  0x2938446b in pthread_testcancel ()
	   from /usr/lib/libpthread.so.2
	(gdb) thread 2
	[Switching to thread 2 (Thread 0x805d000 (runnable))]#0  0x294417df in read ()
	   from /lib/libc.so.6
	(gdb) bt
	#0  0x294417df in read () from /lib/libc.so.6
	#1  0x2936d19a in read () from /usr/lib/libpthread.so.2
	#2  0x297409d1 in BIO_sock_should_retry () from /lib/libcrypto.so.4
	#3  0x297a93c3 in BIO_read () from /lib/libcrypto.so.4
	#4  0x298c8cf9 in SSL_set_msg_callback () from /usr/lib/libssl.so
	#5  0x298c9922 in ssl3_read_bytes () from /usr/lib/libssl.so
	#6  0x298cb035 in ssl3_renegotiate_check () from /usr/lib/libssl.so
	#7  0x298c652e in SSL_read () from /usr/lib/libssl.so
	#8  0x2821310c in KOpenSSLProxy::SSL_read (this=0x8363160, ssl=0x83b4400,
	    buf=0xbfbfd1b0, num=4095) at kopenssl.cc:661
	#9  0x28203317 in KSSL::read (this=0x8347a40, buf=0xbfbfd1b0, len=4095)
	    at kssl.cc:485
	#10 0x282677bb in KIO::TCPSlaveBase::read (this=0x8349000, data=0xbfbfd1b0,
	    len=4095) at tcpslavebase.cpp:174
	#11 0x296bd321 in POP3Protocol::myRead () from /usr/local/lib/kde3/kio_pop3.so
	#12 0x296c2727 in POP3Protocol::get () from /usr/local/lib/kde3/kio_pop3.so
	#13 0x2826b1a1 in KIO::SlaveBase::dispatch (this=0x8349000, command=67,
	    data=@0xbfbfe320) at slavebase.cpp:1020
	#14 0x28269d05 in KIO::SlaveBase::dispatchLoop (this=0x8349000)
	    at slavebase.cpp:290
	#15 0x296bcfe0 in kdemain () from /usr/local/lib/kde3/kio_pop3.so
	#16 0x0804f21d in launch (argc=4, _name=0x8345404 "kio_pop3",
	    args=0x8345486 "", cwd=0x0, envc=0, envs=0x834548a "", reset_env=false,
	    tty=0x0, avoid_loops=96, startup_id_str=0x805189c "0") at kinit.cpp:639
	#17 0x0804f8ca in handle_launcher_request (sock=8) at kinit.cpp:1203
	#18 0x0804fe6c in handle_requests (waitForPid=0) at kinit.cpp:1406
	#19 0x08050465 in main (argc=2, argv=0xbfbfe980, envp=0xbfbfe98c)
	    at kinit.cpp:1850


>How-To-Repeat:
	I cannot get the problem to occur on command.  It does happen once
	or twice a day though.  I've got kmail configured to POP via TLS
	once a minute.
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605151511.k4FFBvSs007958>