From owner-freebsd-ports@freebsd.org Wed Aug 10 05:47:46 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF76FBB3843 for ; Wed, 10 Aug 2016 05:47:46 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B8F8C1930 for ; Wed, 10 Aug 2016 05:47:46 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id B4E6CBB3842; Wed, 10 Aug 2016 05:47:46 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B24A8BB3841 for ; Wed, 10 Aug 2016 05:47:46 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pf0-x22a.google.com (mail-pf0-x22a.google.com [IPv6:2607:f8b0:400e:c00::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D458192D; Wed, 10 Aug 2016 05:47:46 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pf0-x22a.google.com with SMTP id h186so12369426pfg.3; Tue, 09 Aug 2016 22:47:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:references:mime-version:in-reply-to :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=hgkqKdOuUYmJoc0bfmQddOxTddZU9Zq7vAfWkneKuLw=; b=zQyXc2IvUYmwsOUUriBGPQhI+IJ+DZ6lSapCBS5KZ9Rsxs4m3cxndm852em8NolLkS en/6XUJ/BxV9iVaeFttV/j1F6fuaRlXymB/zs3hKE9xVVIwImeKFF6V9nGihr9be3WA+ c3W9HmWfM12WvH71QkR0gOdifwH614EFgJhrYxccb8KoYf3WOhmOhVL/3M8srTYPDVpH b2u/uWl0m8NCTd676rTYcP0c24TUlqWGFRkwoPDMXyTMiViUNFIFIVK2EsqrVyCKAQXx cleN4uLOC1idQyx0iK3hKHHXXlqYTGbuk4hT6GNSnv/rw+CgsxiyQXLy8bjCqytx6R1y +v9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:references:mime-version:in-reply-to :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=hgkqKdOuUYmJoc0bfmQddOxTddZU9Zq7vAfWkneKuLw=; b=dXQwVG7/UvlBrc7F7rnwT+Szd0i0KkGPIE3DerttKvOc2L8fP9QnehPjCEVCMCo1yC ah55YGC/YkZMkT0dI4cyQjw4RisZjjRRtbgirxut3jZagTigY237xoFFbaD0gHVS+XYG W4ikWF/NFxm1x8p8BjV1ehM+gA4ijVVCmGbghrE06BVQJXSwR/Ti603SCDzaFhKdAyoI q93U2WtZjRPjzXZqG6Bb1JuaxyuI6tszrzk7HLMF7EiS/49DGo3RpS8Dk+k2MGpJ5rqm 1J4INRtzRV+ylhUJMIZ/QzN07keycnDCFnPLwsTxf6ve8bzyk1PVg1p76hOzoCMLJznZ R0sg== X-Gm-Message-State: AEkooutwOa9VHEvFt+cgS7+Macwr3rQ3f92cHKH4HWdfAgj3Z4B/q9A5EwGcf8DUy+em3w== X-Received: by 10.98.100.67 with SMTP id y64mr4021615pfb.84.1470808065600; Tue, 09 Aug 2016 22:47:45 -0700 (PDT) Received: from [10.22.242.217] ([120.19.125.143]) by smtp.gmail.com with ESMTPSA id h86sm60163484pfh.46.2016.08.09.22.47.44 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Aug 2016 22:47:45 -0700 (PDT) Sender: Kubilay Kocak References: <2de0f906-d77d-c2c7-4c08-24f921bcd28f@FreeBSD.org> Mime-Version: 1.0 (1.0) In-Reply-To: Message-Id: <63675FA5-C10E-4AB7-99BE-8D6BB9F4ADBD@FreeBSD.org> Cc: fluffy@freebsd.org, ports@freebsd.org X-Mailer: iPhone Mail (13D15) From: Kubilay Kocak Subject: Re: Clamd core dumps Date: Wed, 10 Aug 2016 15:47:39 +1000 To: Renato Botelho Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 05:47:47 -0000 Change should also be MFH'd if the quarterly version is affected=20 -- Regards, Kubilay Kocak > On 10 Aug 2016, at 12:26 PM, Renato Botelho wrote: >=20 > Thanks! Please go ahead and commit it. >=20 >=20 > Em 09/08/2016 23:23, "Dima Panov" 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 f= ine on 9.3. However, after upgrading it and reinstalling the package clamd c= ore 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. T= he bt from the core dump shows: >> >>> >> >>> #0 0x0000000800f94b09 in cli_printcxxver () from /usr/local/lib/libc= lamav.so.7 >> >>> #1 0x00000008010e7d2b in cli_printcxxver () from /usr/local/lib/libc= lamav.so.7 >> >>> #2 0x0000000800d3eee9 in cli_printcxxver () from /usr/local/lib/libc= lamav.so.7 >> >>> #3 0x0000000800d5ebd3 in cli_printcxxver () from /usr/local/lib/libc= lamav.so.7 >> >>> #4 0x0000000800d5e256 in cli_printcxxver () from /usr/local/lib/libc= lamav.so.7 >> >>> #5 0x0000000800d5df16 in cli_printcxxver () from /usr/local/lib/libc= lamav.so.7 >> >>> #6 0x0000000800d03283 in cli_printcxxver () from /usr/local/lib/libc= lamav.so.7 >> >>> #7 0x0000000800d034a4 in cli_printcxxver () from /usr/local/lib/libc= lamav.so.7 >> >>> #8 0x0000000800c118d0 in cli_pcre_scanbuf () from /usr/local/lib/lib= clamav.so.7 >> >>> #9 0x0000000800b675e8 in cli_bytecode_prepare2 () from /usr/local/li= b/libclamav.so.7 >> >>> #10 0x0000000800aba3b9 in cl_engine_compile () from /usr/local/lib/li= bclamav.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? >> > >>=20 >> Nope. Right solution is use a proper LLVM from ports instead of bundled >> (very limited) to build Jit engine. >>=20 >> Found it yesterday and filled a PR: >>=20 >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211683 >>=20 >> Solution is works for me at two mailservers under 11.0-BETA4 and 10.3-REL= . >>=20 >>=20 >> CC'ed to: garga@ (maintainer) >>=20 >> -- >> Dima Panov (fluffy@FreeBSD.org) >> (X11, KDE, Office)@FreeBSD team >>=20 >> Facebook: http://www.facebook.com/fluffy.khv >> twitter: fluffy_khv | skype: dima.panov | telegram: @dima_panov >> IRC: fluffy@EFNet, fluffykhv@FreeNode