NetBSD-Bugs archive

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

kern/51707: playing audio with mpg123 on sparc crashes



>Number:         51707
>Category:       kern
>Synopsis:       playing audio with mpg123 on sparc crashes
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 11 10:30:00 +0000 2016
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.45
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD krups.duskware.de 7.99.45 NetBSD 7.99.45 (MP3) #21: Sun Dec 11 10:58:10 CET 2016 martin%night-owl.duskware.de@localhost:/usr/src/sys/arch/sparc/compile/MP3 sparc
Architecture: sparc
Machine: sparc
>Description:

Trying to play some mp3 file with mpg123 crashes my sparc machine:

audiocs0 at ebus0 bar 14 offset 0x200000 line 3: CS4231A
audioprobe: type=0 sa=0xe829bafc hw=0xe821ea1c
audio0 at audiocs0: full duplex, playback, capture
audiosetinfo sc=0xf09d4000 ai=0xe829b570
audiosetinfo() Setting record params: enc=7 2ch 16/16bit 44100Hz
audiosetinfo() Setting play params: enc=7 2ch 16/16bit 44100Hz
audio_setup_pfilters: HW-buffer=0xf09851cc pustream=0xf09851cc
[HW] enc=7 2ch 16/16bit 44100Hz
audio_setup_rfilters: HW-buffer=0xf0985230 pustream=0xf0985230
[HW] enc=7 2ch 16/16bit 44100Hz
audiosetinfo: filter setup is completed.
audio_calc_blksize: record blksize=8820
audio_calc_blksize: play blksize=8820
audio_calc_blksize: record blksize=8820
audio_calc_blksize: play blksize=8820
audio_initbufs: mode=0x5
audio_init_ringbuffer: MI blksize=8816
audio_init_ringbuffer: final blksize=8768
audio_init_ringbuffer: MI blksize=8816
audio_init_ringbuffer: final blksize=8768
audio_calcwater: plow=46032 phigh=61376 rlow=0 rhigh=52608

now starting playback:

audio_open: flags=0x2 sc=0xf09d4000 hdl=0xf09c4940
audio_init_ringbuffer: MI blksize=8768
audio_init_ringbuffer: final blksize=8768
audio_init_ringbuffer: MI blksize=8768
audio_init_ringbuffer: final blksize=8768
audio_initbufs: mode=0x5
audio_init_ringbuffer: MI blksize=8768
audio_init_ringbuffer: final blksize=8768
audio_init_ringbuffer: MI blksize=8768
audio_init_ringbuffer: final blksize=8768
audiosetinfo sc=0xf09d4000 ai=0xf4d119a0
audiosetinfo() Setting record params: enc=1 1ch 8/8bit 8000Hz
audiosetinfo() Setting play params: enc=1 1ch 8/8bit 8000Hz
audiosetinfo: audio_set_params() failed with 22
audio_initbufs: mode=0x5
audio_init_ringbuffer: MI blksize=32
panic: audio_init_ringbuffer: blksize=0
panic(0xe8249d30, 0x0, 0x1, 0xf0de29e4, 0x1, 0xe8249da3) at netbsd:audio_init_ri
ngbuffer+0x12c
audio_init_ringbuffer(0xf09d4000, 0xf0de29cc, 0x1, 0xe82a3800, 0x0, 0xf0de29cc) a
t netbsd:audio_initbufs+0xd0
audio_initbufs(0xf09d4000, 0x4, 0x0, 0xf0985000, 0xe821ea1c, 0xf09d4000) at netb
sd:audiosetinfo+0x4c4
audiosetinfo(0x1, 0xf4d119a0, 0x1, 0x1, 0x4, 0xf09d4000) at netbsd:audio_set_def
aults+0xac
audio_set_defaults(0xf09d4000, 0x5, 0x1, 0x8, 0x1, 0xf0de2800) at netbsd:audio_o
pen+0x38c
audio_open(0xf0de2a8c, 0x4580, 0xf09d4000, 0x0, 0xf0de29ac, 0x14000) at netbsd:a
udioopen+0xac
audioopen(0x0, 0x4580, 0x2, 0x2000, 0xf0abf0c0, 0x0) at netbsd:cdev_open+0x80
cdev_open(0x0, 0x4580, 0x2, 0x2000, 0xf0abf0c0, 0xe82264b4) at netbsd:spec_open+
0x1e0
spec_open(0xf4d11c40, 0x0, 0x4580, 0xf0b3e020, 0xf0ce40d8, 0xf4d11c40) at netbsd
:VOP_OPEN+0x24
VOP_OPEN(0xf0ce40d8, 0x2, 0xf0c34548, 0x4a4c, 0xe8002000, 0xf09428c0) at netbsd:
vn_open+0x194

>How-To-Repeat:
s/a

>Fix:
n/a



Home | Main Index | Thread Index | Old Index