"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
"Todd C. Miller" <Todd.Miller@sudo.ws>
Subject:
Re: tog: pthread_cond_destroy: Invalid argument
To:
Christian Weisgerber <naddy@mips.inka.de>
Cc:
gameoftrees@openbsd.org
Date:
Wed, 11 Nov 2020 12:17:51 -0700

Download raw body.

Thread
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