Current-Users archive

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

Re: Recent update to sys/dev/audio.c causes hangs?



On Fri, 20 Apr 2012 14:51:38 +0200
Tom Ivar Helbekkmo <tih%hamartun.priv.no@localhost> wrote:

> I ran mplayer with X stopped just now, and it's a mutex-related crash
> all right.  Here's what happens when I hit "q" to stop mplayer:

> panic: kernel diagnostic assertion "ci->ci_mtx_count == -1" failed: file 
> "/usr/src/sys/kern/kern_synch.c", line 688 mi_switch: cpu1: ci_mtx_count (0) 
> != -1
> fatal breakpoint trap in supervisor mode
> trap type 1 code 0 eip c026aa94 cs 8 eflags 200286 cr2 84e8260 ilevel 7
> Stopped in pid 18988.1 (mplayer) at     netbsd:breakpoint+0x4:  popl    %ebp
> db{1}> bt
> breakpoint(...
> vpanic(...
> mi_switch(...
> sleepq_block(...
> usb_delay_ms(...
> uhci_device_isoc_close(...
> usbd_close_pipe(...
> uaudio_chan_close(...
> uaudio_halt_out_dma(...
> audio_clear(...
> audio_ioctl(...
> audioioctl(...
> spec_ioctl(...
> VOP_IOCTL(...
> vn_ioctl(...
> sys_ioctl(...
> syscall(...

This could be due to either recent audio MP or uaudio changes, or yet
another bug, please file a PR about it if it wasn't done already.  The
dmesg might also be useful.

Thanks,
-- 
Matt


Home | Main Index | Thread Index | Old Index