apport information

** Attachment added: "PaInfo.txt"
   https://bugs.launchpad.net/bugs/2106352/+attachment/5870089/+files/PaInfo.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2106352

Title:
  Audio freezes/loops (UBSAN DAPM errors) on Acer Chromebook 14 (Edgar)
  / Atom x5-E8000 / RT5650

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Audio freezes/loops (UBSAN DAPM errors) on Acer Chromebook 14 (Edgar)
  / Atom x5-E8000 / RT5650 (SOF) with Kernel 6.8 / 6.11

  Hardware:

  System: Acer Chromebook 14 (CB3-431)
  Board Name: GOOGLE Edgar (Confirmed via dmidecode)
  CPU: Intel(R) Atom(TM) x5-E8000 CPU @ 1.04GHz (Braswell)
  Audio Controller: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx 
Series High Definition Audio Controller [8086:2284] (rev 35) - Driver 
snd_hda_intel (Handles HDMI - Card 0)
  Audio Codec: Realtek RT5650 (Detected by ALSA as sof-bytcht rt5650 - Card 1, 
uses rt5645 SOF topology sof-cht-rt5645.tplg)
  Software:

  Distribution: Linux Mint 22.1 "Xia" (Based on Ubuntu 24.04 "Noble Numbat")
  Kernel Versions Tested (All Show Issue):
  6.8.0-51-generic
  6.8.0-57-generic (Currently Active: Linux mintbook 6.8.0-57-generic 
#59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64 x86_64 
x86_64 GNU/Linux)
  6.11.0-21-generic
  Audio Server: PipeWire 1.0.5 (with WirePlumber session manager)
  Problem Description:

  Audio output through the internal speakers/headphone jack works
  correctly for a short, variable period after booting (ranging from ~1
  minute to ~10 minutes). While playing audio (e.g., YouTube in Firefox,
  native games like Chocolate Doom), the sound suddenly cuts out and is
  often replaced by a continuous, loud looping beep/tone.

  Sometimes, closing the application that was playing audio causes the
  looping sound to stop after several seconds, and system audio may
  function again temporarily before freezing again shortly after. The
  issue occurs reliably across all tested kernels available in the Linux
  Mint 22.1 repositories (6.8 series, 6.11 series).

  Key Evidence (Kernel Log Errors):

  During boot, the kernel logs consistently show errors related to the
  Realtek codec detection and, critically, UBSAN (Undefined Behavior
  Sanitizer) errors within the ALSA core's DAPM (Dynamic Audio Power
  Management) code during the initialization of the SOF sound card.
  These errors strongly suggest a kernel bug is the root cause of the
  instability.

  Key Evidence (Kernel Log Errors):

  During boot, the kernel logs consistently show errors related to the
  Realtek codec detection and, critically, UBSAN (Undefined Behavior
  Sanitizer) errors within the ALSA core's DAPM (Dynamic Audio Power
  Management) code during the initialization of the SOF sound card.
  These errors strongly suggest a kernel bug is the root cause of the
  instability.

  Relevant logs from dmesg on kernel 6.8.0-57-generic:

  [   11.222920] rt5640 i2c-10EC5650:00: Device with ID register 0x6419 is not 
rt5640/39
  [   11.830233] rt5645 i2c-10EC5650:00: Detected Google Chrome platform
  [   12.102210] sof-audio-acpi-intel-byt 808622A8:00: unknown sof_ext_man 
header type 3 size 0x30

  [   12.735442] UBSAN: shift-out-of-bounds in 
/build/linux-AUvUe4/linux-6.8.0/sound/soc/soc-dapm.c:814:15
  [   12.735535]  snd_soc_dapm_add_path.cold+0x1b/0x5c [snd_soc_core]
  [   12.735615]  snd_soc_dapm_add_route+0x313/0x600 [snd_soc_core]
  [   12.735688]  snd_soc_dapm_add_routes+0x45/0x80 [snd_soc_core]
  [   12.735753]  soc_probe_component+0x265/0x390 [snd_soc_core]
  [   12.735815]  snd_soc_bind_card+0x3c1/0x8c0 [snd_soc_core]
  [   12.735876]  ? __pfx_devm_card_release+0x10/0x10 [snd_soc_core]
  [   12.735943]  snd_soc_register_card+0x145/0x170 [snd_soc_core]
  [   12.736004]  devm_snd_soc_register_card+0x48/0xb0 [snd_soc_core]
  [   12.736071]  snd_cht_mc_probe+0x49b/0x830 [snd_soc_sst_cht_bsw_rt5645]
  [   12.736173]  ? __pfx_snd_cht_mc_driver_init+0x10/0x10 
[snd_soc_sst_cht_bsw_rt5645]
  [   12.736189]  snd_cht_mc_driver_init+0x1c/0xff0 [snd_soc_sst_cht_bsw_rt5645]

  [   13.022618] UBSAN: shift-out-of-bounds in 
/build/linux-AUvUe4/linux-6.8.0/sound/soc/soc-dapm.c:3427:13
  [   13.022710]  snd_soc_dapm_put_volsw.cold+0x94/0x131 [snd_soc_core]
  [   13.022797]  snd_ctl_elem_write+0x109/0x1c0 [snd]
  [   13.022828]  snd_ctl_ioctl+0x4a5/0x730 [snd]

  [   13.023098] UBSAN: shift-out-of-bounds in 
/build/linux-AUvUe4/linux-6.8.0/sound/soc/soc-dapm.c:3428:15
  [   13.023150]  snd_soc_dapm_put_volsw.cold+0x127/0x131 [snd_soc_core]
  [   13.023220]  snd_ctl_elem_write+0x109/0x1c0 [snd]
  [   13.023248]  snd_ctl_ioctl+0x4a5/0x730 [snd]

  [   13.023516] UBSAN: shift-out-of-bounds in 
/build/linux-AUvUe4/linux-6.8.0/sound/soc/soc-dapm.c:3430:51
  [   13.023571]  snd_soc_dapm_put_volsw.cold+0xba/0x131 [snd_soc_core]
  [   13.023643]  snd_ctl_elem_write+0x109/0x1c0 [snd]
  [   13.023672]  snd_ctl_ioctl+0x4a5/0x730 [snd]
  Troubleshooting Steps Attempted:

  Tested multiple kernels available via Linux Mint Update Manager (6.8.0-51, 
6.8.0-57, 6.11.0-21) - Problem persists on all.
  Attempted disabling power saving for snd_hda_intel via modprobe.d - 
Ineffective (targets wrong driver component). Power save parameter for snd_sof 
module not found.
  Attempted forcing legacy audio driver via kernel parameter 
snd_intel_dspcfg.dsp_driver=1 - Problem persists.
  Checked ALSA / PipeWire / WirePlumber configurations - Appear standard (no 
custom user configs found).
  Problem occurs with different applications (Firefox/YouTube, Chocolate Doom).

  Expected Result: Audio playback should be stable without freezes or
  looping sounds.

  Actual Result: Audio freezes and often loops after short periods of use, 
associated with kernel DAPM errors during initialization.
  --- 
  ProblemType: Bug
  ApportVersion: 2.28.1-0ubuntu3.5
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/seq:        mijin      1242 F.... pipewire
   /dev/snd/pcmC0D0p:   mijin      1242 F...m pipewire
   /dev/snd/controlC0:  mijin      1242 F.... pipewire
                        mijin      1244 F.... wireplumber
  CRDA: N/A
  CasperMD5CheckResult: pass
  CurrentDesktop: XFCE
  DistroRelease: Linux Mint 22.1
  InstallationDate: Installed on 2025-03-28 (11 days ago)
  InstallationMedia: Linux Mint 22.1 "Xia" - Release amd64 20250110
  MachineType: GOOGLE Edgar
  Package: linux (not installed)
  ProcEnviron:
   LANG=en_US.UTF-8
   LANGUAGE=en_US
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.11.0-21-generic 
root=UUID=c273ba49-635f-4a9b-a1e5-e4db91a259be ro quiet splash 
snd_intel_dspcfg.dsp_driver=1
  ProcVersionSignature: Ubuntu 6.11.0-21.21~24.04.1-generic 6.11.11
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-6.11.0-21-generic N/A
   linux-backports-modules-6.11.0-21-generic  N/A
   linux-firmware                             20240318.git3b128b60-0ubuntu2.6
  Tags: xia
  Uname: Linux 6.11.0-21-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: N/A
  _MarkForUpload: True
  dmi.bios.date: 09/14/2024
  dmi.bios.release: 24.8
  dmi.bios.vendor: coreboot
  dmi.bios.version: MrChromebox-2408.1
  dmi.board.name: Edgar
  dmi.board.vendor: GOOGLE
  dmi.board.version: 1.0
  dmi.chassis.type: 9
  dmi.chassis.vendor: GOOGLE
  dmi.ec.firmware.release: 0.0
  dmi.modalias: 
dmi:bvncoreboot:bvrMrChromebox-2408.1:bd09/14/2024:br24.8:efr0.0:svnGOOGLE:pnEdgar:pvr1.0:rvnGOOGLE:rnEdgar:rvr1.0:cvnGOOGLE:ct9:cvr:sku:
  dmi.product.family: Intel_Strago
  dmi.product.name: Edgar
  dmi.product.version: 1.0
  dmi.sys.vendor: GOOGLE
  --- 
  ProblemType: Bug
  ApportVersion: 2.28.1-0ubuntu3.5
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/seq:        mijin      1242 F.... pipewire
   /dev/snd/pcmC0D0p:   mijin      1242 F...m pipewire
   /dev/snd/controlC0:  mijin      1242 F.... pipewire
                        mijin      1244 F.... wireplumber
  CRDA: N/A
  CasperMD5CheckResult: pass
  CurrentDesktop: XFCE
  DistroRelease: Linux Mint 22.1
  InstallationDate: Installed on 2025-03-28 (11 days ago)
  InstallationMedia: Linux Mint 22.1 "Xia" - Release amd64 20250110
  MachineType: GOOGLE Edgar
  Package: linux (not installed)
  ProcEnviron:
   LANG=en_US.UTF-8
   LANGUAGE=en_US
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.11.0-21-generic 
root=UUID=c273ba49-635f-4a9b-a1e5-e4db91a259be ro quiet splash 
snd_intel_dspcfg.dsp_driver=1
  ProcVersionSignature: Ubuntu 6.11.0-21.21~24.04.1-generic 6.11.11
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-6.11.0-21-generic N/A
   linux-backports-modules-6.11.0-21-generic  N/A
   linux-firmware                             20240318.git3b128b60-0ubuntu2.6
  Tags: xia
  Uname: Linux 6.11.0-21-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: N/A
  _MarkForUpload: True
  dmi.bios.date: 09/14/2024
  dmi.bios.release: 24.8
  dmi.bios.vendor: coreboot
  dmi.bios.version: MrChromebox-2408.1
  dmi.board.name: Edgar
  dmi.board.vendor: GOOGLE
  dmi.board.version: 1.0
  dmi.chassis.type: 9
  dmi.chassis.vendor: GOOGLE
  dmi.ec.firmware.release: 0.0
  dmi.modalias: 
dmi:bvncoreboot:bvrMrChromebox-2408.1:bd09/14/2024:br24.8:efr0.0:svnGOOGLE:pnEdgar:pvr1.0:rvnGOOGLE:rnEdgar:rvr1.0:cvnGOOGLE:ct9:cvr:sku:
  dmi.product.family: Intel_Strago
  dmi.product.name: Edgar
  dmi.product.version: 1.0
  dmi.sys.vendor: GOOGLE

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2106352/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to