Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5568978imm; Tue, 19 Jun 2018 12:35:49 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJKU7cz4FgPAf/v4t2uUGrGu1Z6cTKbcQ4Hlk0IQED75tdy1oqH4cJLz22hcCai9HNFgcrI X-Received: by 2002:a17:902:683:: with SMTP id 3-v6mr20453675plh.291.1529436949224; Tue, 19 Jun 2018 12:35:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529436949; cv=none; d=google.com; s=arc-20160816; b=yTn2F0je+sDEVk18JOhJmfUzj0vh917NxrL6pugO07aa+UOurUm+F+9qQxTJrPYHlN AbCqAXiq9EhMg9u2cAim7VZMs0/hUh1cjzNZvCG/zY6we0GFjou4j2DPaH8CNtZra3LF U7ORtN/zd/A8zhYZ0s1j5JudF02MMQX25ZvI4QpvxCug58zfOlTPEkTZnTwjAiVwRlJB oLDs4+OoOLMJM2rs74MDkN17h25R95Xw5cGp+34GnaGl1n4NzWra3k2yksKO94CD1qWz 7PI8e6d4DKhh9V6gN4+HhLItExa+pA631+asQv1cmF3na7JeHfrw8MGfkrPpseZ9yvR+ uWWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=U9ex8GPIFdvZ+yG5cIdRYq8L+XtvAapS7SQ7OVuM1/g=; b=jBxSflH7c7aRLxziudB9nCmRNAxHALKha7Z87iHicuWyEEmHMATIOV70lU/wLW8r0i M5dA+667r/TO0lj4xevJBZ5idlnHWwrS4DbQekZ/K7Ti3kldPrMYQZCfYTLI8HRK0sgD xpndvzq00UyjBrUiJl4EBgfa9Q7nXiounsZ6THtV0EvMgDZ8Ui85155w5zboO/Zpm4Cv ZyazanMH3cHVh+w2ujyCY10SHOpkegma3uKeb8VZJZ1y30FdwNVahTObo1lYi29123a2 nqQDZtF0wDEpx/G3szZjvFHL5wLmyBoc1sOFnD9iXRiQzTVN3VxrwO/9XjJ4nCasADAG 5T2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=XeGyFUSJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c12-v6si314244pga.608.2018.06.19.12.35.27; Tue, 19 Jun 2018 12:35:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=XeGyFUSJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030508AbeFSTe2 (ORCPT + 99 others); Tue, 19 Jun 2018 15:34:28 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:55256 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030366AbeFSTe0 (ORCPT ); Tue, 19 Jun 2018 15:34:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=U9ex8GPIFdvZ+yG5cIdRYq8L+XtvAapS7SQ7OVuM1/g=; b=XeGyFUSJkkgF6Wn/G6cVCrlje xjJqZuYFxipkwZ9ktThXEbvlzFAZizsoGKHmcdJUKIlHBfRknxuN1zyHNAC5MdolY3MLJoodlXkJQ 6hZJGoZHTRsed+h/Rh/No6SQklO1069cW03ikg8zC9cMpVdZ6x+pDCHeyuD+PfEpAQ2n1OdSIWh9f tehOb8kycMRnKoHChZton9xOcd2DX3po2nwRinysbhZANKtsPMFpon1s3SOIimvM44onMk0LR5PYR bFIBSuvpi2ry8BQYa9lmtLr1olXijQFMSUpWvuPv1brblMpDR+eLEXhDrT2810vr2eRloAvbDQyi7 mnVGFzSYg==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fVMOV-0004uc-Hk; Tue, 19 Jun 2018 19:34:23 +0000 Subject: Re: [RFC v7 1/1] mconf: global i-search in menu prompts To: Dirk Gouders Cc: Masahiro Yamada , Linux Kbuild mailing list , Linux Kernel Mailing List , Segher Boessenkool , Sam Ravnborg References: <20180617121534.4809-1-dirk@gouders.net> <20180617121534.4809-2-dirk@gouders.net> <6e23227d-f3ed-2197-7458-b060b8c90b64@infradead.org> From: Randy Dunlap Message-ID: <7a371124-007b-f758-44f0-c70c64ff5974@infradead.org> Date: Tue, 19 Jun 2018 12:34:21 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/19/2018 11:47 AM, Dirk Gouders wrote: > Randy Dunlap writes: > >> Hi Dirk, >> >> On 06/17/2018 05:15 AM, Dirk Gouders wrote: >>> >>> At any time, at most one i-search is active and the navigation path to >>> the current menu is displayed in the subtitle, the second line in the >>> menu window. >> >> Nice. >> >> And the highlight of the current menu item is also nice when TAB is used to >> switch to the buttons. As well as toggling the help text based on context. >> >> >>> Navigation example: >>> >>> To navigate to options concerning NFS file systems, simply type 'n', >>> 'f' and 's'. >>> >>> Hint: use the 'z' key with focus on buttons to search for invisible >>> prompts. >> >> I think what this says is that the 'z' key is a toggle for the display of >> some (invisible) prompts. Is that correct? >> >> >> >> I reliably (consistently) get a segfault. I have hit it several times. >> Here is one way to get it: >> >> $ make menuconfig >> and then enter: >> /debug\ > > Hello Randy, > > thank you for testing and your comments! > > Concerning the segfault, I already have a version 8 prepared but wanted > to do more testing before disturbing people, again. > > The initialization and operation of the serialized menu was ugly and > wrong. I did not notice segfaults so far, but I can imagine the > segfaults you noticed are caused by this, because the code you tested > did not operate only on propper initialized array elements. > > Before sending out version 8, I would like to include your other > suggestions as well, so could you please try the attached patch if that > also produces the segfaults? Yes, this one is working for me without faults. thanks, -- ~Randy