This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tui/22928] SIGSEV on `gdb -tui`


https://sourceware.org/bugzilla/show_bug.cgi?id=22928

--- Comment #4 from Kyrylo Shpytsya <kshpitsa at gmail dot com> ---
It looks like this is Gentoo specific. For some reason both unicode and
non-unicode ncurses libs get linked. I recall facing similar issues/crashes
with other ncurses based software on Gentoo.


$ ldd $(which gdb)|grep -P 'curses|tinfo'
        libtinfo.so.6 => /lib64/libtinfo.so.6 (0x0000xxxxxxxxxx)
        libncursesw.so.6 => /lib64/libncursesw.so.6 (0x0000xxxxxxxxx)

Temporarily replacing non-unicode libtinfo by libtinfow

# mv /lib64/libtinfo.so.6{,.keep}
# cp /lib64/libtinfo{w,}.so.6

fixes the issue.

I may open a Gentoo bug unless it is already there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]