The following issue has been RESOLVED. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=303 
====================================================================== 
Reported By:                aaron
Assigned To:                aaron
====================================================================== 
Project:                    DBMail
Issue ID:                   303
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           SVN Trunk
====================================================================== 
Date Submitted:             19-Feb-06 18:15 CET
Last Modified:              03-Jun-06 06:48 CEST
====================================================================== 
Summary:                    Check for signal-safe calls in the pool code
Description: 
* Aaron Stone ([EMAIL PROTECTED]) [340218 21:34]:
> serverchild.c,active_child_sig_handler: got signal [Alarm clock]
> *** glibc detected *** corrupted double-linked list: 0x0805f028 ***
> pool.c,child_register: register child [19712]
> pool.c,manage_spare_children: children [1/1], spares [1 (0 - 0)]
> 
> These all came from dbmail-timsieved from the console, and connecting
to
> it with gsieve (a little PyGTK managesieve client). I left gsieve open
> and went to sleep, and woke up to find that the connection had timed
out
> (of course), with those messages on the console.

Last time we had these problems was a valuable lesson. Fat chance it's
the trace calls in the pool code. All code paths starting in
serverchild.c,active_child_sig_handler need to be reviewed for signal
safety. I don't have the list of safe calls handy, but the trace calls
in the pool code are very much suspect.

Goood thing you caught this. Could you file a bug please?

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0000208 glibc error in dbmail_pop3d
====================================================================== 

---------------------------------------------------------------------- 
 aaron - 03-Jun-06 06:48  
---------------------------------------------------------------------- 
Added a more significant comment to active_child_sig_handler. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
19-Feb-06 18:15 aaron          New Issue                                    
19-Feb-06 18:28 aaron          Relationship added       related to 0000208  
03-Jun-06 06:48 aaron          Status                   new => resolved     
03-Jun-06 06:48 aaron          Fixed in Version          => SVN Trunk       
03-Jun-06 06:48 aaron          Resolution               open => fixed       
03-Jun-06 06:48 aaron          Assigned To               => aaron           
03-Jun-06 06:48 aaron          Note Added: 0001217                          
======================================================================

Reply via email to