A NOTE has been added to this issue. 
====================================================================== 
http://dbmail.org/mantis/view.php?id=790 
====================================================================== 
Reported By:                waza123
Assigned To:                netvulture
====================================================================== 
Project:                    DBMail
Issue ID:                   790
Category:                   LMTP daemon
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
target:                      
====================================================================== 
Date Submitted:             23-Jul-09 16:09 CEST
Last Modified:              29-Jul-09 15:21 CEST
====================================================================== 
Summary:                    dbmail-lmtpd crash
Description: 
Very unstable dbmail-lmtpd (and pop3d and imapd)

0xb7fb89c6 in client_session_set_timeout (session=0x80c2e10, timeout=60)
    at clientsession.c:143
143             if (session && (session->state > CLIENTSTATE_ANY) &&
session->ci && session->ci->timeout) {
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0000795 dbmail-pop3d crash
====================================================================== 

---------------------------------------------------------------------- 
 (0002846) netvulture (developer) - 24-Jul-09 19:32
 http://dbmail.org/mantis/view.php?id=790#c2846 
---------------------------------------------------------------------- 
Please try inserting 
TRACE(TRACE_DEBUG,"setting timeout on client session [%p]",session);

on line 143 of clientsession.c just before the if statement and try to
reproduce. If you can get it to crash, the log file should have the address
of client session in it. My thought is we are trying to set a timeout on an
invalid session. 

---------------------------------------------------------------------- 
 (0002855) waza123 (reporter) - 27-Jul-09 12:39
 http://dbmail.org/mantis/view.php?id=790#c2855 
---------------------------------------------------------------------- 
here it is, crash with modified clientsession.c

http://dbmail.org/mantis/view.php?id=795

and which log file do you mean ?

/var/log/dbmail.err , there is nothing about the crash. Maybe need edit
some config params ?

 

---------------------------------------------------------------------- 
 (0002866) netvulture (developer) - 29-Jul-09 05:50
 http://dbmail.org/mantis/view.php?id=790#c2866 
---------------------------------------------------------------------- 
I need the 511 level errorlog leading up to the point where it crashes. The
timeout is being set on a session that did exist at some point, but I
cannot tell if that session had already been closed down. The errorlog also
needs to be matched up with a gdb bt so I can see which session is being
acted upon. 

---------------------------------------------------------------------- 
 (0002880) waza123 (reporter) - 29-Jul-09 08:47
 http://dbmail.org/mantis/view.php?id=790#c2880 
---------------------------------------------------------------------- 
uploaded ! hope you can fix it ! 

---------------------------------------------------------------------- 
 (0002882) netvulture (developer) - 29-Jul-09 15:21
 http://dbmail.org/mantis/view.php?id=790#c2882 
---------------------------------------------------------------------- 
looks like the timeout is being reset as part of the session cleanup
process. Will have to do a little debugging to determine why. It probably
would affect all daemons. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
23-Jul-09 16:09  waza123        New Issue                                    
23-Jul-09 16:09  waza123        File Added: crash_report_lmtpd.txt              
     
23-Jul-09 16:12  jasb           Issue Monitored: jasb                        
24-Jul-09 19:30  netvulture     Status                   new => assigned     
24-Jul-09 19:30  netvulture     Assigned To               => netvulture      
24-Jul-09 19:32  netvulture     Note Added: 0002846                          
24-Jul-09 19:33  netvulture     Status                   assigned => feedback
27-Jul-09 12:38  waza123        Note Added: 0002855                          
27-Jul-09 12:39  waza123        Note Edited: 0002855                         
29-Jul-09 05:46  netvulture     Relationship added       has duplicate 0000795
29-Jul-09 05:50  netvulture     Note Added: 0002866                          
29-Jul-09 08:46  waza123        File Added: crash_log_29072009.txt              
     
29-Jul-09 08:47  waza123        File Added: dbmail_29072009.zip                 
  
29-Jul-09 08:47  waza123        Note Added: 0002880                          
29-Jul-09 15:21  netvulture     Note Added: 0002882                          
======================================================================

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

Reply via email to