From owner-freebsd-threads@FreeBSD.ORG Tue Feb 20 18:15:45 2007 Return-Path: X-Original-To: freebsd-threads@freebsd.org Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1B77216A50A for ; Tue, 20 Feb 2007 18:15:45 +0000 (UTC) (envelope-from mb@imp.ch) Received: from pop.imp.ch (mx2.imp.ch [157.161.9.17]) by mx1.freebsd.org (Postfix) with ESMTP id ACEBD13C49D for ; Tue, 20 Feb 2007 18:15:44 +0000 (UTC) (envelope-from mb@imp.ch) Received: from dan.imp.ch (godot.imp.ch [157.161.4.8]) by pop.imp.ch (8.13.8/8.13.8/Submit_imp) with ESMTP id l1KIFdev032807; Tue, 20 Feb 2007 19:15:40 +0100 (CET) (envelope-from mb@imp.ch) Date: Tue, 20 Feb 2007 19:15:39 +0100 (CET) From: Martin Blapp To: Daniel Eischen In-Reply-To: Message-ID: <20070220190347.C4139@godot.imp.ch> References: <20070220153632.E4139@godot.imp.ch> <20070220174221.B4139@godot.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: rob@debank.tv, freebsd-threads@freebsd.org Subject: Re: 6.2-Release and Clamd 0.90 with libpthread.so X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2007 18:15:45 -0000 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, ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 61 826 93 00 Fax: +41 61 826 93 01 PGP: 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" >