For the reference, this bug has been reported originally at https://bugzilla.redhat.com/show_bug.cgi?id=1484290. Thomas said he could not reproduce it, but the crash happens with the current version in unstable.
Here is a backtrace from "infotocap POC12" after rebuilding tic with -O0, so that the variables are not all optimized out: ,---- | Reading symbols from infotocap...done. | (gdb) set args POC12 | (gdb) run | Starting program: /usr/local/src/deb-src/ncurses/ncurses/obj/progs/infotocap POC12 | | Program received signal SIGSEGV, Segmentation fault. | __strcmp_ssse3 () at ../sysdeps/i386/i686/multiarch/strcmp-ssse3.S:241 | 241 ../sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Datei oder Verzeichnis nicht gefunden. | (gdb) bt full | #0 __strcmp_ssse3 () at ../sysdeps/i386/i686/multiarch/strcmp-ssse3.S:241 | No locals. | #1 0x565602cd in fmt_entry (tterm=0x56577c40, pred=0x5655e9e9 <dump_predicate>, content_only=0, suppress_untranslatable=0, infodump=0, numbers=0) at ../../progs/dump_entry.c:996 | i = 7 | j = 39 | buffer = '\000' <repeats 4113 times>... | capability = 0x0 | name = 0xf7fb0627 "ws" | predval = -1 | len = 14 | num_bools = 0 | num_values = 0 | num_strings = 0 | outcount = false | #2 0x5656188d in dump_entry (tterm=0x56577c40, suppress_untranslatable=0, limited=1, numbers=0, pred=0x0) at ../../progs/dump_entry.c:1513 | save_tterm = {term_names = 0x0, str_table = 0x0, Booleans = 0x0, Numbers = 0x0, Strings = 0x0, ext_str_table = 0x0, ext_Names = 0x0, num_Booleans = 0, num_Numbers = 0, num_Strings = 0, ext_Booleans = 0, ext_Numbers = 0, ext_Strings = 0} | len = 0 | critlen = 1023 | legend = 0x56567862 "older termcap" | infodump = false | #3 0x56558ceb in main (argc=2, argv=0xffffd324) at ../../progs/tic.c:1037 | j = -1 | len = 0 | my_tmpname = '\000' <repeats 4095 times> | my_altfile = '\000' <repeats 1841 times>... | v_opt = -1 | debug_level = 0 | smart_defaults = 1 | termcap = 0x0 | qp = 0x56577c40 | this_opt = -1 | last_opt = 63 | outform = 2 | sortmode = 4 | width = 60 | height = 65535 | formatted = false | literal = false | numbers = 0 | forceresolve = false | limited = true | tversion = 0x0 | source_file = 0xffffd509 "POC12" | outdir = 0x0 | check_only = false | suppress_untranslatable = false | quickdump = 0 | quiet = false | wrap_strings = false | (gdb) `---- The POC12 file is attached.
POC12
Description: Binary data