YouTube, other video will play, then freeze in a high-pitched buzz noise; UBSAN

Occurs with most recent versions of both Firefox (snap) and Chromium (snap, apt). Duration before issue occurs is under a minute to perhaps five minutes.

Syslog has multiple entries stating similar errors such as:

[ 18.349533] UBSAN: shift-out-of-bounds in /build/linux-4LEpwz/linux-5.15.0/sound/soc/soc-dapm.c:3411:13
[ 18.349539] shift exponent 16384 is too large for 32-bit type ‘unsigned int’

Updated to kernel 6.2.5 in the hope it would solve things, now says, e.g.:

[ 16.789864] UBSAN: shift-out-of-bounds in /home/kernel/COD/linux/sound/soc/soc-dapm.c:3395:15
[ 16.789868] shift exponent 16384 is too large for 32-bit type ‘unsigned int’

Is it trying to compile the SOC audio block code for some reason every time it boots?

Distributor ID: Ubuntu[ 18.349533] UBSAN: shift-out-of-bounds in /build/linux-4LEpwz/linux-5.15.0/sound/soc/soc-dapm.c:3411:13
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy

*-multimedia
description: Audio device
product: Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
logical name: card0
logical name: /dev/snd/controlC0
logical name: /dev/snd/hwC0D2
logical name: /dev/snd/pcmC0D3p
logical name: /dev/snd/pcmC0D7p
logical name: /dev/snd/pcmC0D8p
version: 35
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:315 memory:91314000-91317fff
*-input:0
product: HDA Intel PCH HDMI/DP,pcm=3
physical id: 0
logical name: input7
logical name: /dev/input/event7
*-input:1
product: HDA Intel PCH HDMI/DP,pcm=7
physical id: 1
logical name: input8
logical name: /dev/input/event8
*-input:2
product: HDA Intel PCH HDMI/DP,pcm=8
physical id: 2
logical name: input9
logical name: /dev/input/event9

Thanks.

1 Like

Purging and reinstalling “firmware-sof-signed” did not fix the issue.

1 Like

Could be related to your SOC.

The user also asked this on Reddit, to no avail. I offered up the only things I could think of.

I’m sure they’re open to trying things. :smiley:

1 Like

Bay Trail workaround at bottom of thread: [BUG] Video plays, stops ~20 seconds to several minutes afterwards with high-pitched buzz; UBSAN · Issue #4248 · thesofproject/linux · GitHub

3 Likes

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.