Hi.

I've installed clamav 0.72 on our new shiny SunFire 880 running
Solaris 9, but for some reason it gives a Bus Error when trying to
read zip files.

clamav is compiled using /opt/SUNWspro/bin/cc as a compiler, libz is
the standard that Sun provides (1.1.4).

Some debug output:

mort lewis(253) /services/clamav/default/sw/bin/clamscan --debug
LibClamAV debug: Loading databases from /services/clamav/0.72/sw/share/clamav
LibClamAV debug: Loading /services/clamav/0.72/sw/share/clamav/daily.cvd
LibClamAV debug: /services/clamav/0.72/sw/share/clamav/daily.cvd: CVD file detected
LibClamAV debug: in cli_cvdload()
LibClamAV debug: MD5(.tar.gz) = 3236ce3e816d17cee314387436cbda9b
LibClamAV debug: in cli_untgz()
LibClamAV debug: Unpacking /var/tmp//clamav-7833d6d25f3ea27b/COPYING
LibClamAV debug: Unpacking /var/tmp//clamav-7833d6d25f3ea27b/viruses.db2
LibClamAV debug: Loading databases from /var/tmp//clamav-7833d6d25f3ea27b
LibClamAV debug: Loading /var/tmp//clamav-7833d6d25f3ea27b/viruses.db2
LibClamAV debug: Initializing trie.
LibClamAV debug: Loading /services/clamav/0.72/sw/share/clamav/main.cvd
LibClamAV debug: /services/clamav/0.72/sw/share/clamav/main.cvd: CVD file detected
LibClamAV debug: in cli_cvdload()
LibClamAV debug: MD5(.tar.gz) = 2afa38b2ececc44e99e396f97e94adef
LibClamAV debug: in cli_untgz()
LibClamAV debug: Unpacking /var/tmp//clamav-30abbb0e88e42f3c/COPYING
LibClamAV debug: Unpacking /var/tmp//clamav-30abbb0e88e42f3c/viruses.db
LibClamAV debug: Loading databases from /var/tmp//clamav-30abbb0e88e42f3c
LibClamAV debug: Loading /var/tmp//clamav-30abbb0e88e42f3c/viruses.db
[some text files working correctly]
LibClamAV debug: Recognized ZIP file
LibClamAV debug: Starting scanzip()
Bus error (core dumped)

Running dbx on the core, I get the following output:

mort lewis(254) dbx /services/clamav/default/sw/bin/clamscan core
Reading clamscan
core file header read successfully
Reading ld.so.1
Reading libclamav.so.1.0.4
Reading libz.so.1
Reading libbz2.so.1
Reading libpthread.so.1
Reading libc.so.1
Reading libdl.so.1
Reading libc_psr.so.1
Reading libthread.so.1
[EMAIL PROTECTED] ([EMAIL PROTECTED]) program terminated by signal BUS (invalid 
address alignment)
Current function is __zzip_find_disk_trailer
  289                       __fixup_rootseek (offset + tail-mapped, trailer);

Clues, anyone?

//Christer
-- 
| Tellusgatan 54    | Phone: Home +46 (0)31 43 52 03 CTH: +46 (0)31 772 5431 |
| S-415 19 G�teborg | Email: [EMAIL PROTECTED]   Cell: +46 (0)707 53 57 57 |
| Sweden            | WWW:   http://www.cd.chalmers.se/~mort/                |
"An NT server can be run by an idiot, and usually is." -- Tom Holub, a.h.b-o-i



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to