From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 15 15:20:20 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6796B16A424 for ; Mon, 15 May 2006 15:20:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2524A43D48 for ; Mon, 15 May 2006 15:20:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4FFKIli096180 for ; Mon, 15 May 2006 15:20:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4FFKIK4096179; Mon, 15 May 2006 15:20:18 GMT (envelope-from gnats) Resent-Date: Mon, 15 May 2006 15:20:18 GMT Resent-Message-Id: <200605151520.k4FFKIK4096179@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mike Durian Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7473616A5F1 for ; Mon, 15 May 2006 15:12:03 +0000 (UTC) (envelope-from durian@boogie.com) Received: from mailhost.boogie.com (mailhost.boogie.com [70.91.170.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B1C943D70 for ; Mon, 15 May 2006 15:11:58 +0000 (GMT) (envelope-from durian@boogie.com) Received: from boogie.com (man.boogie.com [192.168.1.3]) by mailhost.boogie.com (8.13.6/8.13.6) with ESMTP id k4FFBwPa085409 for ; Mon, 15 May 2006 09:11:58 -0600 (MDT) (envelope-from durian@fever.boogie.com) Received: from man.boogie.com (localhost [127.0.0.1]) by boogie.com (8.13.6/8.13.6) with ESMTP id k4FFBwdl007959 for ; Mon, 15 May 2006 09:11:58 -0600 (MDT) (envelope-from durian@man.boogie.com) Received: (from durian@localhost) by man.boogie.com (8.13.6/8.13.6/Submit) id k4FFBvSs007958; Mon, 15 May 2006 09:11:57 -0600 (MDT) (envelope-from durian) Message-Id: <200605151511.k4FFBvSs007958@man.boogie.com> Date: Mon, 15 May 2006 09:11:57 -0600 (MDT) From: Mike Durian To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/97305: kio_pop3 wedges during POP from remote VPN'd site X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mike Durian List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 15:20:21 -0000 >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: