From owner-freebsd-current@freebsd.org Wed Oct 17 08:29:22 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D596C10CD5F8 for ; Wed, 17 Oct 2018 08:29:21 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 336F17617C for ; Wed, 17 Oct 2018 08:29:21 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pf1-x42b.google.com with SMTP id u12-v6so12810963pfn.12 for ; Wed, 17 Oct 2018 01:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=eHYeioacBRpYT6W4Oz6L6a6RlqcyPnb+EjIiekPg6Ok=; b=Ifw/uNTyt8N13V5+QcCjQG8bnf2Hkn+Zz51QhzRxvHxm/aEyXaOd7OYtdCDZxzkSDn cpAYQBeBL3WQGN8ZbSOvhbS22A+kr3r0ubWgEc60rvhznIIDq6KJKPHNbXiRkhyAgoCk YHQbowBbzGnYcet8vphEVxQxbRDGlTuxOHqRy1ZGhHKRI5WHwL7GTsXMjBUcgn1trc5S XNmWpSImoSb1cowTzEYjhC7Yt3WXMrDUX//6VRqgRF+7lh9O1NH3AOjv+1HeWzWmSf5D I/wzI4ItfMLb9eRusNsZAItN1oRGBHbwcOgDjSQKyogCPf8Asg2JwKKITVZ+PNukBapT TBRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=eHYeioacBRpYT6W4Oz6L6a6RlqcyPnb+EjIiekPg6Ok=; b=JSL/cMYEGyF7W/YXGBDMNELmd+TMGpzA5YOfGyPiWzcjPPyL7IGQwfxmgkHPqbrFtM cJ7LLxUi14JseC1TIo30DWLhd/VxPmAfF8G2zZ+UKhFgAGZjvO/fzJSE2reNHaugOfDd fBpvsdp3SOvPKGGqWcTJbPReZFJtxbuTI/Q1n1D4lz+NhvN3CXpVuZBrY8roz5tHQrO4 IBMK3jjc9mbfLMiuCApMrln1mIBdX+UJwiIw3AHGVApNSSEVhht+py1/DQ97e/VAYwvd O9cgpHo/xKI3X37CsslPeb5QBymrYuccmwGLMTWJpeNmRa/XaKWzKjrNLT9aqr4+gun4 3FsA== X-Gm-Message-State: ABuFfojl4pP2EC/svJnWRw19RC3SLY7GGBdOg7h6WwFUqX01tY6wTzKC YOUR32dqznExgKh9Prq28tty+H+lMHE= X-Google-Smtp-Source: ACcGV63M56CMFXC6Y+WdyokEFgvFKbvrAokjC3KEtz3HjbAXWmANfG8I6GWpsKwC+Qg+p5DKViBKJg== X-Received: by 2002:a63:1919:: with SMTP id z25-v6mr23051645pgl.135.1539764959612; Wed, 17 Oct 2018 01:29:19 -0700 (PDT) Received: from [192.168.1.105] ([103.103.242.159]) by smtp.gmail.com with ESMTPSA id f193-v6sm23761603pfc.74.2018.10.17.01.29.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Oct 2018 01:29:19 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: Git segfaulting in libcrypto.so when trying to clone. To: Brennan Vincent , freebsd-current@freebsd.org References: <5bc6f155.1c69fb81.e51a8.59aaSMTPIN_ADDED_MISSING@mx.google.com> From: Kubilay Kocak Message-ID: <81d6ba4f-efb5-8659-f0b7-b55499679238@FreeBSD.org> Date: Wed, 17 Oct 2018 19:29:16 +1100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:63.0) Gecko/20100101 Thunderbird/63.0 MIME-Version: 1.0 In-Reply-To: <5bc6f155.1c69fb81.e51a8.59aaSMTPIN_ADDED_MISSING@mx.google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2018 08:29:22 -0000 On 17/10/2018 7:14 pm, Brennan Vincent wrote: > Hi Kubilay (or do you prefer "koobs"?). Thanks for the response. > > To answer your questions: > * I am using latest packages > * My /etc/make.conf was empty when I built the system, and now just has `WITH_DEBUG=yes`. > > # uname -a > FreeBSD freebsd 12.0-ALPHA9 FreeBSD 12.0-ALPHA9 #3 r339359: Tue Oct 16 03:28:51 UTC 2018 root@freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 > # ldd /usr/local/bin/curl > /usr/local/bin/curl: > libcurl.so.4 => /usr/local/lib/libcurl.so.4 (0x800268000) > libz.so.6 => /lib/libz.so.6 (0x8002e7000) > libkrb5.so.11 => /usr/lib/libkrb5.so.11 (0x800301000) > libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x800382000) > libgssapi_krb5.so.10 => /usr/lib/libgssapi_krb5.so.10 (0x80038f000) > libthr.so.3 => /lib/libthr.so.3 (0x8003b1000) > libc.so.7 => /lib/libc.so.7 (0x8003dc000) > libnghttp2.so.14 => /usr/local/lib/libnghttp2.so.14 (0x8007e7000) > libssl.so.8 => /usr/lib/libssl.so.8 (0x800812000) > libheimntlm.so.11 => /usr/lib/libheimntlm.so.11 (0x800888000) > libhx509.so.11 => /usr/lib/libhx509.so.11 (0x800891000) > libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x8008e2000) > libcrypto.so.8 => /lib/libcrypto.so.8 (0x8008e7000) > libasn1.so.11 => /usr/lib/libasn1.so.11 (0x800b59000) > libwind.so.11 => /usr/lib/libwind.so.11 (0x800bfd000) > libheimbase.so.11 => /usr/lib/libheimbase.so.11 (0x800c27000) > libroken.so.11 => /usr/lib/libroken.so.11 (0x800c2e000) > libcrypt.so.5 => /lib/libcrypt.so.5 (0x800c43000) > libcrypto.so.9 => /lib/libcrypto.so.9 (0x800c65000) > libprivateheimipcc.so.11 => /usr/lib/libprivateheimipcc.so.11 (0x800f52000) > # ldd /usr/local/lib/libcurl.so.4 > /usr/local/lib/libcurl.so.4: > libnghttp2.so.14 => /usr/local/lib/libnghttp2.so.14 (0x800707000) > libssl.so.8 => /usr/lib/libssl.so.8 (0x800732000) > libheimntlm.so.11 => /usr/lib/libheimntlm.so.11 (0x8007a8000) > libhx509.so.11 => /usr/lib/libhx509.so.11 (0x800e00000) > libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x8007b1000) > libcrypto.so.8 => /lib/libcrypto.so.8 (0x800e51000) > libasn1.so.11 => /usr/lib/libasn1.so.11 (0x8010c3000) > libwind.so.11 => /usr/lib/libwind.so.11 (0x8007b6000) > libheimbase.so.11 => /usr/lib/libheimbase.so.11 (0x8007e0000) > libroken.so.11 => /usr/lib/libroken.so.11 (0x8007e7000) > libcrypt.so.5 => /lib/libcrypt.so.5 (0x801167000) > libz.so.6 => /lib/libz.so.6 (0x801189000) > libkrb5.so.11 => /usr/lib/libkrb5.so.11 (0x8011a3000) > libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x801224000) > libgssapi_krb5.so.10 => /usr/lib/libgssapi_krb5.so.10 (0x801231000) > libthr.so.3 => /lib/libthr.so.3 (0x801253000) > libc.so.7 => /lib/libc.so.7 (0x800248000) > libcrypto.so.9 => /lib/libcrypto.so.9 (0x80127e000) > libprivateheimipcc.so.11 => /usr/lib/libprivateheimipcc.so.11 (0x80156b000) > > (aha - libcurl depends on .8 , and the curl binary depends on .9) > > From a cursory glance at the source tree, it seems libcrypto is part of openssl, is this right? It seems the openssl version is in flux right now, that might explain things... OpenSSL 1.1.1 import happened 7 days ago [1], which may partially explain the cause. Having two versions of the shared libraries in base is unexpected though, unless its intentional for some reason, or I'm missing/forgetting something. Do you run the delete-old / delete-old-lib targets during your upgrades? [1] https://svnweb.freebsd.org/changeset/base/339270