SymSearch can cause make nconfig to segfault

Vivien Gallinaro
2023-11-08T02:30:21Z

Hi all,

In make nconfig, when I perform a SymSearch (F8) for "x86", I get a
segfault. It doesn't happen in make menuconfig (/ search).

It doesn't seem to be a simple matter of "too many results" as a
SymSearch for "fs" does ok.

For a fresh 6.6 kernel :

$ cd linux-6.6
$ make mrproper
$ make nconfig 2>../blarb
(<F8> x86 <enter>)
$ reset
$ cat ../blarb

gives :

make[2]: *** [scripts/kconfig/Makefile:48: nconfig] Segmentation fault
make[1]: *** [/home/username/linux-6.6/Makefile:697: nconfig] Error 2
make: *** [Makefile:234: __sub-make] Error 2

That's not very helpful, I know… looking up "x86" was not particularly
useful either! (I was following a wiki referring to x86_sysfb. Before I
realized it probably doesn't exist any more, I tried to widen the
search, since I had just come across the deprecation of efi_vars in
favor of efivar_fs, so to speak.) I hope some one can help the search
fail gracefully.

Have a nice day,
VG