A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=843 
====================================================================== 
Reported By:                maximP
Assigned To:                paul
====================================================================== 
Project:                    DBMail
Issue ID:                   843
Category:                   IMAP daemon
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     feedback
target:                      
====================================================================== 
Date Submitted:             15-Apr-10 15:41 CEST
Last Modified:              10-May-10 15:17 CEST
====================================================================== 
Summary:                    Thunderbird can't fetch message
Description: 
Sometimes Thunderbird can't fetch a message from dbmail IMAP server. The
problem appears when opening some messages which contain attachments. The
result is Thunderbird shows in status bar "Loading message..."
notifications, and the loading never finishes (it's interrupted on
timeout). If, after some attempts, the message can be opened, it's cut, not
complete message.
====================================================================== 

---------------------------------------------------------------------- 
 (0003040) paul (administrator) - 15-Apr-10 15:57
 http://www.dbmail.org/mantis/view.php?id=843#c3040 
---------------------------------------------------------------------- 
there's some kind of event-starvation going on since the event_add
recursion fix. 

---------------------------------------------------------------------- 
 (0003041) paul (administrator) - 23-Apr-10 09:04
 http://www.dbmail.org/mantis/view.php?id=843#c3041 
---------------------------------------------------------------------- 
I think I've got this covered now. Please let me know if it's still a
problem. 

---------------------------------------------------------------------- 
 (0003042) maximP (reporter) - 26-Apr-10 09:17
 http://www.dbmail.org/mantis/view.php?id=843#c3042 
---------------------------------------------------------------------- 
The problem became more annoying. The messages are opened quickly, without
delays, but some messages are broken. For example, Thunderbird shows just a
small part of jpeg picture attached to some message. The old version (about
the beginning of March) is OK. 

---------------------------------------------------------------------- 
 (0003044) paul (administrator) - 28-Apr-10 14:48
 http://www.dbmail.org/mantis/view.php?id=843#c3044 
---------------------------------------------------------------------- 
I can't reproduce this. I've been trying with all kinds of attachments, big
and small. 

---------------------------------------------------------------------- 
 (0003052) maximP (reporter) - 05-May-10 17:13
 http://www.dbmail.org/mantis/view.php?id=843#c3052 
---------------------------------------------------------------------- 
Imapd from today's (2010-05-05) git version just dies when Thunderbird
fetches messages. The log says:

*** glibc detected *** dbmail-imapd: double free or corruption (!prev):
0x00000000006ebff0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x7f3d3e35a108]
/lib64/libc.so.6(cfree+0x76)[0x7f3d3e35bc66]
/usr/local/dbmail/lib/dbmail/libdbmail.so.0[0x7f3d3fd5f084]
/usr/local/dbmail/lib/dbmail/libdbmail.so.0[0x7f3d3fd5f536]
/usr/local/dbmail/lib/dbmail/libdbmail.so.0[0x7f3d3fd62bf6]
/usr/local/dbmail/lib/dbmail/libdbmail.so.0(imap_get_structure+0x130)[0x7f3d3fd62f20]
dbmail-imapd[0x414cd7]
/usr/lib64/libglib-2.0.so.0(g_tree_foreach+0x5a)[0x7f3d3f617f7a]
dbmail-imapd(dbmail_imap_session_fetch_get_items+0x5e)[0x41420e]
dbmail-imapd[0x40eb73]
/usr/lib64/libglib-2.0.so.0[0x7f3d3f616d27]
/usr/lib64/libglib-2.0.so.0[0x7f3d3f615784]
/lib64/libpthread.so.0[0x7f3d3e646070]
/lib64/libc.so.6(clone+0x6d)[0x7f3d3e3b911d]
======= Memory map: ========

 

---------------------------------------------------------------------- 
 (0003053) maximP (reporter) - 07-May-10 12:41
 http://www.dbmail.org/mantis/view.php?id=843#c3053 
---------------------------------------------------------------------- 
In my case, some messages are always broken in the latest git version. The
attached file is a difference between the message taken from the "working"
IMAP version and the same message taken from the "latest git" IMAP version.
Note that more than 1000 first lines of messages are the same and some
lines can have different length (message attachement is jpeg file in base64
encoding). 

---------------------------------------------------------------------- 
 (0003054) paul (administrator) - 10-May-10 15:17
 http://www.dbmail.org/mantis/view.php?id=843#c3054 
---------------------------------------------------------------------- 
Maxim,

would you mind trying again. I fixed a bug in the network writer. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
15-Apr-10 15:41  maximP         New Issue                                    
15-Apr-10 15:57  paul           Note Added: 0003040                          
23-Apr-10 09:04  paul           Note Added: 0003041                          
23-Apr-10 09:05  paul           Assigned To               => paul            
23-Apr-10 09:05  paul           Status                   new => resolved     
23-Apr-10 09:05  paul           Resolution               open => fixed       
23-Apr-10 09:05  paul           Fixed in Version          => 2.3.7           
26-Apr-10 09:17  maximP         Note Added: 0003042                          
26-Apr-10 09:17  maximP         Status                   resolved => feedback
26-Apr-10 09:17  maximP         Resolution               fixed => reopened   
28-Apr-10 14:48  paul           Note Added: 0003044                          
05-May-10 17:08  maximP         Note Added: 0003052                          
05-May-10 17:13  maximP         Note Edited: 0003052                         
07-May-10 12:41  maximP         Note Added: 0003053                          
07-May-10 12:41  maximP         File Added: good-bad.diff                    
10-May-10 15:17  paul           Note Added: 0003054                          
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to