Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337379 - Upgrading to ClamAV 0.96.2 causes segfault
Summary: Upgrading to ClamAV 0.96.2 causes segfault
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Antivirus Team
URL:
Whiteboard:
Keywords:
: 337388 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-14 23:20 UTC by VinnieNZ
Modified: 2010-09-23 11:40 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Segfault Example (Crash.txt,17.34 KB, text/plain)
2010-09-14 23:21 UTC, VinnieNZ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description VinnieNZ 2010-09-14 23:20:53 UTC
When I upgrade my two mail servers to ClamAV 0.96.2, I get segfaults for the apps when I try and run them (clamscan, clamd, freshclam).  

Freshclam and clamscan both attempt to run, do some stuff, then just bomb out part way through.  Clamd simply refuses to start at all.

Downgrading to 0.96.1 and everything works again.



Reproducible: Always

Steps to Reproduce:
1.  Upgrade to clamav-0.96.2
2.  Try and run a clamav app and see it crash
3.  Downgrade to clamav-0.96.1 and it works again



Expected Results:  
Clamav should scan a file correctly and be able to update correctly without segfaulting
Comment 1 VinnieNZ 2010-09-14 23:21:35 UTC
Created attachment 247361 [details]
Segfault Example
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2010-09-14 23:34:41 UTC
emerge --info please as well as the coredump :)
Comment 3 VinnieNZ 2010-09-14 23:41:48 UTC
(In reply to comment #2)
> emerge --info please as well as the coredump :)
> 

Urgh sorry. My bad - too much on my mind.  Here's the emerge --info:

Portage 2.1.8.3 (default/linux/amd64/10.0/server, gcc-4.3.4, glibc-2.11.2-r0, 2.6.33-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-r2-x86_64-Intel-R-_Xeon-R-_CPU_5160_@_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 14 Sep 2010 16:30:22 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ihug.co.nz/gentoo http://ftp.citylink.co.nz/gentoo http://ftp.swin.edu.au/gentoo http://distfiles.gentoo.org"
LANG="en_NZ.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://technology/gentoo-portage"
USE="acl amd64 apache2 bash-completion berkdb bzip2 clamav cli cracklib crypt cxx dri fam fortran freetds gd gdbm gmp gpm iconv imap kerberos ldap libwww maildir mbox milter mmx modules mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl postfix pppd python readline reflection ruby sasl session snmp sqlite sse sse2 ssl sysfs syslog tcpd truetype unicode xattr xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel mga nvidia vesa vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS




How do I get the coredump details?
Comment 4 Christian Ruppert (idl0r) gentoo-dev 2010-09-15 12:50:24 UTC
*** Bug 337388 has been marked as a duplicate of this bug. ***
Comment 5 Willard Dawson 2010-09-15 12:54:23 UTC
(In reply to comment #4)
> *** Bug 337388 has been marked as a duplicate of this bug. ***
> 

I attached a stack trace to my (duplicate) bug 337388.  Hopefully that is of some assistance...
Comment 6 Christian Ruppert (idl0r) gentoo-dev 2010-09-20 21:59:06 UTC
0.96.3 will be on the mirrors soonish. Please try it.
Comment 7 Willard Dawson 2010-09-23 11:40:57 UTC
(In reply to comment #6)
> 0.96.3 will be on the mirrors soonish. Please try it.
> 

Works for me.