On 2008-10-16 23:19, Hans Morten Kind wrote: > On Thu, Oct 16, 2008 at 10:29:02PM +0300, Török Edwin wrote: > >> Please open a bug on bugs.clamav.net, and attach your gdb backtrace. >> Also please attach one sample that reproduce the bug to the bugzilla. >> > > Thanks for your prompt and friendly reply. I will open an issue > when I have cleaned out our debuging code. > >
OK. Also attach your config.log to the bug, that should tell us what compiler version you are using, etc. >> Is this reproducible on sparc32 [1], or x86-32 / solaris-10? >> > > We are running clamd only on our frontend mailservers which are > all sparc64s. I know that in the nienties everybody where running > sun-servers but nowadays most source is developed and tested on linux > and intel mostly. Still we love our ancient solaris-servers ;) > > >> [1] Try building with CFLAGS="-m32" and see if the bug is still there >> > > Aint gmp required no longer? I found gmp requiring 64-bit and have > used these settings when compiling. > > setenv CC "/opt/SUNWspro/bin/cc -m64" > Some more info that could be useful for the bugreport: Is it the latest Sun compiler? Does it also crash if you don't use any optimizations? (CFLAGS only -g) Does it crash if you use gcc? (Solaris10 seems to include it in /usr/sfw/bin on a default install) > setenv LDFLAGS "-L/opt/lib/64 -R/opt/lib/64 -lz -lgmp -L/lib/64 -R/lib/64 > -L/usr/lib/64 -R/usr/lib/64" > setenv CFLAGS "-xO2 -g" > GMP is required to verify digital signatures, there should be a 32-bit version of it as well in a Sun package. But for testing the OLE issue, you could build a clamav with -m32, even if you don't have the 32-bit gmp/bzip2/... installed, and see if it still crashes on that file. Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
