Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2016 00:20:03 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        fluffy@FreeBSD.org, FreeBSD Ports <ports@freebsd.org>
Cc:        Doug Hardie <doug@mail.sermon-archive.info>
Subject:   Re: Clamd core dumps
Message-ID:  <f598e4a6-2f46-045b-877a-760158b2a90e@FreeBSD.org>
In-Reply-To: <b02ec1e9-b632-d508-5f80-3abc5e697b5d@FreeBSD.org>
References:  <EC1827F8-38D3-43B3-9680-F6FDC505F9A8@mail.sermon-archive.info> <b02ec1e9-b632-d508-5f80-3abc5e697b5d@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/08/2016 11:07 AM, Dima Panov wrote:
> 09.08.16 10:05, Doug Hardie пишет:
>> I just upgraded a mail server from 9.3 to 11.0-BETA4.  clamav worked fine on 9.3.  However, after upgrading it and reinstalling the package clamd core dumps just after reading all the signatures.  Ktrace shows nothing other than the sig 11.  I then built clamav from ports so I would have source.  The bt from the core dump shows:
>>
>> #0  0x0000000800f94b09 in cli_printcxxver () from /usr/local/lib/libclamav.so.7
>> #1  0x00000008010e7d2b in cli_printcxxver () from /usr/local/lib/libclamav.so.7
>> #2  0x0000000800d3eee9 in cli_printcxxver () from /usr/local/lib/libclamav.so.7
>> #3  0x0000000800d5ebd3 in cli_printcxxver () from /usr/local/lib/libclamav.so.7
>> #4  0x0000000800d5e256 in cli_printcxxver () from /usr/local/lib/libclamav.so.7
>> #5  0x0000000800d5df16 in cli_printcxxver () from /usr/local/lib/libclamav.so.7
>> #6  0x0000000800d03283 in cli_printcxxver () from /usr/local/lib/libclamav.so.7
>> #7  0x0000000800d034a4 in cli_printcxxver () from /usr/local/lib/libclamav.so.7
>> #8  0x0000000800c118d0 in cli_pcre_scanbuf () from /usr/local/lib/libclamav.so.7
>> #9  0x0000000800b675e8 in cli_bytecode_prepare2 () from /usr/local/lib/libclamav.so.7
>> #10 0x0000000800aba3b9 in cl_engine_compile () from /usr/local/lib/libclamav.so.7
>> #11 0x0000000000408fec in main ()
>>
>> I am going to try rebuilding with symbols.
>>
>> Any ideas what is causing this or how to get around it?
>>
>> pkg is clamav-milter-0.99.2
>>
> 
> Let me guess. ClamAV was built with LLVM/Jit support? It's broken for
> now as Clamav can use only LLVM <3.7 and base system provide llvm 3.8.
> 
> Try to rebuild without LLVM/Jit, this solved crashdumps for me.
> 
> 

Dima,

Should we set BROKEN on OSVERSION > X with that option?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f598e4a6-2f46-045b-877a-760158b2a90e>