This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug tui/22928] SIGSEV on `gdb -tui`
- From: "kshpitsa at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 27 Mar 2018 10:17:17 +0000
- Subject: [Bug tui/22928] SIGSEV on `gdb -tui`
- Auto-submitted: auto-generated
- References: <bug-22928-4717@http.sourceware.org/bugzilla/>
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.