Subject: port-i386/16913: page fault playing wav file with auvia
To: None <gnats-bugs@gnats.netbsd.org>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: netbsd-bugs
Date: 05/20/2002 16:25:08
>Number: 16913
>Category: port-i386
>Synopsis: page fault playing wav file with auvia
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-i386-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 19 21:26:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Mark Davies
>Release: NetBSD 1.5ZC 9/5/2002
>Organization:
Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand.
>Environment:
System: NetBSD city-art.mcs.vuw.ac.nz 1.5ZC NetBSD 1.5ZC (MCS_WORKSTATION) #2: Mon May 20 11:34:32 NZST 2002 mark@turakirae.mcs.vuw.ac.nz:/src/work/src/sys/arch/i386/compile/MCS_WORKSTATION i386
Architecture: i386
Machine: i386
>Description:
"play foo.wav" causes a page fault trap specifically:
page fault trap, code=0
stopped in pid 325(sox) at auvia_build_dma_ops+0xf3: movl %esi, 0 (%eax)
stack trace at this point is:
auvia_build_dma_ops(...)
auvia_trigger_output(...)
audio_startp(...)
audio_write(...)
spec_write(...)
ufsspec_write(...)
VOP_WRITE(...)
vn_write(...)
dofilewrite(...)
sys_write(...)
syscall_plain(...)
relevant bit of dmesg is:
auvia0 at pci0 dev 7 function 5: VIA VT82C686A AC'97 Audio (rev 0x50)
auvia0: interrupting at irq 10
auvia0: ADS72 codec; headphone, Analog Devices Phat Stereo
audio0 at auvia0: full duplex, mmap, independent
>How-To-Repeat:
Build sox-12.17.1 package from pkgsrc then run "play foo.wav"
where "foo.wav" is any wav file.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: