From owner-freebsd-hackers@freebsd.org Thu Oct 4 08:39:50 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 0FB6310C48F9 for ; Thu, 4 Oct 2018 08:39:50 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) (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 876D98A5B1 for ; Thu, 4 Oct 2018 08:39:49 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-pg1-x52e.google.com with SMTP id 23-v6so2819082pgc.8 for ; Thu, 04 Oct 2018 01:39:49 -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=rN7yE8hcQhNBj81VtZWe9EkCg7BXaApX0ywtJostMao=; b=aMqH/6vW2hwdBIiG4YamQcRHUH0wRq4LufepZ75go5iUW/uBZbthgBJRfqcHknjthE mnAZkWO3W83oCHjeXBqCJc9aEzg7FBeHtImEq1kLB7OYmhVH2gRPhBlYfP8n9lpGm+6R MRpsrEUuFhVmgqtxWX4h4lte+5FVf6j6/nP4wSDwLgkvE++hul5RIDAo2eOICV8gsVoa 0qT1J8Zg9rC22OLvEnJ6n+ExrVSF3EohogR8N/7AF4YmE8M60uJOnrHlKw6s//9UUDfW g7Ms1RbRSVNy/kOvVSOFUfQHnlWDrU7xrUIwuZB6Ur90FcCsRqRIEKCB9O4VRPh5YPsI GwOg== 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=rN7yE8hcQhNBj81VtZWe9EkCg7BXaApX0ywtJostMao=; b=VRM/ceolRmf4omUNXI4DcY+pnyDQ0k5wmubJ4ux0sxvsPSt+lsVSvq4w8v+IZQxlZs Nrp+dCWSvjYGcANUvJjVB45+nxWIc8E7FFB2yh2Qqp9jiDdR/RgtszuAwQwQ85sJ/M1L iqC/Af45l0kEMZxa8XDCQ8BqWor4dFFF6wWSOjuZYPLzNMIaqa1rDCzkR13hXx4kcFyX HRGfmWLKRr7U9h9F6nq0jELkJdPndYv9wnu5uXlV3cZcqee4IPZSCyF1u61OxKXTfFX+ QsHoMqy1fResWUIhapALAFA4pGvYtAP/i4eCzml2OAhMeH+fp8RJRiaYm9dBJ83sJCfp hRCA== X-Gm-Message-State: ABuFfog0zsXjmymMV16m/4DJey204Q/vUK2OOcj/hzuPkCKu09NQB7Zu 5gq8jDDdkGX2+ozA/+QQEYpiaeLWzb79F1q8jG0oc0Dy X-Google-Smtp-Source: ACcGV62+iNDqg9JT/bIrWASezYfcNlQO7CZcH5i4YLwufMPhw7Xf930Ws4rI4jVB+f65FOsk6EqecVRdz7mccmEfd2M= X-Received: by 2002:a62:38d0:: with SMTP id f199-v6mr5705656pfa.48.1538642388267; Thu, 04 Oct 2018 01:39:48 -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> <20181004082137.GC5335@kib.kiev.ua> In-Reply-To: <20181004082137.GC5335@kib.kiev.ua> From: Gleb Popov <6yearold@gmail.com> Date: Thu, 4 Oct 2018 11:39:21 +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:49:19 +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 08:39:50 -0000 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?