Hi there; just compiled the 0.65 and the devel release for clamav under Solaris 9 with the Sun compilers.

Things seem ok, until I try to scan the source directory for the planted test
files. At this point, I get a core dump.


Traceback on the core reveals:

/share/sources/solaris/Packages/ClamAV/src/clamav-0.65/test/ rarfail.rar: OK
/share/sources/solaris/Packages/ClamAV/src/clamav-0.65/test/test1.bz2: ClamAV-Test-Signature FOUND
signal BUS (invalid address alignment) in __zzip_find_disk_trailer at line 274 in file "zzip-zip.c"
274 __fixup_rootseek (offset + tail-mapped, trailer);
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where
current thread: [EMAIL PROTECTED]
=>[1] __zzip_find_disk_trailer(fd = 11, filesize = 196, trailer = 0xffbfef36, io = 0xff39b8e0), line 274 in "zzip-zip.c"
[2] __zzip_dir_parse(dir = 0x8639a8), line 603 in "zzip-zip.c"
[3] zzip_dir_fdopen_ext_io(fd = 11, errcode_p = 0xffbff120, ext = (nil), io = (nil)), line 573 in "zzip-zip.c"
(rest of the traceback deleted)



Anyone else seen this; is it just 'clamscan' binary that's affected ?


I guess that this is something to do with the 64bit Sparc V9 and the address
work that is going on at line 274.


If there is anyone with an idea of how to let me help debug this, please get in
touch - I'm fairly confident with C !


Regards

marty



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to