Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#366 - make kernel_menuconfig: Segmentation fault #5785

Closed
openwrt-bot opened this issue Jan 4, 2017 · 9 comments
Closed

FS#366 - make kernel_menuconfig: Segmentation fault #5785

openwrt-bot opened this issue Jan 4, 2017 · 9 comments
Labels

Comments

@openwrt-bot
Copy link

stintel:

LEDE r2762-ed69e93

Running make kernel_menuconfig always seems to segfault, also after make dirclean. Normal make menuconfig works fine, and make menuconfig in vanilla linux-4.4.39 directory works fine as well. I suspect this happens since host ncurses was upgraded from 5.9 to 6.0.

mconf[8657]: segfault at 103502c00 ip 00007f189d41155c sp 00007ffd91708240 error 6 in libncurses.so.6.0[7f189d3fa000+59000]

Running gdb on the core dump shows:

Thread 1 (LWP 2543):
#0 0x00007f847c5ab55c in waddch_literal (ch=, win=0x203f9e0) at /var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0/ncurses/base/lib_addch.c:385
#1 waddch_nosync (ch=, win=0x203f9e0) at /var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0/ncurses/base/lib_addch.c:437
#2 waddch (win=0x203f9e0, ch=) at /var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0/ncurses/base/lib_addch.c:543
#3 0x0000000000411c18 in attr_clear ()
#4 0x0000000000411c9c in dialog_clear ()
#5 0x0000000000412062 in init_dialog ()
#6 0x000000000040253b in main ()

@openwrt-bot
Copy link
Author

diizzyy:

If I recall correctly this also occurred on your Gentoo kernel too? If that's the case it's much better to submit this bug report upstream to avoid duplicate efforts to fix it.

@openwrt-bot
Copy link
Author

duvi:

I also have this error on Gentoo, but don't know since when.

@openwrt-bot
Copy link
Author

stintel:

No, make menuconfig works fine for vanilla kernel outside of LEDE, as mentioned in the report.

@openwrt-bot
Copy link
Author

duvi:

I'm talking about running make kernel_menuconfig in the LEDE tree on a Gentoo system (and not make menuconfig in Gentoo kernel source...).

@openwrt-bot
Copy link
Author

stintel:

So am I, I am the one who opened this bug, and told in the initial report that make menuconfig works fine in the vanilla kernel source, but make kernel_menuconfig in LEDE directory fails.

My reply was to diizzy, this is not an upstream problem.

@openwrt-bot
Copy link
Author

bjonglez:

Stijn, do you still see the issue? Can we close this bug report?

@openwrt-bot
Copy link
Author

stintel:

Still seeing this issue.

@openwrt-bot
Copy link
Author

darkman:

+1 still happening

@openwrt-bot
Copy link
Author

jscinoz:

I can confirm this is still happening - also on Gentoo. Regular menuconfig works fine, as does vanilla kernel menuconfig - the segfault only occurs with LEDE kernel_menuconfig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant