Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2016 17:17:45 +1000
From:      Dima Panov <fluffy@FreeBSD.org>
To:        Kubilay Kocak <koobs@FreeBSD.org>, Renato Botelho <garga@freebsd.org>
Cc:        ports@freebsd.org
Subject:   Re: Clamd core dumps
Message-ID:  <db760d59-278a-5d56-fab7-4b8dc5268722@FreeBSD.org>
In-Reply-To: <63675FA5-C10E-4AB7-99BE-8D6BB9F4ADBD@FreeBSD.org>
References:  <EC1827F8-38D3-43B3-9680-F6FDC505F9A8@mail.sermon-archive.info> <b02ec1e9-b632-d508-5f80-3abc5e697b5d@FreeBSD.org> <f598e4a6-2f46-045b-877a-760158b2a90e@FreeBSD.org> <2de0f906-d77d-c2c7-4c08-24f921bcd28f@FreeBSD.org> <CAG3FPn6g2JODk6NNnqPDDj8=F4M3ygBKpW6FrhNvr7g9cJ%2B2qg@mail.gmail.com> <63675FA5-C10E-4AB7-99BE-8D6BB9F4ADBD@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--NURM7bsjkrr7rn5FQjhIdb8QgiGP1BdMo
Content-Type: multipart/mixed; boundary="J2rON8rsvELLuwJeudGwHPgBQm0EUMCAq"
From: Dima Panov <fluffy@FreeBSD.org>
Reply-To: fluffy@FreeBSD.org
To: Kubilay Kocak <koobs@FreeBSD.org>, Renato Botelho <garga@freebsd.org>
Cc: ports@freebsd.org
Message-ID: <db760d59-278a-5d56-fab7-4b8dc5268722@FreeBSD.org>
Subject: Re: Clamd core dumps
References: <EC1827F8-38D3-43B3-9680-F6FDC505F9A8@mail.sermon-archive.info>
 <b02ec1e9-b632-d508-5f80-3abc5e697b5d@FreeBSD.org>
 <f598e4a6-2f46-045b-877a-760158b2a90e@FreeBSD.org>
 <2de0f906-d77d-c2c7-4c08-24f921bcd28f@FreeBSD.org>
 <CAG3FPn6g2JODk6NNnqPDDj8=F4M3ygBKpW6FrhNvr7g9cJ+2qg@mail.gmail.com>
 <63675FA5-C10E-4AB7-99BE-8D6BB9F4ADBD@FreeBSD.org>
In-Reply-To: <63675FA5-C10E-4AB7-99BE-8D6BB9F4ADBD@FreeBSD.org>

--J2rON8rsvELLuwJeudGwHPgBQm0EUMCAq
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

10.08.16 15:47, Kubilay Kocak =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
> Change should also be MFH'd if the quarterly version is affected=20
>=20

Done by r419990, r419991



> On 10 Aug 2016, at 12:26 PM, Renato Botelho <garga@freebsd.org
> <mailto:garga@freebsd.org>> wrote:
>=20
>> Thanks! Please go ahead and commit it.
>>
>>
>> Em 09/08/2016 23:23, "Dima Panov" <fluffy@freebsd.org
>> <mailto:fluffy@freebsd.org>> escreveu:
>>
>>     10.08.16 0:20, Kubilay Kocak =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
>>     > On 9/08/2016 11:07 AM, Dima Panov wrote:
>>     >> 09.08.16 10:05, Doug Hardie =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
>>     >>> 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?
>>     >
>>
>>     Nope. Right solution is use a proper LLVM from ports instead of
>>     bundled
>>     (very limited) to build Jit engine.
>>
>>     Found it yesterday and filled a PR:
>>
>>     https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211683
>>     <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211683>;
>>
>>     Solution is works for me at two mailservers under 11.0-BETA4 and
>>     10.3-REL.
>>
>>
>>     CC'ed to: garga@ (maintainer)
>>


--=20
Dima Panov (fluffy@FreeBSD.org)
(X11, KDE, Office)@FreeBSD team

Facebook: http://www.facebook.com/fluffy.khv
twitter: fluffy_khv | skype: dima.panov | telegram: @dima_panov
IRC: fluffy@EFNet, fluffykhv@FreeNode


--J2rON8rsvELLuwJeudGwHPgBQm0EUMCAq--

--NURM7bsjkrr7rn5FQjhIdb8QgiGP1BdMo
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJXqtUaAAoJEPuLoJ3VOY8pg58P/RgogHbe6mFZsk3yZphPSzPb
PdycnWaP/zS7nggQ53ZkpUp1ooF20IY0hjL/L2ialgm8eWoeOoKq8TZ/EsZZw6di
9Q0QsYzQJGBG5aQnd3RqJcTxwZ4qgsqwnR2QIuIVmlDMoCAlWNSsTM+eeIOQNxWR
FWjiF0ErW0clJ8jm40jH6qQBmvKvK8FWmFFAQbiZTLjmpn4IORZyhfgrcdl9CJyA
GLugqxG3WZ0zosTExL30F7v86GPsmTdqhrz1brmZ2FGMWywF9EfyDrqXnuFtVTlq
8P4CuZ+BWT8J9O79NqvHfzZgL0aI2qVLlU58zNu4FZ7ZUoghOT10uetV6NOlO4eg
AOEz1kTG8MZUGXzfLzniPb5xWqxOlKgKyVNLctQxv3LSZTAU9ccI78wodfpfeWES
awrp08UlstCUOwZKLkc04FJxLsbUHMiqjQ4FuyNpXsmH74zTd7SRFrphM871SLG7
dmQkvA6xXeMjJLt8Lslv4HZhp/PUrGPQq9x5gOk5xJ+JTIUX74MO7MfXahdjKhd0
TI9EIeS+kkMYcRsC3ZlVl7XjaDjPFfr+j7L4JujNY/Jh6/KLQTreXwoTiNGZFw9w
8UrvQiLPs8AgseklPRmtGsZ/4B+7oUWPy08wYJ+StNeSys64wpOPIMUVj4enrRse
O8RwK14msTtK4hvqV3Sk
=35X7
-----END PGP SIGNATURE-----

--NURM7bsjkrr7rn5FQjhIdb8QgiGP1BdMo--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?db760d59-278a-5d56-fab7-4b8dc5268722>