From owner-freebsd-current@freebsd.org Wed Mar 31 19:41:00 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 770F85AD564 for ; Wed, 31 Mar 2021 19:41:00 +0000 (UTC) (envelope-from SRS0=cMgG=I5=FreeBSD.org=otis@ns2.wilbury.net) Received: from ns2.wilbury.net (ns2.wilbury.net [IPv6:2a01:b200:0:1:f816:3eff:fecd:13e6]) (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 (2048 bits) client-digest SHA256) (Client CN "svc.wilbury.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9cB42GjTz4X6Z for ; Wed, 31 Mar 2021 19:41:00 +0000 (UTC) (envelope-from SRS0=cMgG=I5=FreeBSD.org=otis@ns2.wilbury.net) Received: from chemex.owhome.lan (gw-upc.owhome.net [188.167.168.254]) (Authenticated sender: juraj@lutter.sk) by svc.wilbury.net (Postfix) with ESMTPSA id 8833745D047; Wed, 31 Mar 2021 21:40:50 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: 13.0-RC3 bison causes tputs SIGSEGV From: Juraj Lutter In-Reply-To: Date: Wed, 31 Mar 2021 21:40:49 +0200 Cc: Thomas Dickey , FreeBSD-current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <7E5FFF68-3FDC-42C4-A1C9-4B2F483FABC5@FreeBSD.org> References: <20210329233138.GA4334@prl-debianold-64.jexium-island.net> <33EE2402-4447-4168-AB5B-D98009CD03AA@FreeBSD.org> <20210331004803.GA1607@prl-debianold-64.jexium-island.net> To: Henric Jungheim X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4F9cB42GjTz4X6Z X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 19:41:00 -0000 > On 31 Mar 2021, at 15:53, Henric Jungheim wrote: >=20 >>=20 >> Knowing that would help me see whether the problem is faulty = initialization >> from libtextstyle (i.e., the SCREEN pointer is null, making the path = via >> the static structure), or some ifdef-combination in ncurses that I've >> neglected (i.e., a flaw in the pointer juggling). I=E2=80=99ve observed that the application in question calls: /* Create the output styled stream. */ pk_ostream =3D (color_mode =3D=3D color_html ? html_styled_ostream_create (file_ostream_create (stdout), style_file_name) : styled_ostream_create (STDOUT_FILENO, "(stdout)", TTYCTL_AUTO, style_file_name)); Does it make any difference? thanks otis=