From owner-freebsd-ports Sat Jan 5 22:11:20 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mail5.mgfairfax.rr.com (fe5.southeast.rr.com [24.93.67.52]) by hub.freebsd.org (Postfix) with ESMTP id A2B4B37B404 for ; Sat, 5 Jan 2002 22:11:17 -0800 (PST) Received: from dashaus ([66.61.36.125]) by mail5.mgfairfax.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Sun, 6 Jan 2002 01:11:16 -0500 From: "Yanek Korff" To: Cc: Subject: FreeBSD Port: stunnel-3.22 Date: Sun, 6 Jan 2002 01:11:15 -0500 Message-ID: <000101c19678$f380a1e0$0501fea9@dashaus> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've been trying to use stunnel at my ISP for a while now, I am part-responsible for one of the systems there, and am encountering this: 8511 stunnel RET clock_gettime 0 8511 stunnel CALL poll(0x806f000,0x2,0) 8511 stunnel RET poll 0 8511 stunnel CALL poll(0x806f000,0x3,0x2710) 8511 stunnel PSIG SIGALRM caught handler=0x281b888c mask=0x0 code=0x0 8511 stunnel RET poll -1 errno 4 Interrupted system call 8511 stunnel CALL write(0x4,0x806ce5f,0x1) 8511 stunnel GIO fd 4 wrote 1 byte "\^N" 8511 stunnel RET write 1 8511 stunnel CALL sigreturn(0x806ce7c) 8511 stunnel RET sigreturn JUSTRETURN 8511 stunnel CALL read(0x3,0x8062ed8,0x80) 8511 stunnel GIO fd 3 read 1 byte "\^N" 8511 stunnel RET read 1 8511 stunnel CALL read(0x3,0x8062ed8,0x80) 8511 stunnel RET read -1 errno 35 Resource temporarily unavailable 8511 stunnel CALL gettimeofday(0x28202c48,0) 8511 stunnel RET gettimeofday 0 8511 stunnel CALL write(0x2,0xbfbff464,0x98) 8511 stunnel GIO fd 2 wrote 152 bytes "Fatal error 'longjmp()ing between thread contexts is undefined by POSIX 1003.1' at line ? i\ n file /usr/src/lib/libc_r/uthread/uthread_jmp.c (errno = ?) " 8511 stunnel RET write 152/0x98 8511 stunnel CALL sigprocmask(0x3,0xbfbff424,0) 8511 stunnel RET sigprocmask 0 8511 stunnel CALL getpid 8511 stunnel RET getpid 8511/0x213f 8511 stunnel CALL kill(0x213f,0x6) 8511 stunnel PSIG SIGIOT SIG_DFL 8511 stunnel NAMI "stunnel.core" I have since spent considerable time trying to ensure that stunnel does not compile using libc_r. This was not as easy as it might be. Any idea why this might be happening, and could you, perhaps, make it easier to disable libc_r? The effect is that pop3 running over stunnel dies. IMAP over stunnel never does. -Yanek. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message