[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Busy looping on my IMAP server...
From: |
Sam Roberts |
Subject: |
Busy looping on my IMAP server... |
Date: |
Mon, 15 Oct 2001 19:38:58 -0400 |
User-agent: |
Mutt/1.3.23i |
Bon soir!
I have to read the code, to see what is supposed to happen, but does
anybody with a knowledge of IMAP have a comment on how I might get to:
~/s/mailutils/examples $ make mbox-explode && mbox-explode
imap://sroberts:address@hidden gg
make: `mbox-explode' is up to date.
g1 SELECT INBOX
g1 OK [READ-WRITE] SELECT completed
g2 FETCH 1 BODYSTRUCTURE
g2 OK FETCH completed
msg 001: 01 parts
msg 001: part 01 > gg/m001.p01
g3 FETCH 1 BODYSTRUCTURE
g3 OK FETCH completed
g4 FETCH 1 (FLAGS RFC822.SIZE BODY.PEEK[HEADER.FIELDS (Bcc Cc Content-Language
Content-Transfer-Encoding Content-Type Date From In-Reply-To Message-ID
Reference Reply-To Sender Subject To X-UIDL)])
g4 OK FETCH completed
g5 FETCH 1 BODY.PEEK[HEADER.FIELDS (Content-Transfer-Encoding)]<0.1053>
g5 OK FETCH completed
g6 FETCH 1 BODY.PEEK[TEXT]<0.2048>
g6 OK FETCH completed
g7 FETCH 1 BODY.PEEK[TEXT]<510.2048>
.... just hanging.... so I attach with gdb...
And step in circle a little bit, and print out:
(gdb)
imap_fetch (f_imap=0x80dec30) at folder_imap.c:1513
1513 if (strncmp (token, "FLAGS", 5) == 0)
(gdb)
1517 else if (strcasecmp (token, "BODY") == 0)
(gdb)
1524 else if (strcasecmp (token, "BODYSTRUCTURE") == 0)
(gdb)
1528 else if (strncmp (token, "INTERNALDATE", 12) == 0)
(gdb)
1532 else if (strncmp (token, "RFC822", 10) == 0)
(gdb)
1557 else if (strncmp (token, "UID", 3) == 0)
(gdb)
1562 }
(gdb) p token
$2 = "3\000DY", '\000' <repeats 84 times>,
"T\203\005\b????\003\000\000\000\000\000\000\000T\203\005\b????", '\000'
<repeats 11 times>, "h`%\r\b"
I seem to be busy looping on the same chunk of text here, no more reads, just
going in and out of imap_token()...
Doesn't happen on all messages, either... just this one.
Ok, I have to go get something to eat.
Cheers!
Sam
--
Sam Roberts <address@hidden>
- Busy looping on my IMAP server...,
Sam Roberts <=