![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1056171 http://bugzilla.suse.com/show_bug.cgi?id=1056171#c7 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(sbrabec@suse.com) --- Comment #7 from Dr. Werner Fink <werner@suse.com> --- (In reply to Jason M from comment #3)
I recompiled ncurses6 locally with wide char support, and then I recompiled cfdisk pointing at the new ncurses, and then I ran the new cfdisk with LD_PRELOAD bringing in the new ncurses libraries, and then cfdisk worked without segfault.
Is anyone ever going to recompile ncurses and cfdisk for Tumbleweed?
Use -lncursesw instead of recompiling ncurses simply by using pkg-config --cflags ncursesw -D_GNU_SOURCE -D_DEFAULT_SOURCE -I/usr/include/ncursesw pkg-config --libs ncursesw -lncursesw -ltinfow (In reply to Stanislav Brabec from comment #5)
Created attachment 740780 [details] backtrace
I just reproduced the problem with util-linux-2.30.1 from Base:System.
Program received signal SIGSEGV, Segmentation fault. termattrs_sp (sp=sp@entry=0x555555776fa0) at ../ncurses/tty/lib_vidattr.c:375
It looks like a bug in the ncurses: #4 0x00007ffff729daf6 in initscr () at ../ncurses/base/lib_initscr.c:89
recheck this with latest ncurses and PLEASE do not mixed ncurses with ncursesw ... the problem with incompatible libtinfo is fixed meanwhile as well as now we have libtinfo and libtinfow -- You are receiving this mail because: You are on the CC list for the bug.