Dr. Werner Fink changed bug 1056171
What Removed Added
Flags   needinfo?(sbrabec@suse.com)

Comment # 7 on bug 1056171 from
(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: