A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=829 
====================================================================== 
Reported By:                pschmiel
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   829
Category:                   IMAP daemon
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             12-Jan-10 21:15 CET
Last Modified:              13-Jan-10 18:43 CET
====================================================================== 
Summary:                    SIGSEGV on imap login with roundcube webmail
Description: 
Trying to login with roundcube webmail on the current GIT head build
results in a segfault. Here's the GDB backtrace:

http://www.dbmail.org/mantis/view.php?id=0  0x00007f652c9862d6 in strncmp ()
from /lib/libc.so.6
http://www.dbmail.org/mantis/view.php?id=1  0x00007f6528fb5b74 in auth_validate
(ci=0x161a3d0, username=<value
optimized out>, password=0x0, user_idnr=0x45932060) at authsql.c:387
http://www.dbmail.org/mantis/view.php?id=2  0x0000000000411677 in
dbmail_imap_session_handle_auth (self=0x160eed0,
username=0x1617e80 "blabla_some_md5hash_bla_replaced_for_sec",
password=0x20 <Address 0x20 out of bounds>)
    at dbmail-imapsession.c:1186
http://www.dbmail.org/mantis/view.php?id=3  0x000000000040f894 in
_ic_authenticate_enter (D=0x165b0e0) at
imapcommands.c:208
http://www.dbmail.org/mantis/view.php?id=4  0x00007f652da5fa07 in ?? () from
/usr/lib/libglib-2.0.so.0
http://www.dbmail.org/mantis/view.php?id=5  0x00007f652da5e474 in ?? () from
/usr/lib/libglib-2.0.so.0
http://www.dbmail.org/mantis/view.php?id=6  0x00007f652c6f5fc7 in start_thread
() from /lib/libpthread.so.0
http://www.dbmail.org/mantis/view.php?id=7  0x00007f652c9da5ad in clone () from
/lib/libc.so.6
http://www.dbmail.org/mantis/view.php?id=8  0x0000000000000000 in ?? ()
====================================================================== 

---------------------------------------------------------------------- 
 (0002975) pschmiel (reporter) - 13-Jan-10 16:39
 http://www.dbmail.org/mantis/view.php?id=829#c2975 
---------------------------------------------------------------------- 
sigsegv only occures with roundcube webmail >= 0.3.1

 

---------------------------------------------------------------------- 
 (0002976) pschmiel (reporter) - 13-Jan-10 17:56
 http://www.dbmail.org/mantis/view.php?id=829#c2976 
---------------------------------------------------------------------- 
after debugging a little bit i figured out that it's not a problem with
roundcube.
the segfault occures when a client log in using "AUTH" aka "CRAM-MD5" 

---------------------------------------------------------------------- 
 (0002977) pschmiel (reporter) - 13-Jan-10 18:10
 http://www.dbmail.org/mantis/view.php?id=829#c2977 
---------------------------------------------------------------------- 
reproducible with thunderbird using CRAM-MD5 

---------------------------------------------------------------------- 
 (0002978) jasb (reporter) - 13-Jan-10 18:38
 http://www.dbmail.org/mantis/view.php?id=829#c2978 
---------------------------------------------------------------------- 
It's strange, it doesn't happen to me.
Do you have all your libraries updated?
libgmime2.4
libmhash
libevent
libglib 

---------------------------------------------------------------------- 
 (0002979) pschmiel (reporter) - 13-Jan-10 18:43
 http://www.dbmail.org/mantis/view.php?id=829#c2979 
---------------------------------------------------------------------- 
all libs are in the version provided by the debian lenny apt sources.
as a temporary "fix" I've removed AUTH=CRAM-MD5 from the capabilitys
string. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
12-Jan-10 21:15  pschmiel       New Issue                                    
12-Jan-10 21:16  pschmiel       Issue Monitored: pschmiel                    
12-Jan-10 21:21  jasb           Issue Monitored: jasb                        
13-Jan-10 16:39  pschmiel       Note Added: 0002975                          
13-Jan-10 16:39  pschmiel       Note Edited: 0002975                         
13-Jan-10 17:56  pschmiel       Note Added: 0002976                          
13-Jan-10 18:10  pschmiel       Note Added: 0002977                          
13-Jan-10 18:38  jasb           Note Added: 0002978                          
13-Jan-10 18:43  pschmiel       Note Added: 0002979                          
======================================================================

_______________________________________________
Dbmail-dev mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to