Hi

I got M going into a loop while downloading (or filtering) messages.
I had to use mozilla to empty the mailbox and afterwards it was ok.
This may be related to the frankenstein messages problem.

Here is the gdb trace, I hope it helps:

#0  0x40a149ae in pthread_setcanceltype (type=0, oldtype=0x0) at internals.h:384
#1  0x40a1b995 in read (fd=12, buf=0x40bf1000, count=4096) at wrapsyscall.c:153
#2  0x407a31a6 in _IO_file_read () from /lib/libc.so.6
#3  0x407a232c in _IO_file_underflow () from /lib/libc.so.6
#4  0x407a4bf9 in _IO_default_uflow () from /lib/libc.so.6
#5  0x407a3c62 in __uflow () from /lib/libc.so.6
#6  0x4079f1f0 in getc () from /lib/libc.so.6
#7  0x082de8b7 in file_string_next (s=0xbfffe690) at flstring.c:68
#8  0x082aba2a in rfc822_parse_content (body=0x8573108, bs=0xbfffe690, h=0x839c749 
".MISSING-HOST-NAME.", depth=0, 
    flags=1572) at rfc822.c:534
#9  0x082ab89d in rfc822_parse_msg_full (en=0x857294c, bdy=0x8572950, s=0x8575b22 "", 
i=0, bs=0xbfffe690, 
    host=0x839c749 ".MISSING-HOST-NAME.", depth=0, flags=1572) at rfc822.c:496
#10 0x0829196e in mail_fetch_structure (stream=0x8557c58, msgno=2, body=0x857f918, 
flags=1) at mail.c:1212
#11 0x081f0c3a in MessageCC::GetBody ()
#12 0x081f0ec7 in MessageCC::WriteToString ()
#13 0x081d5466 in MailFolderCC::AppendMessage ()
#14 0x081e3762 in MailFolderCmn::SaveMessages ()
#15 0x081d5e70 in MailFolderCC::SaveMessages ()
#16 0x081e3bc5 in MailFolderCmn::SaveMessages ()
#17 0x081e682e in MailFolderCmn::CollectNewMail ()
#18 0x081e6233 in MailFolderCmn::DoProcessNewMail ()
#19 0x081e6635 in MailFolderCmn::ProcessNewMail ()
#20 0x081db374 in MailFolderCC::OnNewMail ()
#21 0x08309799 in CCEventReflector::OnMEvent ()
#22 0x080d7ed2 in MEventManager::Dispatch ()
#23 0x080d7c39 in MEventManager::DispatchPending ()
#24 0x080be0c5 in FolderMonitorImpl::CheckOneFolder ()
#25 0x080bcdb0 in FolderMonitorImpl::FolderMonitorImpl ()
#26 0x080bcc84 in FolderMonitor::Create ()
#27 0x080bf481 in MAppBase::ContinueStartup ()
#28 0x080c0045 in MAppBase::OnStartup ()
#29 0x08166b25 in wxMApp::OnInit ()
#30 0x40264575 in wxEntry (argc=1, argv=0xbffff624) at 
../../wxWindows/src/gtk/app.cpp:815
#31 0x081657d0 in main ()
#32 0x40743280 in __libc_start_main () from /lib/libc.so.6

(gdb) up
#8  0x082aba2a in rfc822_parse_content (body=0x8573108, bs=0xbfffe690, h=0x839c749 
".MISSING-HOST-NAME.", depth=0, 
    flags=1572) at rfc822.c:534
534            while (i--) if ((SNX (bs)) == '\n') body->size.lines++;
(gdb) list
529              body->parameter = mail_newbody_parameter ();
530              body->parameter->attribute = cpystr ("CHARSET");
531              body->parameter->value = cpystr ("US-ASCII");
532            }
533                                        /* count number of lines */
534            while (i--) if ((SNX (bs)) == '\n') body->size.lines++;
535            break;
536        ^L
537          case TYPEMESSAGE:                /* encapsulated message */
538            body->nested.msg = mail_newmsg ();

(gdb) p i
$8 = 4294939701
(gdb) p *bs
$9 = {data = 0x857e668, data1 = 255, size = 1964, chunk = 0xbfffe694 "ÿ", chunksize = 
1, offset = 29559, 
  curpos = 0xbfffe694 "ÿ", cursize = 1, dtb = 0x83bcb70}
(gdb) p *body
$10 = {type = 0, encoding = 1, subtype = 0x85760f0 "PLAIN", parameter = 0x8576100, id 
= 0x0, description = 0x0, 
  disposition = {type = 0x0, parameter = 0x0}, language = 0x0, mime = {offset = 0, 
text = {data = 0x0, size = 0}}, 
  contents = {offset = 2663, text = {data = 0x0, size = 4294966597}}, nested = {part = 
0x0, msg = 0x0}, size = {lines = 21, 
    bytes = 4294966597}, md5 = 0x0}
(gdb) 

-- 
Michele Ravani                  [EMAIL PROTECTED]
"Those who live hoping, die singing" My Gran



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to