NetBSD-Users archive

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

Re: nbmix - curses mixer using audio(4)



On Sat, Feb 20, 2010 at 09:47:18AM +0100, Demelier David wrote:
> On Thu, Feb 18, 2010 at 09:53:50AM -0700, Patrick Mahoney wrote:
> > On Tue, Feb 16, 2010 at 11:44:20PM +0100, Rhialto wrote:
> > > On Mon 15 Feb 2010 at 23:04:11 -0700, Patrick Mahoney wrote:
> > > > > nbmix - http://polycrystal.org/nbmix
> > > > 
> > > > I updated (v0.2) to fix the obvious segfault and to support
> > > > 'enum' controls, but now there are more untested code paths.
> > > 
> > > I've discovered one :-) Writing to the mixer can give a "device busy"
> > > error on my hardware for some settings (if audio is currently playing;
> > > with the azalia driver), in which case nbmix currently exists. If it
> > > just shows the error (and doesn't retry or exit) it would be fine.

It now ignores EBUSY and displays a notification; still
exits on any other ioctl() error.

> > 
> Still segfaulting here.. I attached the backtrace.
> 
> -- 
> Demelier David
> 
> ()  ascii ribbon campaign - against html e-mail
> /\  www.asciiribbon.org   - against proprietary attachments

> (gdb) run
> Starting program: /usr/home/markand/devel/nbmix/bin/nbmix 
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x0804917e in mixer_dev_cmp (a=0xbb90b0a0, b=0x14) at src/nbmix.c:93
                                             ^^^^^^
Thanks for the backtrace.  Fixed that one.

-- 
Patrick Mahoney <pat%polycrystal.org@localhost>


Home | Main Index | Thread Index | Old Index