[pkg-fetchmail-maint] Bug#212762: marked as done (fetchmail: Segmentation fault after retrieving mail list)

Debian Bug Tracking System owner at bugs.debian.org
Thu Jul 21 17:18:13 UTC 2005


Your message dated Thu, 21 Jul 2005 13:02:37 -0400
with message-id <E1DveRR-0001fc-00 at newraff.debian.org>
and subject line Bug#212762: fixed in fetchmail 6.2.5-15
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 25 Sep 2003 21:21:59 +0000
>From RossBoylan at stanfordalumni.org Thu Sep 25 16:17:24 2003
Return-path: <RossBoylan at stanfordalumni.org>
Received: from albatross.mail.pas.earthlink.net [207.217.120.120] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1A2dUK-0005C6-00; Thu, 25 Sep 2003 16:17:24 -0500
Received: from sdn-ar-014casfrmp079.dialsprint.net ([158.252.218.81] helo=wheat.dslnorthwest.net)
	by albatross.mail.pas.earthlink.net with esmtp (Exim 3.33 #1)
	id 1A2dUI-0007nK-00; Thu, 25 Sep 2003 14:17:23 -0700
Received: from ross by wheat.dslnorthwest.net with local (Exim 3.36 #1 (Debian))
	id 1A2dUH-0006nV-00; Thu, 25 Sep 2003 14:17:21 -0700
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Ross Boylan <RossBoylan at stanfordalumni.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
CC: RossBoylan at stanfordalumni.org
Subject: fetchmail: Segmentation fault after retrieving mail list
X-Mailer: reportbug 2.29
Date: Thu, 25 Sep 2003 14:17:20 -0700
Message-Id: <E1A2dUH-0006nV-00 at wheat.dslnorthwest.net>
Sender: Ross Boylan <RossBoylan at stanfordalumni.org>
Delivered-To: submit at bugs.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0
	tests=HAS_PACKAGE
	version=2.53-bugs.debian.org_2003_9_21
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_9_21 (1.174.2.15-2003-03-30-exp)

Package: fetchmail
Version: 6.2.4-1
Severity: normal

Consider severity: important
Justification: fetchmail won't retrieve mail
As this seems something specific to my situation, I'm not sure it's
justified.    Your call.

The problem is important to me, though :)

The following excerpt from a debug-run of fetchmail shows the problem:
/etc/init.d/fetchmail: Stopping the service...
Stopping mail retrieval agent: system-wide fetchmail not running.
/etc/init.d/fetchmail: exit status of service stop was: 0
/etc/init.d/fetchmail: RUNUSER is fetchmail
/etc/init.d/fetchmail: OPTIONS would be --daemon 300 --silent --syslog -f /etc/fetchmailrc -i /var/mail/.fetchmail-UIDL-cache
/etc/init.d/fetchmail: Starting service in nodetach mode, hit ^C (SIGINT/intr) to finish run...
fetchmail: starting fetchmail 6.2.4 daemon
fetchmail: 6.2.4 querying earthlink.net (protocol POP3) at Thu Sep 25 13:50:50 2003: poll started
mailfilter: 0.5.0 querying earthlink.net on Thu Sep 25 13:50:50 2003
mailfilter: Examining 11 message(s).
fetchmail: POP3< +OK NGPopper vEL_4_38 at earthlink.net ready <3066.1064523068 at harrier>
fetchmail: POP3> CAPA
fetchmail: POP3< +OK
fetchmail: POP3< user
fetchmail: POP3< pass
fetchmail: POP3< top
fetchmail: POP3< uidl
fetchmail: POP3< .
fetchmail: POP3> USER drrboylan
fetchmail: POP3< +OK
fetchmail: POP3> PASS *
fetchmail: POP3< +OK drrboylan has 12 messages (48922 octets).
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 12 48922
fetchmail: POP3> LAST
fetchmail: POP3< +OK 0
12 messages for drrboylan at earthlink.net (48922 octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK
fetchmail: POP3< 1 5541
fetchmail: POP3< 2 3582
fetchmail: POP3< 3 6130
fetchmail: POP3< 4 3581
fetchmail: POP3< 5 4127
fetchmail: POP3< 6 3980
fetchmail: POP3< 7 3065
fetchmail: POP3< 8 3566
fetchmail: POP3< 9 4304
fetchmail: POP3< 10 3789
fetchmail: POP3< 11 3350
fetchmail: POP3< 12 3907
fetchmail: POP3< .
/etc/init.d/fetchmail: line 193: 25104 Segmentation fault      su "--command=${DAEMON} ${OPTIONS} --nosyslog --nodetach -v -v" ${RUNUSER} 0>&- 2>&1
/etc/init.d/fetchmail: End of service run. Exit status was: 139
------------------------------------

This is quite strange, because it was just working.  It also appears
to bomb with /etc/init.d/fetchmail restart, i.e., the problem is not
specific to debug mode.

The error is reliably repeatable.

This follows a rather intense period of activity mucking with
mailfilter and fetchmail settings.  I had just had my first successful
run of the combination when this problem arose.  The steps in between
success and failure were these:

Edited fetchmailrc to remove the uidl option.  (I was trying to get
some old mail off the server).  I did this as root.
Attempted debug-run produces
File /etc/fetchmailrc must be owned by you.
I did chown fetchmail:nogroup /etc/fetchmailrc (not sure what it was
before)

Another debug-run.  mailfilter ran successfully, deleting one
message.  fetchmail initiated dialogue with pop3 server and then
failed as in the above log (which is from a little later).

I was running fetchmail and mailfilter pretty frequently, so they may
have stepped on each other.  The frequent accesses to the mailbox on
the server may have put it in a bad state.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux wheat 2.4.21advncdfs #1 Wed Sep 17 22:06:42 PDT 2003 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages fetchmail depends on:
ii  adduser                       3.51       Add and remove users and groups
ii  base-files                    3.0.10     Debian base system miscellaneous f
ii  debconf                       1.3.14     Debian configuration management sy
ii  debianutils                   2.5.4      Miscellaneous utilities specific t
ii  libc6                         2.3.2-7    GNU C Library: Shared libraries an
ii  libssl0.9.7                   0.9.7b-2   SSL shared libraries

-- debconf information:
* fetchmail/confwarn: 
* fetchmail/systemwide: true
* fetchmail/initdefaultswarn: 
* fetchmail/runasroot: false
  fetchmail/fetchidswarn: 


---------------------------------------
Received: (at 212762-close) by bugs.debian.org; 21 Jul 2005 17:08:20 +0000
>From katie at ftp-master.debian.org Thu Jul 21 10:08:20 2005
Return-path: <katie at ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1DveWy-0002tQ-00; Thu, 21 Jul 2005 10:08:20 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DveRR-0001fc-00; Thu, 21 Jul 2005 13:02:37 -0400
From: Lucas Wall <lwall at debian.org>
To: 212762-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#212762: fixed in fetchmail 6.2.5-15
Message-Id: <E1DveRR-0001fc-00 at newraff.debian.org>
Sender: Archive Administrator <katie at ftp-master.debian.org>
Date: Thu, 21 Jul 2005 13:02:37 -0400
Delivered-To: 212762-close at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: fetchmail
Source-Version: 6.2.5-15

We believe that the bug you reported is fixed in the latest version of
fetchmail, which is due to be installed in the Debian FTP archive:

fetchmail-ssl_6.2.5-15_all.deb
  to pool/main/f/fetchmail/fetchmail-ssl_6.2.5-15_all.deb
fetchmail_6.2.5-15.diff.gz
  to pool/main/f/fetchmail/fetchmail_6.2.5-15.diff.gz
fetchmail_6.2.5-15.dsc
  to pool/main/f/fetchmail/fetchmail_6.2.5-15.dsc
fetchmail_6.2.5-15_i386.deb
  to pool/main/f/fetchmail/fetchmail_6.2.5-15_i386.deb
fetchmailconf_6.2.5-15_all.deb
  to pool/main/f/fetchmail/fetchmailconf_6.2.5-15_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 212762 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Lucas Wall <lwall at debian.org> (supplier of updated fetchmail package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 21 Jul 2005 13:25:10 -0300
Source: fetchmail
Binary: fetchmailconf fetchmail-ssl fetchmail
Architecture: source i386 all
Version: 6.2.5-15
Distribution: unstable
Urgency: high
Maintainer: Fetchmail Maintainers <pkg-fetchmail-maint at lists.alioth.debian.org>
Changed-By: Lucas Wall <lwall at debian.org>
Description: 
 fetchmail  - SSL enabled POP3, APOP, IMAP mail gatherer/forwarder
 fetchmail-ssl - SSL enabled POP3, APOP, IMAP mail gatherer/forwarder
 fetchmailconf - fetchmail configurator
Closes: 212762
Changes: 
 fetchmail (6.2.5-15) unstable; urgency=high
 .
   * Nico Golde:
     - fixed buffer overrun in pop3 UIDs handling CAN-2005-2335
       http://fetchmail.berlios.de/fetchmail-SA-2005-01.txt
       (closes: #212762)
Files: 
 8911c7350a00e2dfa9d4dd3a3a0b44c3 818 mail optional fetchmail_6.2.5-15.dsc
 c9cbcab2586b83f88e4c11017f018782 134079 mail optional fetchmail_6.2.5-15.diff.gz
 e6a55132dd5061695938ab12fe1c2444 101556 mail optional fetchmailconf_6.2.5-15_all.deb
 9e26c70d872dee8d3f30470ce83174f5 42522 mail optional fetchmail-ssl_6.2.5-15_all.deb
 d7a27eacf72669ef78ba03b32a91d6b1 547014 mail optional fetchmail_6.2.5-15_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC39F4vJtHM4T7RtYRAq4DAKCj+/9QitI2FdNx6fOQ1gO4uN+O1wCeJ1ix
UdMdbMYp4WrszoQgeiMoLmo=
=PJl0
-----END PGP SIGNATURE-----




More information about the pkg-fetchmail-maint mailing list