From owner-freebsd-hackers@freebsd.org Thu Oct 4 09:26:43 2018 Return-Path: Delivered-To: freebsd-hackers@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 0701A10C5BBB for ; Thu, 4 Oct 2018 09:26:43 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 885538BF15 for ; Thu, 4 Oct 2018 09:26:42 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id w949QV2L025255 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 4 Oct 2018 12:26:34 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua w949QV2L025255 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id w949QVAP025254; Thu, 4 Oct 2018 12:26:31 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 4 Oct 2018 12:26:31 +0300 From: Konstantin Belousov To: Gleb Popov <6yearold@gmail.com> Cc: freebsd-hackers Subject: Re: Strange hang when calling signal() Message-ID: <20181004092631.GD5335@kib.kiev.ua> References: <20180824185328.GE2340@kib.kiev.ua> <4e555da7-9384-0f22-3ef9-8b3661a48529@vangyzen.net> <20180824192315.GF2340@kib.kiev.ua> <20181003213408.GV5335@kib.kiev.ua> <20181004082137.GC5335@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2018 09:26:43 -0000 On Thu, Oct 04, 2018 at 11:39:21AM +0300, Gleb Popov wrote: > On Thu, Oct 4, 2018 at 11:21 AM Konstantin Belousov > wrote: > > > On Thu, Oct 04, 2018 at 10:56:41AM +0300, Gleb Popov wrote: > > > On Thu, Oct 4, 2018 at 12:34 AM Konstantin Belousov > > > > > wrote: > > > > > > > On Wed, Oct 03, 2018 at 03:18:12PM +0300, Gleb Popov wrote: > > > > > I failed to extract a reproducing testcase from that test. The > > extracted > > > > > code works fine, so either I missed something, or some hidden > > conditions > > > > > must be fulfilled for the bug to appear. > > > > > > > > > > Maybe I can try to dive into libc myself? Can you give me some > > guidance? > > > > Or > > > > > maybe you just build kdevelop yourself? It is a matter of handful of > > > > > commands. > > > > > > > > Can you provide me the minimal self-contained set of binaries and > > shared > > > > libraries and the instruction to reproduce the issue ? > > > > > > > > > > Pull in all needed depndencies > > > # pkg install kdevelop gmake cmake git > > > > > > Get KDevelop sources > > > # git clone git://anongit.kde.org/kdevelop.git > > > > > > # Build the test executable > > > # mkdir kdevelop/build > > > # cd kdevelop/build > > > # cmake .. > > > # gmake -j4 test_qthelpplugin > > > > > > Run the test executable and see that it hangs > > > # ./plugins/qthelp/tests/test_qthelpplugin testDefaultValue > > This is exactly the opposite of 'minimal'. Provide me the tarball which > > have just the binary and non-base shared libs needed to reproduce. > > > > I am not going to install kde on my crash boxes. > > > > Ok, can do that, but > > # ldd ./plugins/qthelp/tests/test_qthelpplugin | wc -l > > gives 286. Would that suit you? As far as all the mess is extracted into a single directory and can be removed with rm -rf, I am fine.