Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2011 20:25:26 GMT
From:      Arnaud Lacombe <lacombar@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/156726: snd_uaudio(4) fails to detach when mixer is open
Message-ID:  <201104292025.p3TKPQqu013000@red.freebsd.org>
Resent-Message-ID: <201104292030.p3TKUCaw047863@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         156726
>Category:       amd64
>Synopsis:       snd_uaudio(4) fails to detach when mixer is open
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 29 20:30:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Arnaud Lacombe
>Release:        8.2-STABLE
>Organization:
n/a
>Environment:
FreeBSD shai 8.2-STABLE FreeBSD 8.2-STABLE #1: Wed Mar  9 15:22:10 EST 2011
>Description:
When a userland application has an open file descriptor to /dev/pcmN, backed by an snd_uaudio(4) based device, trying to detach this device will hang the USB stack until the userland application is closed. Ultimately, this could lead to a complete stall of the USB stack.

It would be expected that every child of snd_uaudio(4) just detach themselves, letting the userland die with EIO.
>How-To-Repeat:
plug a snd_uaudio adapter
open aumix(1)
unplug the adapter

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104292025.p3TKPQqu013000>