NetBSD Problem Report #56461

From  Thu Oct 21 22:28:34 2021
Return-Path: <>
Received: from ( [])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 998CE1A9239
	for <>; Thu, 21 Oct 2021 22:28:34 +0000 (UTC)
Message-Id: <>
Date: Thu, 21 Oct 2021 22:28:33 +0000 (UTC)
Subject: audio/zynaddsubfx hangs at exit and can't save settings
X-Send-Pr-Version: www-1.0

>Number:         56461
>Category:       kern
>Synopsis:       audio/zynaddsubfx hangs at exit and can't save settings
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 21 22:30:00 +0000 2021
>Last-Modified:  Sat Oct 23 21:58:01 +0000 2021
>Originator:     bsduck
>Release:        current 2021-10-21
NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021 amd64
ZynAddSubFX hangs at exit. It's not possible to quit the program properly, and therefore not possible to save settings.
Run ZynAddSubFX, then try to close its main window. A popup window will appear, asking "Exit and leave the unsaved data? Yes/No". No matter which answer is chosen, the program will hang.


From: Michael van Elst <>
Subject: Re: pkg/56461: audio/zynaddsubfx hangs at exit and can't save
Date: Sat, 23 Oct 2021 17:54:23 +0200

 zynaddsubfx runs two threads.

 The main thread opens /dev/sequencer.
 The second thread reads from the open descriptor and blocks for input.
 The main thread tries to close the filedescriptor and stalls because
 the descriptor is in use.

 The sequencer device driver is buggy, the close should set sc_dying
 and wake up the pending read. So that's a kernel bug, not pkg.

                                 Michael van Elst
                                 "A potential Snark may lurk in every tree."

Responsible-Changed-From-To: pkg-manager->kern-bug-people
Responsible-Changed-When: Sat, 23 Oct 2021 21:58:01 +0000
mlelstv analyzed this and classified it as a kernel bug


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.