From owner-freebsd-stable@FreeBSD.ORG Thu Mar 15 20:38:22 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DFF2E16A406 for ; Thu, 15 Mar 2007 20:38:22 +0000 (UTC) (envelope-from freebsd.macgregor@blueyonder.co.uk) Received: from the-macgregors.org (82-46-96-74.cable.ubr06.stav.blueyonder.co.uk [82.46.96.74]) by mx1.freebsd.org (Postfix) with ESMTP id 4DB1113C487 for ; Thu, 15 Mar 2007 20:38:22 +0000 (UTC) (envelope-from freebsd.macgregor@blueyonder.co.uk) X-Urban-Legend: Mail headers contain urban legends Received: from [192.168.32.127] (hellfire.macgregor [192.168.32.127]) (user=rob mech=CRAM-MD5 bits=0) by the-macgregors.org (8.13.8/8.13.8) with ESMTP id l2FKSG70016740 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 15 Mar 2007 20:28:17 GMT Message-ID: <45F9AC5A.4060807@blueyonder.co.uk> Date: Thu, 15 Mar 2007 20:28:10 +0000 From: Rob MacGregor User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 References: <20070305152453.H18301@godot.imp.ch> <1173106098.8193.6.camel@syntax.dstl.gov.uk> <20070310121342.I6787@godot.imp.ch> <20070310141202.C6787@godot.imp.ch> <20070312102512.GA35124@tirith.brixandersen.dk> <20070312130633.U5578@godot.imp.ch> <45F987D8.9060909@insidesystems.net> <200703152000.l2FK01Fu037322@lava.sentex.ca> In-Reply-To: <200703152000.l2FK01Fu037322@lava.sentex.ca> X-Enigmail-Version: 0.94.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: clamav-devel@lists.clamav.net, freebsd-stable@freebsd.org Subject: Re: Clamav-90_2 Lockup with freebsd 6.2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2007 20:38:23 -0000 Mike Tancsa unleashed the infinite monkeys on 15/03/2007 19:58 producing: > At 01:52 PM 3/15/2007, Kevin Way wrote: > >> FWIW, we have several machines running with the libmap.conf hack. >> clamav no longer locks up, but has instead taken to occasionally dying >> altogether. > Hi, > I think there are other bugs in the current clamd, the main one that we > run into is when it tries to reload the database, and it somehow > confuses itself and exits. > > http://lurker.clamav.net/message/20070314.170629.9118e704.en.html At least on FreeBSD 5.4 I think I've tracked the problem down to -lthr: http://www.freebsd.org/cgi/query-pr.cgi?pr=110352 Using either -lpthread or simply not using -lthr clamd (for me) doesn't crash (well, not yet :>). Only happens to me with 0.90.1 in daemon mode. With 0.90_x or 0.90.1 in foreground mode it stays running afer the selfcheck. -- Rob | Oh my God! They killed init! You bastards!