From: Thomas Adam Subject: Re: tog atexit() infinite loop To: gameoftrees@openbsd.org Date: Fri, 20 May 2022 09:45:33 +0100 On Fri, May 20, 2022 at 10:26:08AM +0200, Stefan Sperling wrote: > On Fri, May 20, 2022 at 10:13:14AM +0200, Stefan Sperling wrote: > > On Fri, May 20, 2022 at 10:03:34AM +0200, Stefan Sperling wrote: > > > #3 0x00000cd17cf3b5d7 in cleanup (sig=) at /usr/src/lib/libcurses/tty/lib_tstp.c:283 > > > > Reading the code in ncurses above, it looks like the root of the problem > > is in ncurses. > > > > Of course, the log thread isn't supposed to be calling into curses > > at all, yet still ends up here... sigh... > > For now, the best idea I have is the following. OK? This looks OK to me, however, it might be worth forwarding this email to Thomas Dickey to see if he has any input from the ncurses side. He's always been really quick to respond... Kindly, Thomas