From owner-freebsd-ports@freebsd.org Tue Aug 9 14:20:10 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 50550BB46D3 for ; Tue, 9 Aug 2016 14:20:10 +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 2A97F1D6B for ; Tue, 9 Aug 2016 14:20:10 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 2A023BB46D2; Tue, 9 Aug 2016 14:20:10 +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 29B04BB46D1 for ; Tue, 9 Aug 2016 14:20:10 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (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 EB1621D69; Tue, 9 Aug 2016 14:20:09 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pa0-x22d.google.com with SMTP id ti13so5931049pac.0; Tue, 09 Aug 2016 07:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:reply-to:subject:references:to:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=oK7YA/rNVZGFBDbBqAOm//bhuGzb/Y5BByRkbE/DHw0=; b=m4UZTrzPzu3O90a5RhLu+j+qUbAX+ttRA1rL8uNlB1Ai3LoD9/1YCmj9irj7skL+RF p0bZc+Re1HL1al4C4zVYRlcwxw2VGLWXHbiJT63LaAmarjSUvyAdjfMd59td2ATkzhg6 ltFQlxen/OjjnzmAqo/V99sEPzj+/0OvncenX9utkPZDSDac4kM7FauPXM+ZGAprWjKH agqsFZS3gzV8UGXUPhL9TLNowJQND4xduvhrwGN6gXe6Jx/iJXwej1BXHE6lfcJIEPEE DBmvhdeHoqwbIbgQX40sAExKonsDA0DSMSpld03JVCb+2UMw32GznlLLSSX8vWmy1Kz6 xn4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:reply-to:subject:references:to:cc:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=oK7YA/rNVZGFBDbBqAOm//bhuGzb/Y5BByRkbE/DHw0=; b=lfk8UIc3Gl1AKsLhkZe5FLnWZ/dzmv4HVIsZfNDi7mqNIpM4AP1pUb81iDgnAsKBV9 mTubBnoxJfFVilmzSpWPCuy8heFnN6HInx5cTwhTeaFXPEW1gKgahlTNy+TWicBIkzrn mh055hUsYSkz3ju/kes9Ial9xjj/RKSAWJ2SPuej5Oocrt8uzNPj2JW+kpqd51vGtAVn YW3ySEfaLcYx/wwtpMgjHxFE5rAqD+p44MIVj2EGcItq0Y03GX/WH9Qd6Ybayp9Thp3R /N1+uM1lQLfPflhhMwsAxAVLW4RzOXzkJRYK5Su/aALQ9JcfRnqlHEVaVb2vT2IWTU5b GNKQ== X-Gm-Message-State: AEkooutB/LaSUTJPkKWpJddJgK6XW/jv38AiX2q4GrS6zmaxDl3qtaJMUl/aE5UDzm3f9A== X-Received: by 10.66.248.165 with SMTP id yn5mr175096291pac.44.1470752408898; Tue, 09 Aug 2016 07:20:08 -0700 (PDT) Received: from ?IPv6:2001:44b8:31ae:7b01:f985:3c4b:2a0c:8bea? (2001-44b8-31ae-7b01-f985-3c4b-2a0c-8bea.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01:f985:3c4b:2a0c:8bea]) by smtp.gmail.com with ESMTPSA id b68sm56455423pfg.85.2016.08.09.07.20.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Aug 2016 07:20:08 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: Clamd core dumps References: To: fluffy@FreeBSD.org, FreeBSD Ports Cc: Doug Hardie From: Kubilay Kocak Message-ID: Date: Wed, 10 Aug 2016 00:20:03 +1000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Thunderbird/50.0a2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 8bit 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: Tue, 09 Aug 2016 14:20:10 -0000 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?