Hi, Many thanks to all you guys. The fix is now in the hg version.
Best regards, Hannu ----- Paulo Matias wrote: > Hi, > > The attached patch fixes a kernel panic that happens if you open > /dev/dsp too many times. > > Note: the patch can be imported with 'hg import'. > > The issue currently happens because mixer->num_clientdevs is > incremented before it is checked if a new client will really be > allowed. This causes a panic when execution reaches vmix_output.c:404, > because it will try to access a mixer->client_portc index that doesn't > exist. > > Many thanks to Walison Morales who gave me advice on setuping remote > kgdb in FreeBSD, allowing me to track down the kernel panic. Many > thanks also to Yair K. who always help me and gave me advice and > reviewed the patch. > > > Best regards, > > Paulo Matias > > ------------------------------------------------------------------------ > > _______________________________________________ > oss-devel mailing list > oss-devel@mailman.opensound.com > http://mailman.opensound.com/mailman/listinfo/oss-devel > _______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel