From owner-freebsd-stable Fri Dec 28 11:33:39 2001 Delivered-To: freebsd-stable@freebsd.org Received: from relay.cigital.com (relay.cigital.com [64.80.176.5]) by hub.freebsd.org (Postfix) with ESMTP id DB50637B421 for ; Fri, 28 Dec 2001 11:32:50 -0800 (PST) Received: from exchange.cigital.com (exchange.cigital.com [10.1.20.3]) by relay.cigital.com (Postfix) with ESMTP id 594115B11B for ; Fri, 28 Dec 2001 14:32:49 -0500 (EST) Received: by exchange.cigital.com with Internet Mail Service (5.5.2653.19) id ; Fri, 28 Dec 2001 14:29:08 -0500 Message-ID: <51CC94132526754995E79DCF28C0C34D09B095@exchange.cigital.com> From: Yanek Korff To: "'freebsd-stable@freebsd.org'" Subject: stunnel; pop3 dies -- longjmp()ing undefined Date: Fri, 28 Dec 2001 14:29:06 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm having some trouble with stunnel and pop. The stunnel process for pop3 dies intermittently. Has anyone had experience with stunnel on FreeBSD who may be able to shed some light on this problem? -Yanek. ktrace output: 57737 stunnel RET connect -1 errno 36 Operation now in progress 57737 stunnel CALL poll(0x806f000,0x2,0) 57737 stunnel RET poll 0 57737 stunnel CALL poll(0x806f000,0x3,0x169a) 57737 stunnel RET poll 0 57737 stunnel CALL gettimeofday(0x28202c48,0) 57737 stunnel RET gettimeofday 0 57737 stunnel CALL clock_gettime(0,0xbfaedfa4) 57737 stunnel RET clock_gettime 0 57737 stunnel CALL poll(0x806f000,0x2,0) 57737 stunnel RET poll 0 57737 stunnel CALL poll(0x806f000,0x3,0x2710) 57737 stunnel RET poll 0 57737 stunnel CALL gettimeofday(0x28202c48,0) 57737 stunnel RET gettimeofday 0 57737 stunnel CALL clock_gettime(0,0xbfaedfa4) 57737 stunnel RET clock_gettime 0 57737 stunnel CALL poll(0x806f000,0x2,0) 57737 stunnel RET poll 0 57737 stunnel CALL poll(0x806f000,0x3,0x2710) 57737 stunnel PSIG SIGALRM caught handler=0x281b888c mask=0x0 code=0x0 57737 stunnel RET poll -1 errno 4 Interrupted system call 57737 stunnel CALL write(0x4,0x806ce5f,0x1) 57737 stunnel GIO fd 4 wrote 1 byte "\^N" 57737 stunnel RET write 1 57737 stunnel CALL sigreturn(0x806ce7c) 57737 stunnel RET sigreturn JUSTRETURN 57737 stunnel CALL read(0x3,0x8062ed8,0x80) 57737 stunnel GIO fd 3 read 1 byte "\^N" 57737 stunnel RET read 1 57737 stunnel CALL read(0x3,0x8062ed8,0x80) 57737 stunnel RET read -1 errno 35 Resource temporarily unavailable 57737 stunnel CALL gettimeofday(0x28202c48,0) 57737 stunnel RET gettimeofday 0 57737 stunnel CALL write(0x2,0xbfbff468,0x98) 57737 stunnel GIO fd 2 wrote 152 bytes "Fatal error 'longjmp()ing between thread contexts is undefined by POSIX 1003.\ 1' at line ? in file /usr/src/lib/libc_r/uthread/uthread_jmp.c (errno = ?) " 57737 stunnel RET write 152/0x98 57737 stunnel CALL sigprocmask(0x3,0xbfbff428,0) 57737 stunnel RET sigprocmask 0 57737 stunnel CALL getpid 57737 stunnel RET getpid 57737/0xe189 57737 stunnel CALL kill(0xe189,0x6) 57737 stunnel PSIG SIGIOT SIG_DFL 57737 stunnel NAMI "stunnel.core" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message