fetchmail-friends
[Top] [All Lists]

[fetchmail]Fetchmail crashes with corrupted .fetchids

2001-05-01 03:38:21
Fetchmail will segfault when trying to access a corrupted
.fetchids file.

A meaningfull error message would have saved me some days
without mail :)

-------------------------------------------------------------------

giancarlo(_at_)garf:~/fetchmail-5.8.0 > ./fetchmail -V

This is fetchmail release 5.8.0+NLS
Linux garf 2.4.3 #11 Wed Apr 25 17:54:21 MEST 2001 i686 unknown
Segmentation fault (core dumped)

giancarlo(_at_)garf:~/fetchmail-5.8.0 > gdb fetchmail core

GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i586-pc-linux-gnu"...
Core was generated by `./fetchmail -V'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
7Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
#0  0x400b6e15 in __strcasecmp (s1=0x0, s2=0x8087eb8 "gisco.digibel.be")
    at ../sysdeps/generic/strcasecmp.c:64

warning: Source file is more recent than executable.

64              '\360', '\361', '\362', '\363', '\364', '\365', '\366',
'\367',
(gdb) bt
#0  0x400b6e15 in __strcasecmp (s1=0x0, s2=0x8087eb8 "gisco.digibel.be")
    at ../sysdeps/generic/strcasecmp.c:64
#1  0x8060e07 in initialize_saved_lists (hostlist=0x8086ef8,
    idfile=0x8082bf8 "/home/giancarlo/.fetchids") at uid.c:165
#2  0x8054279 in load_params (argc=2, argv=0xbffff74c, optind=2) at
fetchmail.c:1256
#3  0x8051546 in main (argc=2, argv=0xbffff74c) at fetchmail.c:245
#4  0x40077a8e in __libc_start_main (main=0x8051310 <main>, argc=2,
argv=0xbffff74c,
    init=0x804991c <_init>, fini=0x806aa1c <_fini>, rtld_fini=0x4000aa20
<_dl_fini>,
    stack_end=0xbffff744) at ../sysdeps/generic/libc-start.c:92
(gdb)

Built with gcc 2.95.3, glibc 2.1.3, forwarding to qmail 1.0.3

-- 
GCP



<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail]Fetchmail crashes with corrupted .fetchids, Gian-Carlo Pascutto <=