From owner-freebsd-ports@freebsd.org Thu May 21 07:23:10 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 91E1532BFEE for ; Thu, 21 May 2020 07:23:10 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (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 49SLgd6mMXz4Wds for ; Thu, 21 May 2020 07:23:09 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 92E63FD7; Thu, 21 May 2020 03:23:07 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 21 May 2020 03:23:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=A lXqvSx5NzX4UHtPYeCqFgN4h8bvvthX0HIvKPrP4TA=; b=SwYrgqhoMwm/RiZmU g9+9tw5XZ8+Q+wEjWr+Ugq8GC5yzTTbFVZWa4Dbhh+E4WFejypc/TqMlcrA3uJwN U/zxkQVrG6HQShPNE7IdGsp1XaJmNZJuj8sSyQrrmi4kz7iKUNz0F20mh+In3rQA ngxryfjxY68V99HjzmhCxPktKgubvyDTxsoDW42gpurKfSsRNQYbo4PLjcXnBsjY 8hMTtx9m5NFhsyIsn5K6PHEKVSOWH21nqTpe4LqqALuZbx45BlCl4JHl18fRWzcB 11b013ao4O4acHnK1E7GFrllw1g7sy5RbglP61XZPrwQEMtPDhTWTS25gsVoS5Gk eY+tw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=AlXqvSx5NzX4UHtPYeCqFgN4h8bvvthX0HIvKPrP4 TA=; b=RErqOZdMA0wBSOW4RK1rs55Md/JfFbyhIlZZX8lngd/oMsypw/f4CpweJ OmV6fCV5dsM/gNKtnbUdhgEEkoUdzC5cTEWqtuFMSzSfHIIXnmvHrsAKSAQaLWRU QCnejsjwyJrO0w1Qs8ACrkRQiQmLwwHZavYu2BFTfdHeljHC2fhM1SVjXmbCDaSw R4SNQ3Cr9aPKf4bvLfCFjrXedWs473HlUkPi4AybZzV0g7LdrgMVeHdlNuQ67EY7 +Y7mvUMyQbuRqDCneRe4QqkR8hfhpjrxATggreeHbItb/nvZZRO1RZ2LVERSwVbV IpsL4x5zyb22+1/4Id3xRtJlVy5rg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddutddgudduiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesth ejredttdefjeenucfhrhhomhepjghurhhiucfrrghnkhhovhcuoeihphgrnhhkohhvsehf rghsthhmrghilhdrtghomheqnecuggftrfgrthhtvghrnhepveetieelgffhffegffetfe eitddtgfduteeguddvtdfggfeuffdtieetlefhgeetnecukfhppedukeekrdduiedvrddu ieejrddufeefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhephihprghnkhhovhesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: from [10.0.0.100] (unknown [188.162.167.133]) by mail.messagingengine.com (Postfix) with ESMTPA id 75F18306647D; Thu, 21 May 2020 03:23:06 -0400 (EDT) Subject: Re: poudriere segmentation fault on 13-CURRENT To: Grzegorz Junka , freebsd-ports@freebsd.org References: <2b044d26-5ba8-ff6b-bf00-d1d0b18b4fb2@gjunka.com> <899a6cae-6c3e-1b91-6560-8823ba654ff4@gjunka.com> From: Yuri Pankov Message-ID: <096c8777-2a0f-85b9-812d-fa2f8574df5a@fastmail.com> Date: Thu, 21 May 2020 10:23:05 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <899a6cae-6c3e-1b91-6560-8823ba654ff4@gjunka.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49SLgd6mMXz4Wds X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=fastmail.com header.s=fm2 header.b=SwYrgqho; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=RErqOZdM; dmarc=pass (policy=none) header.from=fastmail.com; spf=pass (mx1.freebsd.org: domain of ypankov@fastmail.com designates 64.147.123.25 as permitted sender) smtp.mailfrom=ypankov@fastmail.com X-Spamd-Result: default: False [-4.18 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[fastmail.com:s=fm2,messagingengine.com:s=fm2]; RECEIVED_SPAMHAUS_PBL(0.00)[188.162.167.133:received]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[fastmail.com]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.25]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_VERYGOOD(0.00)[64.147.123.25:from]; NEURAL_HAM_LONG(-1.05)[-1.052]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[fastmail.com:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[fastmail.com,none]; NEURAL_HAM_SHORT(-1.06)[-1.058]; NEURAL_HAM_MEDIUM(-0.97)[-0.973]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[fastmail.com]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.25:from] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2020 07:23:10 -0000 Grzegorz Junka wrote: > > On 20/05/2020 19:33, Yuri Pankov wrote: >> Grzegorz Junka wrote: >>> When configuring ports with this option: >>> >>> poudriere options -j 13 -p gui -z v8 lang/v8 >>> >>> for every port the configuration ends with "Segmentation fault". For >>> example, with that command the first port that shows up is >>> "python27-2.7.18". After the ncurses dialog is shown I click OK which >>> supposed to save the option. But instead, I see "Segmentation fault" >>> and nothing is written to >>> /usr/local/etc/poudriere.d/13-gui-v8-options/lang_python27/ >>> >>> This only happens when I use kernel 13-CURRENT and "Segmentation >>> fault" would happen regardless if used -j 13 or -j 12 or -j 12.1 >>> (STABLE and 12.1 jails respectively). Otherwise compiling with >>> poudriere on kernel 13 works fine, it's just the options that don't >>> work. >>> >>> I have to boot kernel 12, configure options, then boot kernel 13 to >>> compile. >>> >>> What might be the issue? >> >> Which program is misbehaving, is it dialog4ports? Do you have the core >> and can provide the backtrace? > > That's what I would like to find out. No core is dumped in the local > folder. Not sure where it would be dumped instead? If at all? > > The segmentation fault happens after the options have been selected. I > think it's at the moment when they should have been written to disk. You can check dmesg for that information, e.g.: pid 41216 (sleep), jid 0, uid 1001: exited on signal 11 pid 43373 (bad), jid 0, uid 1001: exited on signal 11 (core dumped) Note that the former doesn't say the "core dumped" as I just sent SIGSEGV to it using `pkill`, the latter is small test case dereferencing null pointer, and has its core written to the working directory. Also, is it reproducible without using poudriere? Is it running 12.x binaries with 13-CURRENT kernel? If yes, what are the revisions for both?