From owner-freebsd-questions@FreeBSD.ORG Wed Aug 3 04:20:42 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4A8416A41F for ; Wed, 3 Aug 2005 04:20:42 +0000 (GMT) (envelope-from dlemire@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4609F43D45 for ; Wed, 3 Aug 2005 04:20:42 +0000 (GMT) (envelope-from dlemire@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so86869rng for ; Tue, 02 Aug 2005 21:20:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=uT0JzNXnsc2crej0qcWFlah4XHnTJuBySq/kF7MV+wmAXgaSZ2GLdSkWsAnIGL8BorWip4zDcRTjpTndZ4dcu6epIfYE4/A7fgXE3/NDL2U7+Ntze2/fyiMHab7eo7IYipkxkHBSw/PKEbvLZrsejC6lodZAPw8uzcEUsljcJMQ= Received: by 10.11.88.76 with SMTP id l76mr2894cwb; Tue, 02 Aug 2005 21:20:41 -0700 (PDT) Received: by 10.11.100.38 with HTTP; Tue, 2 Aug 2005 21:20:41 -0700 (PDT) Message-ID: <32e9a1d05080221201c3523f2@mail.gmail.com> Date: Tue, 2 Aug 2005 22:20:41 -0600 From: Denis Lemire To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: clamav-0.86.2_1 from ports - freshclam core dumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2005 04:20:42 -0000 When run using the startup script in /usr/local/etc/rc.d/clamav-freshclam.sh, freshclam built from ports segfaults and core dumps with the following message: Starting clamav_freshclam. freshclam in free(): error: modified (chunk-) pointer Abort trap (core dumped) Oddly enough if I run: gdb freshclam Then enter run. It executes and finishes normally. Anybody having any simular issues with the clamav port on FreeBSD 5.4 STABL= E? Ports tree has been updated via cvsup to the latest just prior to posting this message. Issue has existed for serveral updates of the port thus far. Config file is default from the port: ## ## Example config file for freshclam ## Please read the freshclam.conf(5) manual before editing this file. ## This file may be optionally merged with clamd.conf. ## # Comment or remove the line below. #Example # Path to the database directory. # WARNING: It must match clamd.conf's directive! # Default: hardcoded (depends on installation options) DatabaseDirectory /var/db/clamav # Path to the log file (make sure it has proper permissions) # Default: disabled UpdateLogFile /var/log/clamav/freshclam.log # Enable verbose logging. # Default: disabled #LogVerbose # Use system logger (can work together with UpdateLogFile). # Default: disabled #LogSyslog # Specify the type of syslog messages - please refer to 'man syslog' # for facility names. # Default: LOG_LOCAL6 #LogFacility LOG_MAIL # This option allows you to save the process identifier of the daemon # Default: disabled PidFile /var/run/clamav/freshclam.pid # By default when started freshclam drops privileges and switches to the # "clamav" user. This directive allows you to change the database owner. # Default: clamav (may depend on installation options) DatabaseOwner clamav # Initialize supplementary group access (freshclam must be started by root)= . # Default: disabled AllowSupplementaryGroups # Use DNS to verify virus database version. Freshclam uses DNS TXT records # to verify database and software versions. With this directive you can cha= nge # the database verification domain. # Default: enabled, pointing to current.cvd.clamav.net #DNSDatabaseInfo current.cvd.clamav.net # Uncomment the following line and replace XY with your country # code. See http://www.iana.org/cctld/cctld-whois.htm for the full list. # Default: There is no default, which results in an error when running fres= hclam #DatabaseMirror db.XY.clamav.net # database.clamav.net is a round-robin record which points to our most # reliable mirrors. It's used as a fall back in case db.XY.clamav.net is # not working. DO NOT TOUCH the following line unless you know what you # are doing. DatabaseMirror database.clamav.net # How many attempts to make before giving up. # Default: 3 (per mirror) #MaxAttempts 5 # Number of database checks per day. # Default: 12 (every two hours) #Checks 24 # Proxy settings # Default: disabled #HTTPProxyServer myproxy.com #HTTPProxyPort 1234 #HTTPProxyUsername myusername #HTTPProxyPassword mypass # Use aaa.bbb.ccc.ddd as client address for downloading databases. Useful f= or # multi-homed systems. # Default: Use OS'es default outgoing IP address. #LocalIPAddress aaa.bbb.ccc.ddd # Send the RELOAD command to clamd. # Default: disabled NotifyClamd # By default it uses the hardcoded configuration file but you can force an # another one. #NotifyClamd /config/file/path # Run command after successful database update. # Default: disabled #OnUpdateExecute command # Run command when database update process fails. # Default: disabled #OnErrorExecute command # Don't fork into background. # Default: disabled #Foreground # Enable debug messages in libclamav. # Default: disabled #Debug Any ideas would be greatly appreciated.