[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
The following reply was made to PR kern/40551; it has been noted by GNATS.
From: Kooda <kooda%upyum.com@localhost>
Subject: Re: kern/40551
Date: Sun, 29 Dec 2013 21:29:35 +0100
I stumbled upon this panic today while trying the mpv multimedia player.
I later discovered that it was caused by the SDL audio output driver,
inside the OBSD_OpenAudio function of the bsdaudio driver of the SDL
I tried to find the relevant part of that function that caused the panic
and I wrote a tine program that does.
The panic only appears on my laptop, which has this audio device:
auich0 at pci0 dev 31 function 5: i82801DB/DBM (ICH4/ICH4M) AC-97 Audio
auich0: interrupting at ioapic0 pin 17
auich0: ac97: Analog Devices AD1981B codec; headphone, 20 bit DAC, no 3D stereo
auich0: ac97: ext id 0x601<AC97_22,AMAP,VRA>
auich0: measured ac97 link rate at 47998 Hz, will use 48000 Hz
audio0 at auich0: full duplex, playback, capture, mmap, independent
The panic is caused by the ioctl:
audio_fd = open("/dev/audio0", O_WRONLY | O_NONBLOCK);
if (audio_fd < 0)
info.play.sample_rate = 44100;
info.blocksize = 4;
info.hiwat = 5;
info.lowat = 3;
if(ioctl(audio_fd, AUDIO_SETINFO, &info) < 0)
Envoyé depuis ma GameBoy.
PGP key: D674 0670 BF8E 6A82 43C0 F317 AEC9 29D0 E8D7 F7B7
Main Index |
Thread Index |