[Bug 1056171] cfdisk segfaults (from util-linux)
http://bugzilla.suse.com/show_bug.cgi?id=1056171
http://bugzilla.suse.com/show_bug.cgi?id=1056171#c7
Dr. Werner Fink
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.
participants (1)
-
bugzilla_noreply@novell.com