[Bug 256731] devel/bison: core dump on NLS and colorized enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 20 Jun 2021 14:30:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256731 Bug ID: 256731 Summary: devel/bison: core dump on NLS and colorized enabled Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: lwhsu@FreeBSD.org Assignee: sunpoet@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) devel/bison: core dump on NLS and colorized enabled after 3.6.4. Tested with 3.7.6, 3.7.5, 3.7.4 in ports, with or without the changes other than version informataion in Makefile. (USES+= iconv, NLS_BUILD_DEPENDS= libtextstyle>=0.21:devel/libtextstyle) lwhsu@x1c:~/tmp > cat foo.y %pure-parser lwhsu@x1c:~/tmp > bison --version bison (GNU Bison) 3.7.6 Written by Robert Corbett and Richard Stallman. Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. lwhsu@x1c:~/tmp > bison foo.y foo.y:1.1-12: warning: deprecated directive: ‘%pure-parser’, use ‘%define api.pure’ [[1m% lwhsu@x1c:~/tmp > bison --color=no foo.y foo.y:1.1-12: warning: deprecated directive: ‘%pure-parser’, use ‘%define api.pure’ [-Wdeprecated] 1 | %pure-parser | ^~~~~~~~~~~~ | %define api.pure foo.y:2.1: error: unexpected end of file foo.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] lwhsu@x1c:~/tmp > bison --version bison (GNU Bison) 3.6.4 Written by Robert Corbett and Richard Stallman. Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. lwhsu@x1c:~/tmp > bison foo.y foo.y:1.1-12: warning: deprecated directive: ‘%pure-parser’, use ‘%define api.pure’ [-Wdeprecated] 1 | %pure-parser | ^~~~~~~~~~~~ | %define api.pure foo.y:2.1: error: unexpected end of file foo.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] lwhsu@x1c:~/tmp > lldb /usr/local/bin/bison (lldb) target create "/usr/local/bin/bison" Current executable set to '/usr/local/bin/bison' (x86_64). (lldb) settings set -- target.run-args foo.y (lldb) run Process 52566 launching Process 52566 launched: '/usr/local/bin/bison' (x86_64) foo.y:1.1-12: warning: deprecated directive: ‘%pure-parser’, use ‘%define api.pure’ [[31msignal SIGSEGV: invalid address (fault address: 0x0) frame #0: 0x0000000000000000 error: Bad address (lldb) bt * thread #1, name = 'bison', stop reason = signal SIGSEGV: invalid address (fault address: 0x0) * frame #0: 0x0000000000000000 frame #1: 0x000000080084b42a libncursesw.so.9`delay_output_sp(sp=0x0000000000000000, ms=<unavailable>) at lib_tputs.c:104:6 frame #2: 0x000000080084bcb0 libncursesw.so.9`tputs_sp [inlined] delay_output(ms=<unavailable>) at lib_tputs.c:116:12 frame #3: 0x000000080084bca1 libncursesw.so.9`tputs_sp(sp=<unavailable>, string="", affcnt=1, outc=<unavailable>) at lib_tputs.c:432 frame #4: 0x000000080084be2b libncursesw.so.9`tputs(string="982f397d0005c5334f28943700000000", affcnt=1, outc=(libtextstyle.so.0`___lldb_unnamed_symbol150$$libtextstyle.so.0)) at lib_tputs.c:454:12 frame #5: 0x000000080030b81c libtextstyle.so.0`___lldb_unnamed_symbol149$$libtextstyle.so.0 + 92 frame #6: 0x000000080030c25f libtextstyle.so.0`___lldb_unnamed_symbol152$$libtextstyle.so.0 + 943 frame #7: 0x000000080030bb2f libtextstyle.so.0`___lldb_unnamed_symbol151$$libtextstyle.so.0 + 543 frame #8: 0x0000000800309790 libtextstyle.so.0`___lldb_unnamed_symbol125$$libtextstyle.so.0 + 32 frame #9: 0x0000000000223258 bison`___lldb_unnamed_symbol42$$bison + 968 frame #10: 0x0000000000222e6f bison`___lldb_unnamed_symbol41$$bison + 127 frame #11: 0x0000000000223632 bison`___lldb_unnamed_symbol46$$bison + 98 frame #12: 0x00000000002438bf bison`___lldb_unnamed_symbol241$$bison + 5615 frame #13: 0x000000000024b579 bison`___lldb_unnamed_symbol296$$bison + 57 frame #14: 0x000000000023644e bison`___lldb_unnamed_symbol194$$bison + 318 frame #15: 0x000000000021edc0 bison`___lldb_unnamed_symbol1003$$bison + 256 (lldb) -- You are receiving this mail because: You are the assignee for the bug.