Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5581876imm; Tue, 19 Jun 2018 12:51:17 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIDJfVPEMj+scHf8iXg42h6C8TD8hn82IdNvzNY2lF4tSICCL31hNP4+buLIgVk9GUH6Zds X-Received: by 2002:a62:4c04:: with SMTP id z4-v6mr19353912pfa.205.1529437877740; Tue, 19 Jun 2018 12:51:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529437877; cv=none; d=google.com; s=arc-20160816; b=AW8naHzoR5vZ8X2A+cFc4siUkzSo8XckceLBElTwxs5AiDkdIneGre2aUeAVVcspl3 e8ig0Cbz3s66r6nkbmRO9fPvJXEBeeNBQchlvl1q3uTljNu3Z9D6OedfPWqn7mHGjOVt 66o/0xs9Am6/kQMZ5aKWtm49k/jg6ISHndV424Vhn3spjIb9njttV2p0VdWfDGzIPYl9 njwrqEJ7lu0TBBzydvn4X/FFX1ninl+1KM/ydcmyKbSRBSGor4hiviGESP9xVGCPpcic lEfILFkNfexiioZOKDmrsjVRsupBhx3YkNhxqRfqPaGfoTostDA9n8Sgz7I0Iigv7mxW aaqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=UbP7GlaA2ukzmtDLF9x+qdDMRalY+LoA7oNQfUiYPvs=; b=0I14UPctFTpo18Ki9scT1P/5NZfKe3zEtyt+eyqWTEZyda6fAYZg1ghKC3HVQa552P 9gmxcCShY3EHufgZ3LL1sPUlWwJa+TohxkGsMbimNKGX9rj/qxgAZq6IKdEpJaXjVh+B Lb78ioWg0tnQ+b0jk5tp24Yxpw1Aifgf8hsiRzaHdEAPXgT2YfuwuQcN0yiWg19vpmFI wSqhgKTc9I2FhgYapX7HdPhYdbVxPlmyJEq+RNsTKn1vhF/QWlP6zAkTHjpRdXed3CMN 2VB89G2P2RkCOMFgz0sbeZwiIp8uhngoBFzCaPNV0Wvi4ooxUXjqwWjI8qH1UP1umWGI YPJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gouders.net header.s=gnet header.b=iGi5iocZ; 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 m5-v6si428576plt.468.2018.06.19.12.51.01; Tue, 19 Jun 2018 12:51:17 -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=pass header.i=@gouders.net header.s=gnet header.b=iGi5iocZ; 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 S1030607AbeFSTuT (ORCPT + 99 others); Tue, 19 Jun 2018 15:50:19 -0400 Received: from services.gouders.net ([141.101.32.176]:50440 "EHLO services.gouders.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030442AbeFSTuS (ORCPT ); Tue, 19 Jun 2018 15:50:18 -0400 Received: from localhost (ipservice-047-071-023-039.pools.arcor-ip.net [47.71.23.39]) (authenticated bits=0) by services.gouders.net (8.14.8/8.14.8) with ESMTP id w5JJhb2T030283 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 19 Jun 2018 21:43:37 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gouders.net; s=gnet; t=1529437417; bh=LprEAYONUVtEOa2BgbILQaS0xaBRi9zS3JIFci94RbA=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=iGi5iocZ5pqgo3o7P5xm2Cuv6JR1GXYfdi0O4SwXKG1nooBdcaHlo+3S/jjgU5QGP BbaU3ReK7V/pJf0sErpDy5B6NHuwUWQ1X/ABoX0y3ZbLPJdmqBAJ/P2UyUwQaX0g41 7Y851kgMNwvpyzT7mrAe4VoKmkEnf4LdzsXy5jtg= From: Dirk Gouders To: Randy Dunlap Cc: Masahiro Yamada , Linux Kbuild mailing list , Linux Kernel Mailing List , Segher Boessenkool , Sam Ravnborg Subject: Re: [RFC v7 1/1] mconf: global i-search in menu prompts In-Reply-To: <7a371124-007b-f758-44f0-c70c64ff5974@infradead.org> (Randy Dunlap's message of "Tue, 19 Jun 2018 12:34:21 -0700") References: <20180617121534.4809-1-dirk@gouders.net> <20180617121534.4809-2-dirk@gouders.net> <6e23227d-f3ed-2197-7458-b060b8c90b64@infradead.org> <7a371124-007b-f758-44f0-c70c64ff5974@infradead.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Date: Tue, 19 Jun 2018 21:43:34 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Randy Dunlap writes: > 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. Thank you very much. I will prepare a v8 with your comments on the diff also respected. Dirk