Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2007 19:15:39 +0100 (CET)
From:      Martin Blapp <mb@imp.ch>
To:        Daniel Eischen <deischen@freebsd.org>
Cc:        rob@debank.tv, freebsd-threads@freebsd.org
Subject:   Re: 6.2-Release and Clamd 0.90 with libpthread.so
Message-ID:  <20070220190347.C4139@godot.imp.ch>
In-Reply-To: <Pine.GSO.4.64.0702201145420.12034@sea.ntplx.net>
References:  <20070220153632.E4139@godot.imp.ch> <Pine.GSO.4.64.0702201138080.12034@sea.ntplx.net> <20070220174221.B4139@godot.imp.ch> <Pine.GSO.4.64.0702201145420.12034@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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@imp.ch> <mbr@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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070220190347.C4139>