fetchmail-friends
[Top] [All Lists]

[fetchmail]fetchmail bug report

2001-05-01 00:39:33
I'm reporting what seems like a fetchmail bug.

When I run fetchmail with the file:
-rw-------   1 falzer   users      65 May  1 00:04 /home/falzer/.fetchmailrc
containing a single line:
poll mail protocol pop3 username "falzer" keep uidl
I get this sort of output:

~ $ fetchmail
Segmentation fault

But if the rcfile looks like this:
poll mail protocol pop3 uidl username "falzer" keep
fetchmail (with no command line arguments) works.

Here is some info.

~/.fetchids does not exist.

Message pop3 server gives me on startup: +OK InterMail POP3 server ready.

I have
export procmail=/usr/sbin/procmail
in my ~/.profile.

Fetchmail was built from source.

fetchmail -v -v segfaulted immediately with the broken .fetchmailrc

The last few lines of "strace fetchmail"'s output (with broken .fetchmailrc):
stat("/home/falzer/.fetchmailrc", {st_mode=S_IFREG|0600, st_size=52, ...}) = 0
lstat("/home/falzer/.fetchmailrc", {st_mode=S_IFREG|0600, st_size=52, ...}) = 0
geteuid()                               = 1000
open("/home/falzer/.fetchmailrc", O_RDONLY) = 3
brk(0x8090000)                          = 0x8090000
ioctl(3, TCGETS, 0xbfff70b0)            = -1 ENOTTY (Inappropriate ioctl for dev
ice)
read(3, "poll mail protocol pop3 username"..., 8192) = 52
read(3, "", 8140)                       = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
     
Some output of "strace fetchmail" with the working .fetchmailrc,
where the other one stopped:    
stat("/home/falzer/.fetchmailrc", {st_mode=S_IFREG|0600, st_size=52, ...}) = 0
lstat("/home/falzer/.fetchmailrc", {st_mode=S_IFREG|0600, st_size=52, ...}) = 0
geteuid()                               = 1000
open("/home/falzer/.fetchmailrc", O_RDONLY) = 3
brk(0x8090000)                          = 0x8090000
ioctl(3, TCGETS, 0xbfff70b0)            = -1 ENOTTY (Inappropriate ioctl for dev
ice)                            
read(3, "poll mail protocol pop3 uidl use"..., 8192) = 52
read(3, "", 8140)                       = 0
read(3, "", 8192)                       = 0     
ioctl(3, TCGETS, 0xbfff70a8)            = -1 ENOTTY (Inappropriate ioctl for dev
ice)
close(3)                                = 0
...etc...

Output of fetchmail -V (with broken .fetchmailrc):
This is fetchmail release 5.8.1+NLS
Linux ironbox 2.2.18 #2 Sat Jan 13 15:39:44 PST 2001 i586 unknown
Segmentation fault

Output of fetchmail -V (with working .fetchmailrc):
This is fetchmail release 5.8.1+NLS
Linux ironbox 2.2.18 #2 Sat Jan 13 15:39:44 PST 2001 i586 unknown
Taking options from command line and /home/falzer/.fetchmailrc
Idfile is /home/falzer/.fetchids
Fetchmail will forward misaddressed multidrop messages to falzer.
Options for retrieving from falzer(_at_)mail:
  True name of server is femail.bc.wave.home.com.
  Password will be prompted for.
  Protocol is POP3 (forcing UIDL use).
  All available authentication methods will be tried.
  Server nonresponse timeout is 300 seconds (default).
  Default mailbox selected.
  Only new messages will be retrieved (--all off).
  Fetched messages will be kept on the server (--keep on).
  Old messages will not be flushed before message retrieval (--flush off).
  Rewrite of server-local addresses is enabled (--norewrite off).
  Carriage-return stripping is disabled (stripcr off).
  Carriage-return forcing is disabled (forcecr off).
  Interpretation of Content-Transfer-Encoding is enabled (pass8bits off).
  MIME decoding is disabled (mimedecode off).
  Idle after poll is disabled (idle off).
  Nonempty Status lines will be kept (dropstatus off)
  Delivered-To lines will be kept (dropdelivered off)
  Messages will be SMTP-forwarded to: localhost (default)
  Recognized listener spam block responses are: 571 550 501 554
  Single-drop mode: 1 local name(s) recognized.
  No UIDs saved from this host.

Hopefully this is enough information.


<Prev in Thread] Current Thread [Next in Thread>