Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2001 14:29:06 -0500
From:      Yanek Korff <yanek@cigital.com>
To:        "'freebsd-stable@freebsd.org'" <freebsd-stable@freebsd.org>
Subject:   stunnel; pop3 dies -- longjmp()ing undefined
Message-ID:  <51CC94132526754995E79DCF28C0C34D09B095@exchange.cigital.com>

next in thread | raw e-mail | index | archive | help
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




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