From owner-freebsd-net@freebsd.org Mon Oct 15 02:47:31 2018 Return-Path: Delivered-To: freebsd-net@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 3749710CC939; Mon, 15 Oct 2018 02:47:31 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from cell.glebi.us (glebi.us [198.45.61.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebi.us", Issuer "cell.glebi.us" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9DE5D8043F; Mon, 15 Oct 2018 02:47:30 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from cell.glebi.us (localhost [127.0.0.1]) by cell.glebi.us (8.15.2/8.15.2) with ESMTPS id w9F2PJMo089625 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 14 Oct 2018 19:25:19 -0700 (PDT) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.glebi.us (8.15.2/8.15.2/Submit) id w9F2PI0l089624; Sun, 14 Oct 2018 19:25:19 -0700 (PDT) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.glebi.us: glebius set sender to glebius@freebsd.org using -f Date: Sun, 14 Oct 2018 19:25:18 -0700 From: Gleb Smirnoff To: "Enji Cooper (yaneurabeya)" Cc: FreeBSD Current , freebsd-net , Jonathan Looney Subject: Re: Relatively deterministic panic with sendfile(2) when running tests in the sxlock code Message-ID: <20181015022518.GV1044@FreeBSD.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Oct 2018 02:47:31 -0000 Hi Enji, On Sun, Oct 14, 2018 at 06:51:42PM -0700, Enji Cooper (yaneurabeya) wrote: E> Hi, E> I’m seeing a semi-deterministic panic on 12.0-ALPHA9 related to sendfile(2) when running sendfile_test on the host: https://pastebin.com/raw/6Y7xg0ki; it looks like it’s crashing in the sxlock code when calling sblock on a sockbuf. Are there any commands in gdb you would like me to run to display lock state? E> Repro: E> E> mkdir /path/to/git/checkout E> cd /path/to/git/checkout E> git clone https://github.com/ngie-eign/freebsd/tree/sendfile_tests . E> git checkout sendfile_tests E> (cd lib/libc/tests/sys/; make obj; make; sudo make install) E> kyua test -k /usr/tests/lib/libc/sys/Kyuafile sendfile_test I'd like to reproduce it myself, but looks like URL is wrong: glebius@erla:/usr/src:|>git clone https://github.com/ngie-eign/freebsd/tree/sendfile_tests Клонирование в «sendfile_tests»… fatal: repository 'https://github.com/ngie-eign/freebsd/tree/sendfile_tests/' not found -- Gleb Smirnoff