bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mconf[2812]: segfault at 1 ip 00007fcf0aba6ee3 sp 00007fff5b377970 e


From: Thomas Dickey
Subject: Re: mconf[2812]: segfault at 1 ip 00007fcf0aba6ee3 sp 00007fff5b377970 error 6 in libtinfo.so.6.1[7fcf0ab96000+28000]
Date: Sat, 12 May 2018 08:07:25 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

On Thu, May 10, 2018 at 03:48:08PM +0800, address@hidden wrote:
> hi,
>     when build the linux kernel, use the "make menuconfig",a segfault 
> happened.
>    mconf[2812]: segfault at 1 ip 00007fcf0aba6ee3 sp 00007fff5b377970 error 6 
> in libtinfo.so.6.1[7fcf0ab96000+28000]
>     Thanks.

That could be any of a large number of problems (mostly configuration
problems rather than code...).  That's running a script that looks around
for shared libraries and uses those:

https://github.com/torvalds/linux/blob/master/scripts/kconfig/lxdialog/check-lxdialog.sh

along with the rules in

https://github.com/torvalds/linux/blob/master/scripts/kconfig/Makefile

In particular, note that the shell script only uses pkg-config to decide
if the libraries _exist_, but ignores its advice on _where_ to find the
libraries.

If I had to debug this problem, I'd setup a debug-version of ncurses
and get the script to run _those_ libraries, and (for instance) modify
the Makefile to use valgrind to log problems when running mconf.

With some work (and perhaps turning on the traces),
you'll see what's happening.

-- 
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]