Public bug reported:

The wireplumber service is experiencing repeated errors related to
handling ALSA audio nodes. The error occurs in the alsa.lua script when
attempting to process node names, suggesting a potential issue with ALSA
device detection or naming.

Steps to reproduce
1. Start the wireplumber service
2. Monitor service logs using: journalctl --user -b -u wireplumber
3. The error appears multiple times in the logs

Observed behavior
The service logs show repeated errors with the following pattern:
```
wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 
'node_name')
stack traceback:
    [string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
```

System Information
- Ubuntu Version: 24.10
- Wireplumber Version: 0.5.6
- Service Status: Running but with errors

Log Output
```
$ journalctl --user -b -u wireplumber > ~/wireplumber.log
dic 27 19:24:41 Han systemd[4827]: Started wireplumber.service - Multimedia 
Service Session Manager.
dic 27 19:24:41 Han wireplumber[4857]: wp-internal-comp-loader: Loading profile 
'main'
dic 27 19:24:43 Han wireplumber[4857]: [0:00:34.884955326] [4857]  INFO Camera 
camera_manager.cpp:313 libcamera v0.3.1
dic 27 19:49:39 Han wireplumber[4857]: wplua: [string "alsa.lua"]:182: attempt 
to concatenate a nil value (local 'node_name')
                                       stack traceback:
                                               [string "alsa.lua"]:182: in 
function <[string "alsa.lua"]:175>
dic 27 19:49:39 Han wireplumber[4857]: wplua: [string "alsa.lua"]:182: attempt 
to concatenate a nil value (local 'node_name')
                                       stack traceback:
                                               [string "alsa.lua"]:182: in 
function <[string "alsa.lua"]:175>
dic 27 19:49:39 Han wireplumber[4857]: wplua: [string "alsa.lua"]:182: attempt 
to concatenate a nil value (local 'node_name')
                                       stack traceback:
                                               [string "alsa.lua"]:182: in 
function <[string "alsa.lua"]:175>
dic 27 19:49:39 Han wireplumber[4857]: wplua: [string "alsa.lua"]:182: attempt 
to concatenate a nil value (local 'node_name')
                                       stack traceback:
                                               [string "alsa.lua"]:182: in 
function <[string "alsa.lua"]:175>
dic 27 20:03:19 Han wireplumber[4857]: wplua: [string "alsa.lua"]:182: attempt 
to concatenate a nil value (local 'node_name')
                                       stack traceback:
                                               [string "alsa.lua"]:182: in 
function <[string "alsa.lua"]:175>
dic 27 20:03:19 Han wireplumber[4857]: wplua: [string "alsa.lua"]:182: attempt 
to concatenate a nil value (local 'node_name')
                                       stack traceback:
                                               [string "alsa.lua"]:182: in 
function <[string "alsa.lua"]:175>
dic 27 20:50:13 Han wireplumber[4857]: wplua: [string "alsa.lua"]:182: attempt 
to concatenate a nil value (local 'node_name')
                                       stack traceback:
                                               [string "alsa.lua"]:182: in 
function <[string "alsa.lua"]:175>
dic 27 20:50:13 Han wireplumber[4857]: wplua: [string "alsa.lua"]:182: attempt 
to concatenate a nil value (local 'node_name')
                                       stack traceback:
                                               [string "alsa.lua"]:182: in 
function <[string "alsa.lua"]:175>
```

Additional Notes
- The error specifically relates to node_name being nil in alsa.lua
- The issue persists across multiple occurrences
- The error appears in the context of ALSA device handling

Possible Related Components
- wireplumber
- pipewire
- alsa-base
- pulseaudio

ProblemType: Bug
DistroRelease: Ubuntu 24.10
Package: wireplumber 0.5.6-1ubuntu1
ProcVersionSignature: Ubuntu 6.11.0-13.14-generic 6.11.0
Uname: Linux 6.11.0-13-generic x86_64
ApportVersion: 2.30.0-0ubuntu4
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun Dec 29 08:59:39 2024
InstallationDate: Installed on 2023-06-04 (574 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
SourcePackage: wireplumber
UpgradeStatus: Upgraded to oracular on 2024-12-17 (12 days ago)

** Affects: wireplumber (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oracular wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2092652

Title:
  Wireplumber service repeatedly fails with "attempt to concatenate a
  nil value" error in alsa.lua when handling audio nodes

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to