From nobody Sun Jun 20 14:30:10 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4F01C11CA143 for ; Sun, 20 Jun 2021 14:30:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G7FS26lrJz3h4W for ; Sun, 20 Jun 2021 14:30:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A432D36BB for ; Sun, 20 Jun 2021 14:30:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 15KEUAGI088158 for ; Sun, 20 Jun 2021 14:30:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15KEUAUg088157 for ports-bugs@FreeBSD.org; Sun, 20 Jun 2021 14:30:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 256731] devel/bison: core dump on NLS and colorized enabled Date: Sun, 20 Jun 2021 14:30:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lwhsu@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256731 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 wi= th 3.7.6, 3.7.5, 3.7.4 in ports, with or without the changes other than version informataion in Makefile. (USES+=3D iconv, NLS_BUILD_DEPENDS=3D libtextstyle>=3D0.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=20=20=20=20=20=20=20=20=20=20=20 foo.y:1.1-12: warning: deprecated directive: =E2=80=98%pure-parser=E2=80=99= , use =E2=80=98%define api.pure=E2=80=99 [[1m%=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 lwhsu@x1c:~/tmp > bison --color=3Dno foo.y foo.y:1.1-12: warning: deprecated directive: =E2=80=98%pure-parser=E2=80=99= , use =E2=80=98%define api.pure=E2=80=99 [-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=20=20=20=20=20=20=20 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=20=20=20=20=20=20=20=20=20=20=20 foo.y:1.1-12: warning: deprecated directive: =E2=80=98%pure-parser=E2=80=99= , use =E2=80=98%define api.pure=E2=80=99 [-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=20 (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: =E2=80=98%pure-parser=E2=80=99= , use =E2=80=98%define api.pure=E2=80=99 [[31msignal SIGSEGV: invalid address (fault address: 0x0) frame #0: 0x0000000000000000 error: Bad address (lldb) bt * thread #1, name =3D 'bison', stop reason =3D signal SIGSEGV: invalid addr= ess (fault address: 0x0) * frame #0: 0x0000000000000000 frame #1: 0x000000080084b42a libncursesw.so.9`delay_output_sp(sp=3D0x0000000000000000, ms=3D) at lib_tputs.c:104:6 frame #2: 0x000000080084bcb0 libncursesw.so.9`tputs_sp [inlined] delay_output(ms=3D) at lib_tputs.c:116:12 frame #3: 0x000000080084bca1 libncursesw.so.9`tputs_sp(sp=3D, string=3D"", affcnt=3D1, outc=3D) at lib_tputs.c:432 frame #4: 0x000000080084be2b libncursesw.so.9`tputs(string=3D"982f397d0005c5334f28943700000000", affcnt= =3D1, outc=3D(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 + 1= 27 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) --=20 You are receiving this mail because: You are the assignee for the bug.=