Date: Mon, 19 Apr 2021 12:34:11 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 254615] lldb: Crashes debugging editors/poke (WITH_DEBUG=1) using ncurses Message-ID: <bug-254615-29464-Qss1hcmtkK@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-254615-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-254615-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254615 Alex S <iwtcex@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iwtcex@gmail.com --- Comment #6 from Alex S <iwtcex@gmail.com> --- I'll note here for completeness, a similar issue was discussed on freebsd-current: https://markmail.org/thread/7hbfz2uozk6byulx. The bison segfault is not particularly difficult to run into. We just need = need a grammar file triggering warnings and a moderately fancy terminal (xfce4-terminal in my case): % fetch https://raw.githubusercontent.com/wine-mirror/wine/master/tools/wrc/parser.y % bison -p parser_ -o parser.tab.c -d parser.y parser.y: warning: 5 shift/reduce conflicts [ ... (lldb) bt * thread #1, name =3D 'bison', stop reason =3D signal SIGSEGV * frame #0: 0x0000000000000000 frame #1: 0x000000080082030a libncursesw.so.9`delay_output_sp(sp=3D0x0000000000000000, ms=3D<unavailable= >) at lib_tputs.c:104:6 frame #2: 0x0000000800820b81 libncursesw.so.9`tputs_sp [inlined] delay_output(ms=3D<unavailable>) at lib_tputs.c:116:12 frame #3: 0x0000000800820b72 libncursesw.so.9`tputs_sp(sp=3D<unavailabl= e>, string=3D"", affcnt=3D1, outc=3D<unavailable>) at lib_tputs.c:422 frame #4: 0x0000000800820cfb libncursesw.so.9`tputs(string=3D"72dd85a30005c0527fa7ae2e00000000", affcnt= =3D1, outc=3D(libtextstyle.so.0`___lldb_unnamed_symbol150$$libtextstyle.so.0)) at lib_tputs.c:444: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: 0x0000000000223250 bison`___lldb_unnamed_symbol42$$bison + 10= 24 frame #10: 0x0000000000222e2f bison`___lldb_unnamed_symbol41$$bison + 1= 27 frame #11: 0x0000000000224d43 bison`___lldb_unnamed_symbol57$$bison + 1= 139 frame #12: 0x000000000023641f bison`___lldb_unnamed_symbol194$$bison + = 559 frame #13: 0x000000000021eeb0 bison`___lldb_unnamed_symbol1007$$bison += 256 --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254615-29464-Qss1hcmtkK>