From: "Todd C. Miller" Subject: Re: tog: pthread_cond_destroy: Invalid argument To: Christian Weisgerber Cc: gameoftrees@openbsd.org Date: Wed, 11 Nov 2020 12:17:51 -0700 On Wed, 11 Nov 2020 19:34:57 +0100, Christian Weisgerber wrote: > On FreeBSD, when I hit ^L in the log view, tog(1) dies right away with > > tog: pthread_cond_destroy: Invalid argument > > This doesn't happen on OpenBSD. > *scratches head* stop_log_thread() can call pthread_cond_destroy() on an uninitialized condvar in the error path of open_log_view(). That begs the question of why open_log_view() is failing though. - todd