From: Boris Kolpackov <boris@codesynthesis.com>
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>
Subject: Re: kconfig: qconf: SIGSEGV when clicking outside edit area
Date: Mon, 2 Nov 2020 16:50:49 +0200 [thread overview]
Message-ID: <boris.20201102164007@codesynthesis.com> (raw)
In-Reply-To: <CAK7LNAQ6-MNVJ-n63cqrwn89xYaRnAnbgV46ExgqS-VghYaTdQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 843 bytes --]
Masahiro Yamada <masahiroy@kernel.org> writes:
> I cannot reproduce this problem.
>
>
> For example,
>
> I visited "General setup" -> "Default hostname".
>
> I double-clicked "(none)", then the edit box was activated.
>
> I clicked outside of the edit box, and the edit box got deactivated.
> I saw no problem.
Yes, I just tried that and I cannot reproduce it this way either. No
can I reproduce it with a minimal example with just one int option.
The attached Kconfig (from a "Hello, World" example I am writing),
however, reproduces it for me reliably:
$ rm .config
$ ENABLE_FANCY=y .../qconf Kconfig
Then, in the "Fancy options" select "Name fallback" and inside double
click on "Max times to ask for name" to activate the edit box. After
that, clicking anywhere outside of this edit box causes a SIGSEGV for
me. Can you try that?
[-- Attachment #2: Kconfig --]
[-- Type: text/plain, Size: 2145 bytes --]
menu "Basic options"
config IO
bool "IO support"
default y
help
Enable stdin/stdout input/output. Note that if this option is
disabled, then you won't see any output.
comment "IO disabled, no output will be shown"
depends on !IO
config PUNCT
string "End of greeting punctuation"
default "!"
help
Character for punctuating the end of the greeting sentence.
endmenu
menuconfig FANCY
bool "Fancy options"
default y
depends on $(ENABLE_FANCY)
help
Enable more fancy configuration options.
if FANCY
# GREETING_*
#
choice
prompt "Greeting"
default GREETING_HELLO
help
String to use as a greeting.
config GREETING_HELLO
bool "\"Hello\""
select GREETING_BUILTIN
config GREETING_HI
bool "\"Hi\""
select GREETING_BUILTIN
config GREETING_HOWDY
bool "\"Howdy\""
select GREETING_BUILTIN
config GREETING_CUSTOM
bool "Custom greeting"
endchoice
config GREETING_BUILTIN
bool
comment "Using builtin greeting string"
depends on GREETING_BUILTIN
config GREETING_TEXT
string "Custom greeting" if GREETING_CUSTOM
default "Hello" if GREETING_HELLO
default "Hi" if GREETING_HI
default "Howdy" if GREETING_HOWDY
help
Custom string to use as a greeting.
# NAME_*
#
choice NAME_FALLBACK
bool "Name fallback"
optional
help
Fallback name to use if it is unspecified on the command line.
config NAME_ASK
bool "Ask for name"
depends on IO
help
Ask for the name to greet if it is unspecified on the command line.
config NAME_DEF
bool "Use default name"
help
Use the default name to greet if it is unspecified on the command
line.
endchoice
config NAME_ASK_MAX
int "Max times to ask for name"
default 5
range 1 10
depends on NAME_ASK
help
Maximum number of times to ask for the name to greet.
endif # menuconfig FANCY
prev parent reply other threads:[~2020-11-02 14:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-29 14:50 kconfig: qconf: SIGSEGV when clicking outside edit area Boris Kolpackov
2020-11-02 3:07 ` Masahiro Yamada
2020-11-02 14:50 ` Boris Kolpackov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=boris.20201102164007@codesynthesis.com \
--to=boris@codesynthesis.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=masahiroy@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.