[pkg-fetchmail-maint] Bug#294547: fetchmail hangs in SSL function
on non-SSL'ed account
Reuben Thomas
rrt at sc3d.org
Sun Jul 23 10:07:12 UTC 2006
Package: fetchmail
Version: 6.3.4-1
Followup-For: Bug #294547
I ran:
strace -tt -e trace=network -p $(head -n1 /var/run/fetchmail/fetchmail.pid)
against a stuck fetchmail process which was trying to fetch from a
normal (*not* SSLed) POP3 account, and it gave no output. I attached
gdb, and got the following backtrace:
(gdb) where
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7d51c43 in read () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7e5ebda in BIO_sock_should_retry () from /usr/lib/i686/cmov/libcrypto.so.0.9.8
#3 0xb7e5c421 in BIO_read () from /usr/lib/i686/cmov/libcrypto.so.0.9.8
#4 0xb7f1cf34 in ssl3_read_n () from /usr/lib/i686/cmov/libssl.so.0.9.8
#5 0xb7f1dcc4 in ssl3_read_bytes () from /usr/lib/i686/cmov/libssl.so.0.9.8
#6 0xb7f1f4eb in ssl3_get_message () from /usr/lib/i686/cmov/libssl.so.0.9.8
#7 0xb7f1ece0 in ssl3_get_finished () from /usr/lib/i686/cmov/libssl.so.0.9.8
#8 0xb7f19fe3 in ssl3_connect () from /usr/lib/i686/cmov/libssl.so.0.9.8
#9 0xb7f2d4f5 in SSL_connect () from /usr/lib/i686/cmov/libssl.so.0.9.8
#10 0x0804c228 in ?? ()
#11 0x080db7c0 in ?? ()
#12 0x00000004 in ?? ()
#13 0x0804c030 in ?? ()
#14 0x00000000 in ?? ()
Why is fetchmail doing SSL things when none of the accounts it's
fetching from uses SSL? I double-checked that the process I gdb'ed was
the same process listed in /var/run/fetchmail/fetchmail.pid.
My /etc/fetchmailrc:
set postmaster "root"
set bouncemail
set properties ""
set daemon 60
poll <server1> with proto pop3
user <user1> password <pwd1> is <localuser> here
options fetchall
antispam 571 550 501 554
poll <server2> with proto pop3
user <user2> password <pwd2> is <localuser> here
options fetchall
antispam 571 550 501 554
poll <server3> with proto pop3
user <user3> password <pwd3> is <localuser> here
options fetchall
antispam 571 550 501 554
I checked the changelog for 6.3.4-3, and the changes since 6.3.4-1 don't
seem to be relevant to this bug.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages fetchmail depends on:
ii adduser 3.87 Add and remove users and groups
ii debianutils 2.16.2 Miscellaneous utilities specific t
ii gettext 0.14.6-1 GNU Internationalization utilities
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii libssl0.9.8 0.9.8b-2 SSL shared libraries
Versions of packages fetchmail recommends:
ii ca-certificates 20050804 Common CA Certificates PEM files
-- no debconf information
More information about the pkg-fetchmail-maint
mailing list