From owner-freebsd-ports-bugs@freebsd.org Wed Dec 23 04:42:42 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B81A74B275F for ; Wed, 23 Dec 2020 04:42:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4D10tp4f0Gz3q9j for ; Wed, 23 Dec 2020 04:42:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9F55A4B275E; Wed, 23 Dec 2020 04:42:42 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9F1B34B275C for ; Wed, 23 Dec 2020 04:42:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D10tp43Tzz3qGb for ; Wed, 23 Dec 2020 04:42:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7EDE6182D8 for ; Wed, 23 Dec 2020 04:42:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0BN4gg2B080006 for ; Wed, 23 Dec 2020 04:42:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0BN4ggBC080005 for ports-bugs@FreeBSD.org; Wed, 23 Dec 2020 04:42:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 252063] audio/virtual_oss does not stop when required Date: Wed, 23 Dec 2020 04:42:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grahamperrin@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hselasky@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Dec 2020 04:42:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252063 Bug ID: 252063 Summary: audio/virtual_oss does not stop when required Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: hselasky@FreeBSD.org Reporter: grahamperrin@gmail.com Flags: maintainer-feedback?(hselasky@FreeBSD.org) Assignee: hselasky@FreeBSD.org Tested with Firefox about:config media.cubeb.backend oss 1. Before the first 'service virtual_oss onestart',=20 sound from Firefox is audible and controllable with=20 pavucontrol 2. after the first 'service virtual_oss onestart',=20 sound from Firefox is audible and controllable with=20 virtual_oss_ctl 3. after the first 'service virtual_oss onestop',=20 virtual_oss continues to run (pid 28341) 4. after the _second_ `service virtual_oss onestart`,=20 virtual_oss: Could not create CUSE DSP device =E2=80=93 presumably a result of the non-stop of the=20 first start of the service 5. after the _second_ `service virtual_oss onestop`,=20 sound from the first instance of Firefox is _inaudible_ =E2=80=93 and whilst I can not easily restore sound=20 for the first instance (without quitting), I=20 can get sound by starting a second instance of=20 Firefox with its profile preset to _not_ have a=20 preference for media.cubeb.backend ---- # date ; uptime ; uname -v Wed Dec 23 04:09:43 GMT 2020 4:09AM up 4:53, 5 users, load averages: 3.23, 2.44, 1.73 FreeBSD 13.0-CURRENT #74 r368589: Sun Dec 13 07:55:46 GMT 2020=20=20=20=20 root@mowa219-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG=20 # service virtual_oss onestatus virtual_oss is not running. # service webcamd status webcamd is running as pid 1045. # service webcamd stop Stopping webcamd. Waiting for PIDs: 1045 # service webcamd status webcamd is not running. # service virtual_oss onestart Starting Virtual OSS config dsp ...hw.snd.basename_clone: 1 -> 0 done # service virtual_oss onestop Stopping Virtual OSS config dsp ... done # service virtual_oss onestatus virtual_oss is running as pid 28341. # service virtual_oss onestatus virtual_oss is running as pid 28341. # service virtual_oss onestart Starting Virtual OSS config dsp ...hw.snd.basename_clone: 0 -> 0 virtual_oss: Could not create CUSE DSP device done # service virtual_oss onestop # service virtual_oss onestatus virtual_oss is not running. # service virtual_oss onestatus virtual_oss is not running. # cat /dev/sndstat Installed devices: pcm0: (play) pcm1: (play/rec) default pcm2: (play/rec) No devices installed from userspace. # tail -n 18 /etc/rc.conf webcamd_enable=3D"YES" # webcamd_flags=3D"-H" virtual_oss_enable=3D"NO" virtual_oss_default_args=3D"\ -T /dev/sndstat \ -S \ -i 8 \ -C 2 -c 2 \ -r 48000 \ -b 24 \ -s 8.0ms \ -f /dev/dsp1 \ -c 2 \ -d dsp \ -t vdsp.ctl" sndiod_enable=3D"YES" # --=20 You are receiving this mail because: You are the assignee for the bug.=