From owner-freebsd-hackers@freebsd.org Thu Oct 4 07:57:10 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 2879510C34F4 for ; Thu, 4 Oct 2018 07:57:10 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) (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 9927988FB1 for ; Thu, 4 Oct 2018 07:57:09 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-pf1-x434.google.com with SMTP id p24-v6so2966601pff.10 for ; Thu, 04 Oct 2018 00:57:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cuE9SkfKcEOybpjr6MFTkavADDwHZDHgmFK6rVPKmX0=; b=e7oy4wmkGySTA0Ks+qm5wS0qim0Se9j1itICfLwtoIgfzRRxqNH1DxpPEnHbDzFTVv y3Jls+1TGzLPAnZqFyHnDQ/TfBJHh3e32MW8QZULIXt/QHKb/SE4ng5BYmQHFpSXF3IT qJI7qijkCpgcQo89e/2B0RcbwqYBe3JigUSGfisGvafwCp4zO36yDs7aj/PrSApz2GEy kmow1U3kP7RRn3QG2BJunxR6MW6VNmZlBcUtgjGzdYM+HW2b7+R9qR49RRMrE0DnYB34 BbC/PfvkFduCyp5Va4/7um4M+FUle+8Fx7UoBcN+aPPMPjX1HX4F67O8N92m8Za0jGxn arKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cuE9SkfKcEOybpjr6MFTkavADDwHZDHgmFK6rVPKmX0=; b=k3NTjoflwXXdv9fDUWp0L1osvTpxvt1BSYM/MC6xNJ1Zg6FVX1qxEH5aPOjp7Gba/q oIQqF17IgHO9GgkFANxOnji7eeXbrc+ze6cMVoPLPtb9CTAzKmKYNfIUK9vfPqaQ18sE GHXSEZyjFEvSC2vzkwesBZph/w6XGO5C/srB2a42cYlREIEA+w/vIAUzgbNsNtm2xSYr fdDKNR8+YU2StMuadMIotFGX4dQKN6H6FXL1XENrAWIcmkmzviZVsRMSLeNXxlFesrg1 3lhKnYn6k/sKsM/6H28ct8Edgsouncx7luhXrFMsNAHbVy93GlIgzErnCx2UBd9w5kCC AGCg== X-Gm-Message-State: ABuFfojNKVaFcNfsgVMppfdV7paKhjmjHUzfBuxFWc3d4zHKuNnLj657 5s5dSVrwOcapUVy/orDVRxaH0TSQDQQufo+VTEBSNUV9 X-Google-Smtp-Source: ACcGV61Z3lJEjLJE1zTGsBU1Y6Eh7KpqOKcsE2R3XZNLE4kjumWRMhd45B2zrXpu8NX55MJ55gDBK/Sqz0roLyUom/A= X-Received: by 2002:a62:438c:: with SMTP id l12-v6mr5499987pfi.175.1538639828512; Thu, 04 Oct 2018 00:57:08 -0700 (PDT) MIME-Version: 1.0 References: <20180824185328.GE2340@kib.kiev.ua> <4e555da7-9384-0f22-3ef9-8b3661a48529@vangyzen.net> <20180824192315.GF2340@kib.kiev.ua> <20181003213408.GV5335@kib.kiev.ua> In-Reply-To: <20181003213408.GV5335@kib.kiev.ua> From: Gleb Popov <6yearold@gmail.com> Date: Thu, 4 Oct 2018 10:56:41 +0300 Message-ID: Subject: Re: Strange hang when calling signal() To: Konstantin Belousov Cc: freebsd-hackers X-Mailman-Approved-At: Thu, 04 Oct 2018 10:48:53 +0000 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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 07:57:10 -0000 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