Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Aug 2016 11:07:48 +1000
From:      Dima Panov <fluffy@FreeBSD.org>
To:        Doug Hardie <doug@mail.sermon-archive.info>, FreeBSD Ports <ports@freebsd.org>
Subject:   Re: Clamd core dumps
Message-ID:  <b02ec1e9-b632-d508-5f80-3abc5e697b5d@FreeBSD.org>
In-Reply-To: <EC1827F8-38D3-43B3-9680-F6FDC505F9A8@mail.sermon-archive.info>
References:  <EC1827F8-38D3-43B3-9680-F6FDC505F9A8@mail.sermon-archive.info>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--93O5pTLFKQMSKS2RkiS6XxSfs4OnqXSGU
Content-Type: multipart/mixed; boundary="Phji2gmF7pBUAfsrPJiQLwv4QCDr3wG2a"
From: Dima Panov <fluffy@FreeBSD.org>
Reply-To: fluffy@FreeBSD.org
To: Doug Hardie <doug@mail.sermon-archive.info>,
 FreeBSD Ports <ports@freebsd.org>
Message-ID: <b02ec1e9-b632-d508-5f80-3abc5e697b5d@FreeBSD.org>
Subject: Re: Clamd core dumps
References: <EC1827F8-38D3-43B3-9680-F6FDC505F9A8@mail.sermon-archive.info>
In-Reply-To: <EC1827F8-38D3-43B3-9680-F6FDC505F9A8@mail.sermon-archive.info>

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

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 fi=
ne on 9.3.  However, after upgrading it and reinstalling the package clam=
d 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 s=
ource.  The bt from the core dump shows:
>=20
> #0  0x0000000800f94b09 in cli_printcxxver () from /usr/local/lib/libcla=
mav.so.7
> #1  0x00000008010e7d2b in cli_printcxxver () from /usr/local/lib/libcla=
mav.so.7
> #2  0x0000000800d3eee9 in cli_printcxxver () from /usr/local/lib/libcla=
mav.so.7
> #3  0x0000000800d5ebd3 in cli_printcxxver () from /usr/local/lib/libcla=
mav.so.7
> #4  0x0000000800d5e256 in cli_printcxxver () from /usr/local/lib/libcla=
mav.so.7
> #5  0x0000000800d5df16 in cli_printcxxver () from /usr/local/lib/libcla=
mav.so.7
> #6  0x0000000800d03283 in cli_printcxxver () from /usr/local/lib/libcla=
mav.so.7
> #7  0x0000000800d034a4 in cli_printcxxver () from /usr/local/lib/libcla=
mav.so.7
> #8  0x0000000800c118d0 in cli_pcre_scanbuf () from /usr/local/lib/libcl=
amav.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/libc=
lamav.so.7
> #11 0x0000000000408fec in main ()
>=20
> I am going to try rebuilding with symbols.
>=20
> Any ideas what is causing this or how to get around it?
>=20
> pkg is clamav-milter-0.99.2
>=20

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.


--=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


--Phji2gmF7pBUAfsrPJiQLwv4QCDr3wG2a--

--93O5pTLFKQMSKS2RkiS6XxSfs4OnqXSGU
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

iQIcBAEBCAAGBQJXqSzlAAoJEPuLoJ3VOY8ptFQP/1khNgBBlbqKcqIL4rdUITQW
hxXu/tkIaciBoIcow6gB5YtqsAVqNm8sTtiryGeoxU1gKANUVUBEYBOkFANyfmg5
cEYqMJBpy7A1dfNt6v9E4BcVyGtscbn+M5+qnBzsF+TnnDcDz0W0CyxbBHK//HnS
UeccN4EXI5lHatSR960lYjS5m6UTznDUN4g4YB0MPuM42qNjP5u8Usnp+B1oTogq
6JsbaBQFC0NWS/XhvYknPoHMbtHoCUCN/hd/1/ypkRmRdVeDqEo6hRX/UZK1FenO
EsM+6pin0LBY1TR00OcV4WK2aZNNHsKWsx26zxzYyMJXKZ6XqOBoCz+u1Il4NP31
Yt9mdkwEQRI5JP3ZyjQf6kSxgANbviZTarzOFrtazNPiVUAAuTEvPT+pn0OD/v4l
1WmH7ZD6ehEaGdbCJZ5cwmf5sIW26n3THBm7PXbbbbmva/NM2HmaG+He+iuA+35J
cOl7hrjlMY7MBi1jv+Lr31eEju7cXiXwbAv8UtC9babP6v2QhNHaVMl0CecohbM+
dSt7ntoXY0EAiaMRjdMBe3D6LZKeB5E6Po1wg46c9/DE7RgEnZtbD64RIEdGyVcX
SmbyI33wfEW8Nimk6vmhpCWqEDmNAIIAeRP6yO4hnbk4kezI8+JD8Ek8iw6eEXZq
wqqV0NqmfQ08oUUJWVpr
=CbJu
-----END PGP SIGNATURE-----

--93O5pTLFKQMSKS2RkiS6XxSfs4OnqXSGU--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b02ec1e9-b632-d508-5f80-3abc5e697b5d>