NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/45664: audio detach failure



The following reply was made to PR kern/45664; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/45664: audio detach failure
Date: Mon, 28 Nov 2011 11:01:58 +0100

 And the backtrace expanded:
 
 0x108a2c4 is in audio_free_ring (../../../../dev/audio.c:904).
 899     {
 900             if (r->s.start == 0)
 901                     return;
 902     
 903             if (sc->hw_if->freem)
 904                     sc->hw_if->freem(sc->hw_hdl, r->s.start, r->s.bufsize);
 905             else
 906                     kmem_free(r->s.start, r->s.bufsize);
 907             r->s.start = 0;
 908     }
 
 0x108a410 is in audiodetach (../../../../dev/audio.c:730).
 725     #endif
 726     
 727             pmf_device_deregister(self);
 728     
 729             /* free resources */
 730             audio_free_ring(sc, &sc->sc_pr);
 731             audio_free_ring(sc, &sc->sc_rr);
 732             for (i = 0; i < sc->sc_nrfilters; i++) {
 733                     sc->sc_rfilters[i]->dtor(sc->sc_rfilters[i]);
 734                     sc->sc_rfilters[i] = NULL;
 
 Martin
 


Home | Main Index | Thread Index | Old Index