Package: fetchmail
Version: 6.2.5-12
Followup-For: Bug #212762

Fails with a segmentation fault with a really long uid. Included with
this report is the fetchids file, bt output, strace output, ltrace
output, and fetchmail -v -v output.

If any other information would be helpful, please let me know.

----- fetchmail -v -v --------------
fetchmail: awakened at Sat 19 Feb 2005 12:40:43 AM EST
fetchmail: interval not reached, not querying 192.168.1.1
fetchmail: Writing fetchids file.
fetchmail: sleeping at Sat 19 Feb 2005 12:40:43 AM EST
fetchmail: awakened at Sat 19 Feb 2005 12:41:13 AM EST
fetchmail: 6.2.5 querying 192.168.1.1 (protocol POP3) at Sat 19 Feb 2005 
12:41:13 AM EST: poll started
fetchmail: POP3< +OK MrPostman webmail proxy ready
fetchmail: POP3> USER [EMAIL PROTECTED]
fetchmail: POP3< +OK user [EMAIL PROTECTED] accepted
fetchmail: POP3> PASS *^M
fetchmail: POP3< +OK password accepted
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 21 2760704
fetchmail: POP3> LAST
fetchmail: POP3< -ERR Command not supported or recognized
fetchmail: POP3> UIDL 11
fetchmail: POP3< +OK 11 
8389_0_2890_1347_2248_0_1234_7483_2506326049_oSObkYn4Ur5HQV7r2mDutBsIQs29pnxJ0QI10iq8A3Sb0pvJF0RrukbovBG6liUYs_RPrzlZWKWdBcSRxu6C2YmeFtT1eV3ufzzbuVa4C8WDI3AUO0qtlkxFQxKE9WHKmt08DcVGLVt1jQCxRjzzVRYTlOKPnKM-

---- fetchids file -----
SObkYn4Ur5HQV7r2mDutBsIQs29pnxJ0QI10iq8A3Sb0pvJF0RrukbovBG6liUYs_RPrzlZWKWdBcSRxu6C2YmeFtT1eV3ufzzbuVa4C8WDI3AUO0qtlkxFQxKE9WHKmt08DcVGLVt1jQCxRjzzVRYTlOKPnKM-
[EMAIL PROTECTED]@192.168.1.1 
8106_0_3404_1284_76422_0_1224_156619_3999656005_oSObkYn4Ur5HQV7r2mDutBsIQs29pnxJ0QI10iq8A3Sb0pvJF0RrukbovBG6liUYs_RPrzlZWKWdBcSRxu6C2YmeFtT1cFrkI09T7DtFr9LU0J7xfHeEU02tmId54s_NPK6rbBnjabfxHwATr6yp3aXU3524_uZC
[EMAIL PROTECTED]@192.168.1.1 
6469_0_3893_1280_640_0_1223_1642_360576369_oSObkYn4Ur5HQV7r2mDutBsIQs29pnxJ0QI10iq8A3Sb0pvJF0RrukbovBG6liUYs_RPrzlZWKWdBcSRxu6C2YmeFtT1cFrqyeaH5y_v3uevK8vlTJJfzWcKbNhcIQNWL8ze.jKuNQmVh36jK8KzSNUzA_0vffI-
[EMAIL PROTECTED]@192.168.1.1 
9214_0_4427_1470_5565_0_1188_22028_861702103_oSObkYn4Ur5HQV7r2mDutBsIQs29pnxJ0QI10iq8A3Sb0pvJF0RrukbovBG6liUYs_RPrzlZWKWdBcSRxu6C2YmeFtT2eFnlK.3_c6GNkSTjk2UTr9w.dnBkmzETkC1h6p3bMrfva21SEsEheZ2yXJPlFEI.b08-
[EMAIL PROTECTED]@192.168.1.1 
3602_0_4937_1502_12899_0_1161_18546_532919462_oSObkYn4Ur5HQV7r2mDutBsIQs29pnxJ0QI10iq8A3Sb0pvJF0RrukbovBG6liUYs_RPrzlZWKWdBcSRxu6C2YmeFtT2eFvuOT2.OFRflmLwWGSYgUHyvCfBqs5ESle.ek3cYQdBg3ik7Qyp2KUNOS1Qbsl3vhKP
[EMAIL PROTECTED]@192.168.1.1 
2452_0_5438_1428_2050_0_1145_5725_34757075_oSObkYn4Ur5HQV7r2mDutBsIQs29pnxJ0QI10iq8A3Sb0pvJF0RrukbovBG6liUYs_RPrzlZWKWdBcSRxu6C2YmeFtT2d1zlwUDML8oCwHpCG3VDruZ2cWixLm58I2VxYdxBNRqnv4KG9kjAMH_5MKj9TG.SPSw-
[EMAIL PROTECTED]@192.168.1.1 
7406_0_5964_1342_152034_0_1106_210416_4255623294_oSObkYn4Ur5HQV7r2mDutBsIQs29pnxJ0QI10iq8A3Sb0pvJF0RrukbovBG6liUYs_RPrzlZWKWdBcSRxu6C2YmeFtT2cFrusy2xTFR1KCSOBkZxyKEB_7Gc9MFRssdfH11jrfO_VvD2Re6WmBFm8Z6PNa3.Ag--
[EMAIL PROTECTED]@192.168.1.1 7963_7058784_1407_1295_1236_0_1298_2159_2018672021
[EMAIL PROTECTED]@192.168.1.1 4747_6917113_159_1360_1297_0_1287_2275_2830436148
[EMAIL PROTECTED]@192.168.1.1 3501_6914624_595_1314_1173_0_1286_2048_3169185279
[EMAIL PROTECTED]@192.168.1.1 4327_5762502_1009_1273_1366_0_1272_2632_3476829756

----- strace output -----

write(1, "fetchmail: awakened at Sat 19 Fe"..., 55) = 55
stat64("/var/mail/zip.fetchmail", {st_mode=S_IFREG|0710, st_size=171, ...}) = 0
time([1108791673])                      = 1108791673
write(1, "fetchmail: 6.2.5 querying 192.16"..., 103) = 103
rt_sigaction(SIGALRM, {0x805aaa0, [], 0}, {0x8056150, [], 0}, 8) = 0
rt_sigaction(SIGPIPE, {0x805aae0, [], SA_RESTART}, {0x8056150, [], SA_RESTART}, 
8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={300, 0}}, NULL) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(11110), 
sin_addr=inet_addr("192.168.1.1")}, 16) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={300, 0}}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={300, 0}}, NULL) = 0
recv(3, "+OK MrPostman webmail proxy read"..., 512, MSG_PEEK) = 35
read(3, "+OK MrPostman webmail proxy read"..., 35) = 35
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(1, "fetchmail: POP3< +OK MrPostman w"..., 51) = 51
write(3, "USER [EMAIL PROTECTED]", 24) = 24
write(1, "fetchmail: POP3> USER [EMAIL PROTECTED]"..., 41) = 41
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={300, 0}}, NULL) = 0
recv(3, "+OK user [EMAIL PROTECTED] accep"..., 512, MSG_PEEK) = 37
read(3, "+OK user [EMAIL PROTECTED] accep"..., 37) = 37
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(1, "fetchmail: POP3< +OK user zipfor"..., 53) = 53
write(3, "PASS <password>\r\n", 15)       = 15
write(1, "fetchmail: POP3> PASS *\r\n", 25) = 25
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={300, 0}}, NULL) = 0
recv(3, "+OK password accepted\r\n", 512, MSG_PEEK) = 23
read(3, "+OK password accepted\r\n", 23) = 23
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(1, "fetchmail: POP3< +OK password ac"..., 39) = 39
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0x805a6c0, [], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({3, 0}, {3, 0})               = 0
write(1, "fetchmail: selecting or re-polli"..., 50) = 50
write(3, "STAT\r\n", 6)                 = 6
write(1, "fetchmail: POP3> STAT\n", 22) = 22
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={300, 0}}, NULL) = 0
recv(3, "+OK 21 2760704\r\n", 512, MSG_PEEK) = 16
read(3, "+OK 21 2760704\r\n", 16)       = 16
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(1, "fetchmail: POP3< +OK 21 2760704\n", 32) = 32
write(3, "LAST\r\n", 6)                 = 6
write(1, "fetchmail: POP3> LAST\n", 22) = 22
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={300, 0}}, NULL) = 0
recv(3, "-ERR Command not supported or re"..., 512, MSG_PEEK) = 42
read(3, "-ERR Command not supported or re"..., 42) = 42
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(1, "fetchmail: POP3< -ERR Command no"..., 58) = 58
write(2, "fetchmail: ", 11)             = 11
write(2, "Command not supported or recogni"..., 36) = 36
write(3, "UIDL 11\r\n", 9)              = 9
write(1, "fetchmail: POP3> UIDL 11\n", 25) = 25
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={300, 0}}, NULL) = 0
recv(3, "+OK 11 8389_0_2890_1347_2248_0_1"..., 512, MSG_PEEK) = 214
read(3, "+OK 11 8389_0_2890_1347_2248_0_1"..., 214) = 214
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(1, "fetchmail: POP3< +OK 11 8389_0_2"..., 230) = 230
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


------ ltrace output -------------
vfprintf(0xb7e53be0, "awakened at %s\n", 0xbffffba8) = 44
fflush(0xb7e53be0)                               = 0
__xstat(3, "/var/mail/zip.fetchmail", 0xbffffbe0) = 0
time(0xbffffb60)                                 = 1108793284
setlocale(2, "")                                 = "en_US.UTF-8"
localtime(0xbffffb60)                            = 0xb7e5d7c0
strftime("Sat 19 Feb 2005 01:08:04 AM EST", 60, "%c", 0xb7e5d7c0) = 31
setlocale(2, "C")                                = "C"
dcgettext(0, 0x80732e0, 5, 0x4216b42c, 0)        = 0x80732e0
fflush(0xb7e53be0)                               = 0
fprintf(0xb7e53be0, "%s: ", "fetchmail")         = 11
vfprintf(0xb7e53be0, "%s querying %s (protocol %s) at "..., 0xbffffb78) = 92
fflush(0xb7e53be0)                               = 0
memset(0xbfffb950, '\000', 140)                  = 0xbfffb950
sigemptyset(0xbfffb954)                          = 0
sigaction(14, 0xbfffb950, 0xbfffb8c0)            = 0
memset(0xbfffb950, '\000', 140)                  = 0xbfffb950
sigemptyset(0xbfffb954)                          = 0
sigaction(13, 0xbfffb950, 0xbfffb8c0)            = 0
_setjmp(0x8081ee0, 0x805aae0, 21, 0xbfffb98c, 0) = 0
setitimer(0, 0xbfffb9e0, 0, 0x805ab58, 0)        = 0
inet_aton("192.168.1.1", 0xbfffb9d4)             = 1
socket(2, 1, 0)                                  = 3
connect(3, 0xbfffb9d0, 16, 0, 0xbfffb9e0)        = 0
setitimer(0, 0xbfffb9e0, 0, 0, 0)                = 0
setitimer(0, 0xbfffb9e0, 0, 0, 0)                = 0
setitimer(0, 0xbfffb770, 0, 0, 0)                = 0
recv(3, 0xbfffb7d0, 512, 2, 0)                   = 35
memchr("+OK MrPostman webmail proxy read"..., '\n', 35) = 0xbfffb7f2
read(3, "+OK MrPostman webmail proxy read"..., 35) = 35
setitimer(0, 0xbfffb770, 0, 2, 0)                = 0
strlen("+OK MrPostman webmail proxy read"...)    = 35
strlen("+OK MrPostman webmail proxy read"...)    = 34
fflush(0xb7e53be0)                               = 0
fprintf(0xb7e53be0, "%s: ", "fetchmail")         = 11
vfprintf(0xb7e53be0, "%s< %s\n", 0xbfffb798)     = 40
fflush(0xb7e53be0)                               = 0
__ctype_b_loc()                                  = 0xb7d26564
strcpy(0xbfffda60, "MrPostman webmail proxy ready") = 0xbfffda60
strcasecmp("192.168.1.1", "pop3.email.msn.com")  = -63
vsnprintf("USER [EMAIL PROTECTED]", 8193, "USER %s", 0xbfffb9c8) = 22
snprintf("\r\n", 8171, "\r\n")                   = 2
write(3, "USER [EMAIL PROTECTED]", 24)       = 24
fflush(0xb7e53be0)                               = 0
fprintf(0xb7e53be0, "%s: ", "fetchmail")         = 11
vfprintf(0xb7e53be0, "%s> %s\n", 0xbfff9978)     = 30
fflush(0xb7e53be0)                               = 0
setitimer(0, 0xbfff96e0, 0, 0xb7e538a0, 0)       = 0
recv(3, 0xbfff9740, 512, 2, 0)                   = 37
memchr("+OK user [EMAIL PROTECTED] accep"..., '\n', 37) = 0xbfff9764
read(3, "+OK user [EMAIL PROTECTED] accep"..., 37) = 37
setitimer(0, 0xbfff96e0, 0, 2, 0)                = 0
strlen("+OK user [EMAIL PROTECTED] accep"...)    = 37
strlen("+OK user [EMAIL PROTECTED] accep"...)    = 36
fflush(0xb7e53be0)                               = 0
fprintf(0xb7e53be0, "%s: ", "fetchmail")         = 11
vfprintf(0xb7e53be0, "%s< %s\n", 0xbfff9708)     = 42
fflush(0xb7e53be0)                               = 0
__ctype_b_loc()                                  = 0xb7d26564
strcpy(0xbfff9990, "user [EMAIL PROTECTED] accepted") = 0xbfff9990
strcpy(0x8085940, "<password>")                    = 0x8085940
vsnprintf("PASS <password>", 8193, "PASS %s", 0xbfffb9c8) = 13
snprintf("\r\n", 8180, "\r\n")                   = 2
write(3, "PASS <password>\r\n", 15)                = 15
strstr("PASS <password>\r\n", "<password>")          = "<password>\r\n"
strlen("<password>")                               = 8
fflush(0xb7e53be0)                               = 0
fprintf(0xb7e53be0, "%s: ", "fetchmail")         = 11
vfprintf(0xb7e53be0, "%s> %s\n", 0xbfff9978)     = 14
fflush(0xb7e53be0)                               = 0
setitimer(0, 0xbfff96e0, 0, 0x8066056, 0)        = 0
recv(3, 0xbfff9740, 512, 2, 0)                   = 23
memchr("+OK password accepted\r\ncom accep"..., '\n', 23) = 0xbfff9756
read(3, "+OK password accepted\r\n", 23)         = 23
setitimer(0, 0xbfff96e0, 0, 2, 0)                = 0
strlen("+OK password accepted\r\n")              = 23
strlen("+OK password accepted\r")                = 22
fflush(0xb7e53be0)                               = 0
fprintf(0xb7e53be0, "%s: ", "fetchmail")         = 11
vfprintf(0xb7e53be0, "%s< %s\n", 0xbfff9708)     = 28
fflush(0xb7e53be0)                               = 0
__ctype_b_loc()                                  = 0xb7d26564
strcpy(0xbfff9990, "password accepted")          = 0xbfff9990
sleep(3)                                         = 0
gettext(0x8076820, 0x808f528, 0xbfffda60, 0, 0)  = 0x8076820
fflush(0xb7e53be0)                               = 0
fprintf(0xb7e53be0, "%s: ", "fetchmail")         = 11
vfprintf(0xb7e53be0, "selecting or re-polling default "..., 0xbfffba08) = 39
fflush(0xb7e53be0)                               = 0
vsnprintf("STAT", 8193, "STAT", 0xbfffb728)      = 4
snprintf("\r\n", 8189, "\r\n")                   = 2
write(3, "STAT\r\n", 6)                          = 6
fflush(0xb7e53be0)                               = 0
fprintf(0xb7e53be0, "%s: ", "fetchmail")         = 11
vfprintf(0xb7e53be0, "%s> %s\n", 0xbfff96e8)     = 11
fflush(0xb7e53be0)                               = 0
setitimer(0, 0xbfffb490, 0, 0, 0)                = 0
recv(3, 0xbfffb4f0, 512, 2, 0)                   = 16
memchr("+OK 21 2760704\r\n\001", '\n', 16)       = 0xbfffb4ff
read(3, "+OK 21 2760704\r\n", 16)                = 16
setitimer(0, 0xbfffb490, 0, 2, 0)                = 0
strlen("+OK 21 2760704\r\n")                     = 16
strlen("+OK 21 2760704\r")                       = 15
fflush(0xb7e53be0)                               = 0
fprintf(0xb7e53be0, "%s: ", "fetchmail")         = 11
vfprintf(0xb7e53be0, "%s< %s\n", 0xbfffb4b8)     = 21
fflush(0xb7e53be0)                               = 0
__ctype_b_loc()                                  = 0xb7d26564
strcpy(0xbfffb7d0, "21 2760704")                 = 0xbfffb7d0
sscanf(0xbfffb7d0, 0x807170b, 0xbfffba54, 0xbfffba5c, 0xb7d9643a) = 2
vsnprintf("LAST", 8193, "LAST", 0xbfffb728)      = 4
snprintf("\r\n", 8189, "\r\n")                   = 2
write(3, "LAST\r\n", 6)                          = 6
fflush(0xb7e53be0)                               = 0
fprintf(0xb7e53be0, "%s: ", "fetchmail")         = 11
vfprintf(0xb7e53be0, "%s> %s\n", 0xbfff96e8)     = 11
fflush(0xb7e53be0)                               = 0
setitimer(0, 0xbfffb490, 0, 0x8066056, 0)        = 0
recv(3, 0xbfffb4f0, 512, 2, 0)                   = 42
memchr("-ERR Command not supported or re"..., '\n', 42) = 0xbfffb519
read(3, "-ERR Command not supported or re"..., 42) = 42
setitimer(0, 0xbfffb490, 0, 2, 0)                = 0
strlen("-ERR Command not supported or re"...)    = 42
strlen("-ERR Command not supported or re"...)    = 41
fflush(0xb7e53be0)                               = 0
fprintf(0xb7e53be0, "%s: ", "fetchmail")         = 11
vfprintf(0xb7e53be0, "%s< %s\n", 0xbfffb4b8)     = 47
fflush(0xb7e53be0)                               = 0
__ctype_b_loc()                                  = 0xb7d26564
fflush(0xb7e53d40)                               = 0
fprintf(0xb7e53d40, "%s: ", "fetchmail")         = 11
vfprintf(0xb7e53d40, "%s\n", 0xbfffb4d8)         = 36
fflush(0xb7e53d40)                               = 0
strcpy(0xbfffb7d0, "Command not supported or recogni"...) = 0xbfffb7d0
vsnprintf("UIDL 11", 8193, "UIDL %d", 0xbfffb428) = 7
snprintf("\r\n", 8186, "\r\n")                   = 2
write(3, "UIDL 11\r\n", 9)                       = 9
fflush(0xb7e53be0)                               = 0
fprintf(0xb7e53be0, "%s: ", "fetchmail")         = 11
vfprintf(0xb7e53be0, "%s> %s\n", 0xbfff93e8)     = 14
fflush(0xb7e53be0)                               = 0
setitimer(0, 0xbfffb190, 0, 0xbfffb754, 0)       = 0
recv(3, 0xbfffb1f0, 512, 2, 0)                   = 214
memchr("+OK 11 8389_0_2890_1347_2248_0_1"..., '\n', 214) = 0xbfffb2c5
read(3, "+OK 11 8389_0_2890_1347_2248_0_1"..., 214) = 214
setitimer(0, 0xbfffb190, 0, 2, 0)                = 0
strlen("+OK 11 8389_0_2890_1347_2248_0_1"...)    = 214
strlen("+OK 11 8389_0_2890_1347_2248_0_1"...)    = 213
fflush(0xb7e53be0)                               = 0
fprintf(0xb7e53be0, "%s: ", "fetchmail")         = 11
vfprintf(0xb7e53be0, "%s< %s\n", 0xbfffb1b8)     = 219
fflush(0xb7e53be0)                               = 0
__ctype_b_loc()                                  = 0xb7d26564
strcpy(0xbfffb430, "11 8389_0_2890_1347_2248_0_1234_"...) = 0xbfffb430
sscanf(0xbfffb430, 0x80716de, 0xbfffb654, 0xbfffb670, 0x38203131) = 2
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++


------ backtrace -------
#0  str_in_list (idl=0x74564d73,
    str=0xbfffb690 
"8389_0_2890_1347_2248_0_1234_7483_2506326049_oSObkYn4Ur5HQV7r2mDutBsIQs29pnxJ0QI10iq8A3Sb0pvJF0RrukbovBG6liUYs_RPrzlZWKWdBcSRxu6C2YmeFtT1eV3ufzzbuVa4C8WDI3AUO0qtlkxFQxKE9WHKmt08DcVGLVt1jQCxRjzzVRYTlOK"...,
    caseblind=0 '\0') at uid.c:353
#1  0x0804fe61 in pop3_fastuidl (sock=1449346104, ctl=0x74564c47,
    count=1129409073, newp=0x74564d73) at pop3.c:643
#2  0x30746d4b in ?? ()
#3  0x56634438 in ?? ()
#4  0x74564c47 in ?? ()
#5  0x43516a31 in ?? ()
#6  0x7a6a5278 in ?? ()
#7  0x5952567a in ?? ()
#8  0x4b4f6c54 in ?? ()
#9  0x4d4b6e50 in ?? ()
#10 0x0000002d in ?? ()
#11 0x00000000 in ?? ()
#12 0x0805a700 in sigchld_handler () at daemon.c:83
Previous frame inner to this frame (corrupt stack?)

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (650, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-p4.20050217
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)

Versions of packages fetchmail depends on:
ii  adduser                     3.59         Add and remove users and groups
ii  base-files                  3.1.2        Debian base system miscellaneous f
ii  debconf                     1.4.45       Debian configuration management sy
ii  debianutils                 2.11.2       Miscellaneous utilities specific t
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libssl0.9.7                 0.9.7e-3     SSL shared libraries

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to