6.2-Release and Clamd 0.90 with libpthread.so

Martin Blapp mb at imp.ch
Tue Feb 20 18:15:45 UTC 2007


Hi Daniel,

Any idea how I can track this down ?

It's rather easy to reproduce ...

fork() is only used in the functions daemonize() and in
virusaction(), which is used to call an external programm
if one is defined (I don't have one).

So fork() should only be called once during going to be
a background daemon.

Martin

Martin Blapp, <mb at imp.ch> <mbr at FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 61 826 93 00 Fax: +41 61 826 93 01
PGP: <finger -l mbr at freebsd.org>
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
------------------------------------------------------------------

On Tue, 20 Feb 2007, Daniel Eischen wrote:

> On Tue, 20 Feb 2007, Martin Blapp wrote:
>
>> 
>> Hi,
>> 
>>> Probably because it's fork()ing and trying to call
>>> non-async-signal-safe functions without doing an exec()?
>> 
>> The strange thing is that I can't see any any fork() calls
>> with libc_r or libthr. How's that possible ? Or do you think
>> that its stuck at the beginning ? But why does it work then
>> for some degree ?
>
> I dunno, maybe ktrace was confused and it wasn't a fork()?
>
> -- 
> DE
> _______________________________________________
> freebsd-threads at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe at freebsd.org"
>


More information about the freebsd-threads mailing list