From owner-freebsd-ports@freebsd.org Wed Aug 10 02:26:05 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 B3073BB3BF9 for ; Wed, 10 Aug 2016 02:26:05 +0000 (UTC) (envelope-from garga.bsd@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 8EFB61EC6 for ; Wed, 10 Aug 2016 02:26:05 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 8A5ECBB3BF7; Wed, 10 Aug 2016 02:26:05 +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 89FC9BB3BF6 for ; Wed, 10 Aug 2016 02:26:05 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::22c]) (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 512821EC5; Wed, 10 Aug 2016 02:26:05 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: by mail-yw0-x22c.google.com with SMTP id r9so18020341ywg.0; Tue, 09 Aug 2016 19:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=LecnxbNrWdvZ9e8b182YbJa9tuqD5SujS2NqafXA308=; b=UFeeNyQI2WHvc3kJ4FDDw0lI/6jB+1LEu8jawojZZLYNKN6KVlt7oLlf/sKtix/q4o GL3bLF8PBQVz3bobMP+/G2L4/YKlnBueCiVZLI5hhMkISSVL21WC/cIhNQb28EeDqyzC adeqnpj5v8/l2BB/1Py+WzSfRIdoBMlnyEv00fKAwcsiENSKZuXW5EaOnl9QbanTJsNq 55s5vm1yzIhfgAh0BLJ7j+RTeMvBEr7zE/sMjF5r1+oAy0u/HawSQSOnrPXHZkmSxyok 3StIUBXio+boB1wwwgVeE91p+92HMQ/d5qBWk0tGU65RM3zY90xTo7ClprabL5OoaWBg lVFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=LecnxbNrWdvZ9e8b182YbJa9tuqD5SujS2NqafXA308=; b=hFDBC6jgP441B/AQKmWMYq7qL/Hsrn89PAc82mZd+eZG00zjS7cCXDp/r0OqhIjors kETWhgEiDcZyZIVo1/s4WRH13YzD3C84nSsK9/+6ESahEpQU0hK4IfonSibSwoyCWA/e bw5vVtZI96rpGZ/SE0G54hJxiOA+aoeTcVtzUgMXw84bgXEPBpjyW8YRHsZRj3LD3PFr qoC3iDDG0hHhEz+iionHJvFhdfCbxupUOVf0VolWQeLZDl9N6hCRpkqyDwLwB9sLihoE TbPzL45opjzjU9BQ44YWonL4m/Wtdhcj7sErD/ufV6BdovoeM9Tae1wyMZXAr2GoY/In yEmg== X-Gm-Message-State: AEkoouvptfRrnuXj3wJQ81XSyaxSugsKLVSdkCzZ1xKZHsmhNFGwNWRpP74lTu3+7rYmQEwU5Gck/eFLo5wbWQ== X-Received: by 10.129.124.138 with SMTP id x132mr1043329ywc.166.1470795964064; Tue, 09 Aug 2016 19:26:04 -0700 (PDT) MIME-Version: 1.0 Sender: garga.bsd@gmail.com Received: by 10.37.40.5 with HTTP; Tue, 9 Aug 2016 19:26:02 -0700 (PDT) Received: by 10.37.40.5 with HTTP; Tue, 9 Aug 2016 19:26:02 -0700 (PDT) In-Reply-To: <2de0f906-d77d-c2c7-4c08-24f921bcd28f@FreeBSD.org> References: <2de0f906-d77d-c2c7-4c08-24f921bcd28f@FreeBSD.org> From: Renato Botelho Date: Tue, 9 Aug 2016 23:26:02 -0300 X-Google-Sender-Auth: 3OyLP5twWfSqRQpbcPcP9IfvE4o Message-ID: Subject: Re: Clamd core dumps To: fluffy@freebsd.org Cc: koobs@freebsd.org, ports@freebsd.org 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 02:26:05 -0000 Thanks! Please go ahead and commit it. 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 > 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 > > Solution is works for me at two mailservers under 11.0-BETA4 and 10.3-REL= . > > > CC'ed to: garga@ (maintainer) > > -- > 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 > >