Re: 13.0-RC3 bison causes tputs SIGSEGV

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Wed, 31 Mar 2021 21:40:49 +0200
> On 31 Mar 2021, at 15:53, Henric Jungheim <software_at_henric.org> wrote:
> 
>> 
>> 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’ve observed that the application in question calls:

  /* Create the output styled stream.  */
  pk_ostream =
    (color_mode == 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
Received on Wed Mar 31 2021 - 17:41:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:27 UTC