NetBSD-Bugs archive

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

kern/56644: Kernel assertion in audio.c



>Number:         56644
>Category:       kern
>Synopsis:       Kernel assertion in audio.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 18 21:05:00 +0000 2022
>Originator:     coypu
>Release:        NetBSD 9.99.93
>Organization:
>Environment:
NetBSD  9.99.93 NetBSD 9.99.93 (GENERIC) #10: Sat Jan 15 22:03:04 UTC 2022  fly@:/home/fly/obj/sys/arch/amd64/compile/GENERIC amd64

>Description:
I was recording and playing audio on firefox,

[  9198.736765] panic: kernel diagnostic assertion "input->used % mixer->frames_per_block == 0" failed: file "/home/fly/src/sys/dev/audio/audio.c", line 5907 input->used=640 mixer->frames_per_block=480
[  9198.736765] cpu0: Begin traceback...
[  9198.736765] vpanic() at netbsd:vpanic+0x156
[  9198.736765] kern_assert() at netbsd:kern_assert+0x4b
[  9198.736765] audio_rintr() at netbsd:audio_rintr+0x6fc
[  9198.736765] hdafg_stream_intr() at netbsd:hdafg_stream_intr+0x124
[  9198.736765] hdaudio_intr() at netbsd:hdaudio_intr+0xa1
[  9198.736765] Xhandle_ioapic_edge22() at netbsd:Xhandle_ioapic_edge22+0x74
[  9198.736765] --- interrupt ---
[  9198.736765] x86_mwait() at netbsd:x86_mwait+0xd
[  9198.736765] acpicpu_cstate_idle() at netbsd:acpicpu_cstate_idle+0x19b
[  9198.736765] idle_loop() at netbsd:idle_loop+0x125
[  9198.736765] cpu0: End traceback...

Unclear if reproducible.

My audio devices in dmesg:

hdaudio0 at pci0 dev 31 function 3: HD Audio Controller
hdaudio0: interrupting at msi5 vec 0
hdaudio0: HDA ver. 1.0, OSS 9, ISS 7, BSS 0, SDO 1, 64-bit
hdafg0 at hdaudio0: vendor 10ec product 0298
hdafg0: DAC00 2ch: Speaker [Built-In]
hdafg0: DAC01 2ch: HP Out [Jack]
hdafg0: ADC02 2ch: Mic In [Built-In]
hdafg0: 2ch/2ch 44100Hz 48000Hz PCM16 PCM20 PCM24
audio0 at hdafg0: playback, capture, full duplex, independent
audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
spkr0 at audio0: PC Speaker (synthesized)
wsbell at spkr0 not configured
hdafg1 at hdaudio0: vendor 8086 product 2809
hdafg1: DP00 8ch: Digital Out [Jack]
hdafg1: 8ch/0ch 48000Hz PCM16*
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index