Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2021 21:40:49 +0200
From:      Juraj Lutter <otis@FreeBSD.org>
To:        Henric Jungheim <software@henric.org>
Cc:        Thomas Dickey <dickey@his.com>, FreeBSD-current@freebsd.org
Subject:   Re: 13.0-RC3 bison causes tputs SIGSEGV
Message-ID:  <7E5FFF68-3FDC-42C4-A1C9-4B2F483FABC5@FreeBSD.org>
In-Reply-To: <YGR%2B1yOzagxgvpqk@mail.henric.info>
References:  <YGImt%2BhzWnQTUjz/@mail.henric.info> <20210329233138.GA4334@prl-debianold-64.jexium-island.net> <33EE2402-4447-4168-AB5B-D98009CD03AA@FreeBSD.org> <20210331004803.GA1607@prl-debianold-64.jexium-island.net> <YGR%2B1yOzagxgvpqk@mail.henric.info>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 31 Mar 2021, at 15:53, Henric Jungheim <software@henric.org> 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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7E5FFF68-3FDC-42C4-A1C9-4B2F483FABC5>