On Wed, 2005-02-16 at 12:53 -0500, Stephen Gran wrote:
> On Wed, Feb 09, 2005 at 09:04:52PM -0500, Stephen Gran said:
> > Hello all,
> > 
> > It seems that freshclam can be hung if it receives a HUP shortly after
> > receiving an alrm (that is, when waking up to check for a new version).
> 
> OK, so some further research shows it to be a problem because the logg*()
> code is threaded (ifdef CL_THREAD_SAFE, of course), but freshclam does
> not itself use threads.
> 

The logg() code isn't threaded per se, but does use a mutex. The correct
solution to this is to remove the logg() call in the signal handler.

-trog

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel

Reply via email to