Incompatibility between musl and pulseaudio
Describe your issue
There's an incompatibility between the musl version 1.2.4_git20230717-r4 and pulseaudio on Samsung Goyawifi ARMv7.
Downgrading musl to the 1.2.4-r2 makes the pulseaudio to run properly. Logs attached at the bottom.
What's the expected behaviour?
Pulseaudio should load and don't give an error, as it does with older version of musl.
What's the current behaviour?
Pulseaudio is crashing with Failed to handle SIGBUS
.
How to reproduce your issue?
Using edge version of pmOS on Samsung Goyawifi with pulseaudio installed and try to control the sound or play audio.
What device are you using?
Samsung Goyawifi.
Linux samsung-goyawifi 3.4.5 #3-postmarketOS SMP PREEMPT Thu Mar 16 23:04:50 UTC 2023 armv7l GNU/Linux
On what postmarketOS version did you encounter the issue?
-
edge (
master
branch) -
v23.06
-
v22.12
(Supported until 2023-07-06) -
I confirm that the issue is still present after running
sudo apk upgrade -a
On what environment did you encounter in the issue?
Environments
- GNOME Shell on Mobile
- Phosh
- Plasma Mobile
-
Sxmo (Wayland/Sway) Please post the output of
sxmo_version.sh
- Mate
- XFCE4
- FBConsole
How did you get postmarketOS image?
- from https://images.postmarketos.org
- I built it using pmbootstrap
- It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
2023-11-22
Additional information
Pulse and ALSA versions
alsa-plugins-pulse-1.2.7.1-r2 armv7 {alsa-plugins} (GPL-2.0-or-later LGPL-2.1-or-later) [installed]
libcanberra-pulse-0.30-r9 armv7 {libcanberra} (LGPL-2.1-or-later) [installed]
libpulse-9999_git20220621-r2 armv7 {pulseaudio} (LGPL-2.1-or-later) [installed]
libpulse-mainloop-glib-9999_git20220621-r2 armv7 {pulseaudio} (LGPL-2.1-or-later) [installed]
postmarketos-base-ui-pulseaudio-14-r0 armv7 {postmarketos-base-ui} (GPL-3.0-or-later) [installed]
pulseaudio-9999_git20220621-r2 armv7 {pulseaudio} (LGPL-2.1-or-later) [installed]
pulseaudio-alsa-9999_git20220621-r2 armv7 {pulseaudio} (LGPL-2.1-or-later) [installed]
pulseaudio-bluez-9999_git20220621-r2 armv7 {pulseaudio} (LGPL-2.1-or-later) [installed]
pulseaudio-openrc-9999_git20220621-r2 armv7 {pulseaudio} (LGPL-2.1-or-later) [installed]
pulseaudio-utils-9999_git20220621-r2 armv7 {pulseaudio} (LGPL-2.1-or-later) [installed]
xfce4-pulseaudio-plugin-0.4.8-r0 armv7 {xfce4-pulseaudio-plugin} (GPL-2.0-or-later) [installed]
Pulseaudio Valgrind, GDB, dmesg, verbose
pulseaudio
==7891== Memcheck, a memory error detector
==7891== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==7891== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info
==7891== Command: pulseaudio
==7891==
disInstr(thumb): unhandled instruction: 0xDEFF 0x6803
disInstr(thumb): unhandled instruction: 0xDEFF 0xF8D6
disInstr(thumb): unhandled instruction: 0xDEFF 0x2502
disInstr(thumb): unhandled instruction: 0xDEFF 0x4584
disInstr(thumb): unhandled instruction: 0xDEFF 0x682B
disInstr(thumb): unhandled instruction: 0xDEFF 0x4A83
disInstr(thumb): unhandled instruction: 0xDEFF 0xF850
==7891== Invalid write of size 4
==7891== at 0x48956F4: strcpy (in /usr/libexec/valgrind/vgpreload_memcheck-arm-linux.so)
==7891== Address 0xbdb1075c is on thread 1's stack
==7891== 56 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4884466: ??? (in /usr/libexec/valgrind/vgpreload_core-arm-linux.so)
==7891== Address 0xbdb10c30 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x488B4C2: ??? (in /usr/libexec/valgrind/vgpreload_memcheck-arm-linux.so)
==7891== Address 0xbdb10c30 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4C94A66: ??? (in /usr/lib/libFLAC.so.12.1.0)
==7891== Address 0xbdb10c30 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x49EEE16: ??? (in /usr/lib/libsndfile.so.1.0.37)
==7891== Address 0xbdb10c30 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x49B85AE: ??? (in /usr/lib/libdbus-1.so.3.32.4)
==7891== Address 0xbdb10c30 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4D63216: ??? (in /usr/lib/libbsd.so.0.11.7)
==7891== Address 0xbdb10c30 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4BEED26: ??? (in /usr/lib/libxcb.so.1.1.0)
==7891== Address 0xbdb10c30 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x49DF6E6: ??? (in /usr/lib/libintl.so.8.4.0)
==7891== Address 0xbdb10c30 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4920A4A: ??? (in /usr/lib/pulseaudio/libpulsecommon-16.1.so)
==7891== Address 0xbdb10c30 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4A3FDCE: ??? (in /usr/lib/libtdb.so.1.4.9)
==7891== Address 0xbdb10c30 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4D2DB26: ??? (in /usr/lib/libgomp.so.1.0.0)
==7891== Address 0xbdb10c30 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4D2C990: ??? (in /usr/lib/libgomp.so.1.0.0)
==7891== Address 0xbdb10b9c is on thread 1's stack
==7891== 128 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4D3DA22: ??? (in /usr/lib/libgomp.so.1.0.0)
==7891== Address 0xbdb10bb0 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4D2C8E2: ??? (in /usr/lib/libgomp.so.1.0.0)
==7891== Address 0xbdb10b90 is on thread 1's stack
==7891== 24 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4D2DB8A: ??? (in /usr/lib/libgomp.so.1.0.0)
==7891== Address 0xbdb10b98 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x48939AC: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-arm-linux.so)
==7891== Address 0xbdb10b4c is on thread 1's stack
==7891== 64 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4D2EBCE: ??? (in /usr/lib/libgomp.so.1.0.0)
==7891== Address 0xbdb10b98 is on thread 1's stack
==7891== 24 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4D2E538: ??? (in /usr/lib/libgomp.so.1.0.0)
==7891== Address 0xbdb10b70 is on thread 1's stack
==7891== 32 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4D49A6E: ??? (in /usr/lib/libgomp.so.1.0.0)
==7891== Address 0xbdb10ba0 is on thread 1's stack
==7891== 16 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4D48EDE: ??? (in /usr/lib/libgomp.so.1.0.0)
==7891== Address 0xbdb10bb0 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4D4F780: ??? (in /usr/lib/libgomp.so.1.0.0)
==7891== Address 0xbdb10b64 is on thread 1's stack
==7891== 56 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4D2DA2E: ??? (in /usr/lib/libgomp.so.1.0.0)
==7891== Address 0xbdb10c30 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4AA67F6: ??? (in /usr/lib/libsoxr.so.0.1.2)
==7891== Address 0xbdb10c30 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4B01426: ??? (in /usr/lib/libX11-xcb.so.1.0.0)
==7891== Address 0xbdb10c30 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4B16EEE: ??? (in /usr/lib/libX11.so.6.4.0)
==7891== Address 0xbdb10c30 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4B22518: XInitThreads (in /usr/lib/libX11.so.6.4.0)
==7891== Address 0xbdb10c00 is on thread 1's stack
==7891== 32 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x488BA48: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-arm-linux.so)
==7891== Address 0xbdb10be0 is on thread 1's stack
==7891== 48 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x48AF2A6: ??? (in /usr/lib/pulseaudio/libpulsecore-16.1.so)
==7891== Address 0xbdb10c30 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4971CCE: ??? (in /usr/lib/libpulse.so.0.24.2)
==7891== Address 0xbdb10c30 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x10D45A: ??? (in /usr/bin/pulseaudio)
==7891== Address 0xbdb10c30 is on thread 1's stack
==7891== 8 bytes below stack pointer
==7891==
disInstr(thumb): unhandled instruction: 0xDEFF 0xF850
disInstr(thumb): unhandled instruction: 0xDEFF 0x5D73
disInstr(thumb): unhandled instruction: 0xDEFF 0x2602
==7891== Invalid write of size 4
==7891== at 0x10B3B4: main (in /usr/bin/pulseaudio)
==7891== Address 0xbdb10b5c is on thread 1's stack
==7891== 384 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x493A7EE: pa_log_set_ident (in /usr/lib/pulseaudio/libpulsecommon-16.1.so)
==7891== Address 0xbdb10b60 is on thread 1's stack
==7891== 16 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x492326A: pa_xfree (in /usr/lib/pulseaudio/libpulsecommon-16.1.so)
==7891== Address 0xbdb10b50 is on thread 1's stack
==7891== 16 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x492477C: ??? (in /usr/lib/pulseaudio/libpulsecommon-16.1.so)
==7891== Address 0xbdb10af4 is on thread 1's stack
==7891== 88 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4922FE2: pa_xmalloc (in /usr/lib/pulseaudio/libpulsecommon-16.1.so)
==7891== Address 0xbdb10af0 is on thread 1's stack
==7891== 32 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x493AA3E: pa_log_set_level (in /usr/lib/pulseaudio/libpulsecommon-16.1.so)
==7891== Address 0xbdb10b40 is on thread 1's stack
==7891== 32 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x493AC46: pa_log_set_flags (in /usr/lib/pulseaudio/libpulsecommon-16.1.so)
==7891== Address 0xbdb10b40 is on thread 1's stack
==7891== 32 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4930502: pa_set_env (in /usr/lib/pulseaudio/libpulsecommon-16.1.so)
==7891== Address 0xbdb10b58 is on thread 1's stack
==7891== 32 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x488F330: free (in /usr/libexec/valgrind/vgpreload_memcheck-arm-linux.so)
==7891== Address 0xbdb10acc is on thread 1's stack
==7891== 48 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4893C54: realloc (in /usr/libexec/valgrind/vgpreload_memcheck-arm-linux.so)
==7891== Address 0xbdb10aa4 is on thread 1's stack
==7891== 56 bytes below stack pointer
==7891==
==7891== Invalid write of size 4
==7891== at 0x4930D12: pa_realpath (in /usr/lib/pulseaudio/libpulsecommon-16.1.so)
==7891== Address 0xbdb0fb74 is not stack'd, malloc'd or (recently) free'd
==7891==
==7891==
==7891== Process terminating with default action of signal 11 (SIGSEGV)
==7891== Access not within mapped region at address 0xBDB0FB74
==7891== at 0x4930D12: pa_realpath (in /usr/lib/pulseaudio/libpulsecommon-16.1.so)
==7891== If you believe this happened as a result of a stack
==7891== overflow in your program's main thread (unlikely but
==7891== possible), you can try to increase the size of the
==7891== main thread stack using the --main-stacksize= flag.
==7891== The main thread stack size used in this run was 8388608.
==7891==
==7891== HEAP SUMMARY:
==7891== in use at exit: 237 bytes in 8 blocks
==7891== total heap usage: 8 allocs, 0 frees, 237 bytes allocated
==7891==
==7891== 4 bytes in 1 blocks are still reachable in loss record 1 of 3
==7891== at 0x4893D0C: realloc (in /usr/libexec/valgrind/vgpreload_memcheck-arm-linux.so)
==7891==
==7891== 68 bytes in 1 blocks are still reachable in loss record 2 of 3
==7891== at 0x4893A78: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-arm-linux.so)
==7891==
==7891== 165 bytes in 6 blocks are still reachable in loss record 3 of 3
==7891== at 0x488BAF0: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-arm-linux.so)
==7891==
==7891== LEAK SUMMARY:
==7891== definitely lost: 0 bytes in 0 blocks
==7891== indirectly lost: 0 bytes in 0 blocks
==7891== possibly lost: 0 bytes in 0 blocks
==7891== still reachable: 237 bytes in 8 blocks
==7891== suppressed: 0 bytes in 0 blocks
==7891==
==7891== For lists of detected and suppressed errors, rerun with: -s
==7891== ERROR SUMMARY: 75 errors from 42 contexts (suppressed: 0 from 0)
Segmentation fault
Starting program: /usr/bin/pulseaudio
process 4995 is executing new program: /usr/bin/pulseaudio
W: [pulseaudio] pid.c: Stale PID file, overwriting.
[New LWP 5001]
Thread 2 "alsa-sink-audio" received signal SIGBUS, Bus error.
[Switching to LWP 5001]
memset (dest=0xb2935000, c=<optimized out>, n=20480) at src/string/memset.c:20
20 src/string/memset.c: No such file or directory.
(gdb) bt
#0 memset (dest=0xb2935000, c=<optimized out>, n=20480) at src/string/memset.c:20
#1 0xb6ee8fd0 in pa_silence_memory () from /usr/lib/pulseaudio/libpulsecommon-16.1.so
#2 0xb6ee9160 in pa_silence_memchunk () from /usr/lib/pulseaudio/libpulsecommon-16.1.so
#3 0xb6f3bfdc in pa_sink_render_into () from /usr/lib/pulseaudio/libpulsecore-16.1.so
#4 0xb6f3c368 in pa_sink_render_into_full () from /usr/lib/pulseaudio/libpulsecore-16.1.so
#5 0xb2a1acd8 in ?? () from /usr/lib/pulseaudio/modules/libalsa-util.so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) info registers
r0 0xb2935000 2995998720
r1 0x0 0
r2 0x5000 20480
r3 0x0 0
r4 0xb293a000 2996019200
r5 0xb2934060 2995994720
r6 0xb2935000 2995998720
r7 0xb2934060 2995994720
r8 0xb2915be0 2995870688
r9 0xb2915860 2995869792
r10 0x0 0
r11 0xb29158dc 2995869916
r12 0xb6f075d4 3069212116
sp 0xb29157d4 0xb29157d4
lr 0xb6ee8fd1 -1225879599
pc 0xb6fc5960 0xb6fc5960 <memset+38>
cpsr 0x20000030 536870960
fpscr 0x61000010 1627389968
tpidruro <unavailable>
(gdb)
# Note: the "Failed to read" are present also when pulseaudio is working, so ignore them.
[ 1057.562347] c0 5056 (pulseaudio) 88PM805 2-0038: Failed to read reg 0x3: -111
[ 1057.562774] c0 5056 (pulseaudio) 88PM805 2-0038: Failed to read reg 0x4: -111
# Only these two lines are new:
[ 1057.593811] c0 5057 (alsa-sink-audio) Alignment trap: not handling instruction f8a03001 at [<b6ed395c>]
[ 1057.593811] c0 5057 (alsa-sink-audio) Unhandled fault: alignment exception (0x811) at 0xb281c001
pulseaudio -vvv
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
I: [pulseaudio] core-util.c: Failed to acquire high-priority scheduling: No such file or directory
I: [pulseaudio] main.c: This is PulseAudio 16.1
D: [pulseaudio] main.c: Compilation CFLAGS: Not yet supported on meson
D: [pulseaudio] main.c: Running on host: Linux armv7l 3.4.5 #3-postmarketOS SMP PREEMPT Thu Mar 16 23:04:50 UTC 2023
D: [pulseaudio] main.c: Found 1 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Running from build tree: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: All asserts enabled.
I: [pulseaudio] main.c: Machine ID is 1f0b666cf7dd8885fade4beb655dd39a.
I: [pulseaudio] main.c: Using runtime directory /home/q/.config/pulse/1f0b666cf7dd8885fade4beb655dd39a-runtime.
I: [pulseaudio] main.c: Using state directory /home/q/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulseaudio/modules.
I: [pulseaudio] main.c: Running in system mode: no
W: [pulseaudio] pid.c: Stale PID file, overwriting.
I: [pulseaudio] main.c: System supports high resolution timers
D: [pulseaudio] memblock.c: Using shared memfd memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65496
I: [pulseaudio] cpu-arm.c: CPU flags: V6 V7 VFP EDSP NEON VFPV3
I: [pulseaudio] svolume_arm.c: Initialising ARM optimized volume functions.
I: [pulseaudio] sconv_neon.c: Initialising ARM NEON optimized conversions.
I: [pulseaudio] mix_neon.c: Initialising ARM NEON optimized mixing functions.
I: [pulseaudio] remap_neon.c: Initialising ARM NEON optimized remappers.
D: [pulseaudio] database-tdb.c: Opened TDB database '/home/q/.config/pulse/1f0b666cf7dd8885fade4beb655dd39a-device-volumes.tdb'
I: [pulseaudio] database.c: Successfully opened 'device-volumes' database file '/home/q/.config/pulse/1f0b666cf7dd8885fade4beb655dd39a-device-volumes.tdb'.
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: "").
D: [pulseaudio] database-tdb.c: Opened TDB database '/home/q/.config/pulse/1f0b666cf7dd8885fade4beb655dd39a-stream-volumes.tdb'
I: [pulseaudio] database.c: Successfully opened 'stream-volumes' database file '/home/q/.config/pulse/1f0b666cf7dd8885fade4beb655dd39a-stream-volumes.tdb'.
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1 added for object /org/pulseaudio/stream_restore1
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry0
I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1; argument: "").
D: [pulseaudio] database-tdb.c: Opened TDB database '/home/q/.config/pulse/1f0b666cf7dd8885fade4beb655dd39a-card-database.tdb'
I: [pulseaudio] database.c: Successfully opened 'card-database' database file '/home/q/.config/pulse/1f0b666cf7dd8885fade4beb655dd39a-card-database.tdb'.
I: [pulseaudio] module.c: Loaded "module-card-restore" (index: #2; argument: "").
I: [pulseaudio] module.c: Loaded "module-augment-properties" (index: #3; argument: "").
I: [pulseaudio] module.c: Loaded "module-switch-on-port-available" (index: #4; argument: "").
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulseaudio/modules/module-udev-detect.so': success
D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
D: [pulseaudio] module-udev-detect.c: /devices/platform/emei-dkb-hifi/sound/card0 is busy: no
D: [pulseaudio] module-udev-detect.c: Loading module-alsa-card with arguments 'device_id="0" name="platform-emei-dkb-hifi" card_name="alsa_card.platform-emei-dkb-hifi" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"'
D: [pulseaudio] reserve-wrap.c: Unable to contact D-Bus session bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
I: [pulseaudio] alsa-ucm.c: UCM available for card hw:0
D: [pulseaudio] alsa-ucm.c: UCM _alibpref=_ucm0001.
I: [pulseaudio] alsa-ucm.c: Set UCM verb to HiFi
D: [pulseaudio] alsa-ucm.c: Got CapturePCM for device Mic: _ucm0001.hw:emeidkbhifi
D: [pulseaudio] alsa-ucm.c: Got PlaybackCTL for device Mic: _ucm0001.hw:emeidkbhifi
D: [pulseaudio] alsa-ucm.c: Got CaptureCTL for device Mic: _ucm0001.hw:emeidkbhifi
D: [pulseaudio] alsa-ucm.c: Got CapturePriority for device Mic: 100
I: [pulseaudio] alsa-ucm.c: UCM file does not specify 'CaptureChannels' for device Mic, assuming stereo.
D: [pulseaudio] alsa-ucm.c: No _conflictingdevs for device Mic
D: [pulseaudio] alsa-ucm.c: No _supporteddevs for device Mic
D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for device Speaker: _ucm0001.hw:emeidkbhifi
D: [pulseaudio] alsa-ucm.c: Got PlaybackCTL for device Speaker: _ucm0001.hw:emeidkbhifi
D: [pulseaudio] alsa-ucm.c: Got PlaybackPriority for device Speaker: 100
D: [pulseaudio] alsa-ucm.c: Got CaptureCTL for device Speaker: _ucm0001.hw:emeidkbhifi
I: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' for device Speaker, assuming stereo.
D: [pulseaudio] alsa-ucm.c: No _conflictingdevs for device Speaker
D: [pulseaudio] alsa-ucm.c: No _supporteddevs for device Speaker
I: [pulseaudio] module-alsa-card.c: Found UCM profiles
D: [pulseaudio] alsa-ucm.c: UCM mapping: HiFi: hw:emeidkbhifi: source dev Mic
D: [pulseaudio] alsa-ucm.c: UCM mapping: HiFi: hw:emeidkbhifi: sink dev Speaker
D: [pulseaudio] alsa-mixer.c: Profile HiFi (Play high quality music), input=(null), output=(null) priority=8000, supported=yes n_input_mappings=1, n_output_mappings=1
D: [pulseaudio] alsa-mixer.c: Input HiFi: hw:emeidkbhifi: source
D: [pulseaudio] alsa-mixer.c: Output HiFi: hw:emeidkbhifi: sink
I: [pulseaudio] alsa-ucm.c: Set ucm verb to HiFi
D: [pulseaudio] alsa-util.c: Trying _ucm0001.hw:emeidkbhifi with SND_PCM_NO_AUTO_FORMAT ...
D: [pulseaudio] alsa-util.c: Managed to open _ucm0001.hw:emeidkbhifi
D: [pulseaudio] alsa-util.c: Maximum hw buffer size is 116 ms
D: [pulseaudio] alsa-util.c: Set buffer size first (to 4408 samples), period size second (to 1102 samples).
D: [pulseaudio] alsa-util.c: Trying _ucm0001.hw:emeidkbhifi with SND_PCM_NO_AUTO_FORMAT ...
D: [pulseaudio] alsa-util.c: Managed to open _ucm0001.hw:emeidkbhifi
D: [pulseaudio] alsa-util.c: Maximum hw buffer size is 116 ms
D: [pulseaudio] alsa-util.c: Set buffer size first (to 4408 samples), period size second (to 1102 samples).
D: [pulseaudio] alsa-ucm.c: Profile HiFi supported.
D: [pulseaudio] alsa-mixer.c: Profile set 0xb2887dd0, auto_profiles=no, probed=yes, n_mappings=2, n_profiles=1, n_decibel_fixes=0
D: [pulseaudio] alsa-mixer.c: Mapping HiFi: hw:emeidkbhifi: source (Internal mic), priority=100, channel_map=front-left,front-right, supported=yes, direction=2
D: [pulseaudio] alsa-mixer.c: Mapping HiFi: hw:emeidkbhifi: sink (Internal speaker), priority=100, channel_map=front-left,front-right, supported=yes, direction=1
D: [pulseaudio] alsa-mixer.c: Profile HiFi (Play high quality music), input=(null), output=(null) priority=8000, supported=yes n_input_mappings=1, n_output_mappings=1
D: [pulseaudio] alsa-mixer.c: Input HiFi: hw:emeidkbhifi: source
D: [pulseaudio] alsa-mixer.c: Output HiFi: hw:emeidkbhifi: sink
D: [pulseaudio] alsa-ucm.c: Check device Speaker conformance with 0 other devices
D: [pulseaudio] alsa-ucm.c: First device in combination, number 1
D: [pulseaudio] alsa-ucm.c: Add port [Out] Speaker: Internal speaker
D: [pulseaudio] alsa-ucm.c: Port [Out] Speaker direction output, priority 100
D: [pulseaudio] alsa-ucm.c: Adding profile HiFi to port [Out] Speaker.
D: [pulseaudio] alsa-ucm.c: Check device Mic conformance with 0 other devices
D: [pulseaudio] alsa-ucm.c: First device in combination, number 1
D: [pulseaudio] alsa-ucm.c: Add port [In] Mic: Internal mic
D: [pulseaudio] alsa-ucm.c: Port [In] Mic direction input, priority 100
D: [pulseaudio] alsa-ucm.c: Adding profile HiFi to port [In] Mic.
I: [pulseaudio] module-card-restore.c: Restoring port latency offsets for card alsa_card.platform-emei-dkb-hifi.
D: [pulseaudio] module-alsa-card.c: Found 0 jacks.
D: [pulseaudio] card.c: Looking for initial profile for card alsa_card.platform-emei-dkb-hifi
D: [pulseaudio] card.c: HiFi availability unknown
D: [pulseaudio] card.c: off availability unknown
I: [pulseaudio] card.c: alsa_card.platform-emei-dkb-hifi: active_profile: HiFi
I: [pulseaudio] module-card-restore.c: Profile '' was previously automatically selected for card alsa_card.platform-emei-dkb-hifi.
I: [pulseaudio] card.c: Created 0 "alsa_card.platform-emei-dkb-hifi"
I: [pulseaudio] alsa-ucm.c: Set UCM verb to HiFi
I: [pulseaudio] alsa-ucm.c: Updating mixer path for HiFi: [Out] Speaker
I: [pulseaudio] alsa-ucm.c: Updating mixer path for HiFi: [In] Mic
D: [pulseaudio] reserve-wrap.c: Unable to contact D-Bus session bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
D: [pulseaudio] alsa-util.c: Trying _ucm0001.hw:emeidkbhifi with SND_PCM_NO_AUTO_FORMAT ...
D: [pulseaudio] alsa-util.c: Managed to open _ucm0001.hw:emeidkbhifi
I: [pulseaudio] alsa-util.c: Cannot disable ALSA period wakeups
D: [pulseaudio] alsa-util.c: Maximum hw buffer size is 116 ms
D: [pulseaudio] alsa-util.c: Set buffer size first (to 88200 samples), period size second (to 88200 samples).
I: [pulseaudio] alsa-util.c: ALSA period wakeups were not disabled
I: [pulseaudio] alsa-sink.c: Successfully opened device _ucm0001.hw:emeidkbhifi.
I: [pulseaudio] alsa-sink.c: Selected mapping 'Internal speaker' (HiFi: hw:emeidkbhifi: sink).
I: [pulseaudio] alsa-sink.c: Successfully enabled mmap() mode.
I: [pulseaudio] alsa-sink.c: Successfully enabled timer-based scheduling mode.
D: [pulseaudio] alsa-ucm.c: Check device Speaker conformance with 0 other devices
D: [pulseaudio] alsa-ucm.c: First device in combination, number 1
D: [pulseaudio] alsa-ucm.c: Port [Out] Speaker direction output, priority 100
I: [pulseaudio] alsa-util.c: Successfully attached to mixer '_ucm0001.hw:emeidkbhifi'
D: [pulseaudio] alsa-util.c: ALSA alias mixers: _ucm0001.hw:0 = _ucm0001.hw:emeidkbhifi
I: [pulseaudio] alsa-ucm.c: Updating mixer path for HiFi: [Out] Speaker
I: [pulseaudio] alsa-ucm.c: ALSA device _ucm0001.hw:emeidkbhifi roles: (null)
I: [pulseaudio] sink.c: Created sink 0 "alsa_output.platform-emei-dkb-hifi.HiFi__hw_emeidkbhifi__sink" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink.c: alsa.resolution_bits = "16"
I: [pulseaudio] sink.c: device.api = "alsa"
I: [pulseaudio] sink.c: device.class = "sound"
I: [pulseaudio] sink.c: alsa.class = "generic"
I: [pulseaudio] sink.c: alsa.subclass = "generic-mix"
I: [pulseaudio] sink.c: alsa.name = ""
I: [pulseaudio] sink.c: alsa.id = "audio playback 88pm805-i2s-0"
I: [pulseaudio] sink.c: alsa.subdevice = "0"
I: [pulseaudio] sink.c: alsa.subdevice_name = "subdevice #0"
I: [pulseaudio] sink.c: alsa.device = "0"
I: [pulseaudio] sink.c: alsa.card = "0"
I: [pulseaudio] sink.c: alsa.card_name = "emei-dkb-hifi"
I: [pulseaudio] sink.c: alsa.long_card_name = "emei-dkb-hifi"
I: [pulseaudio] sink.c: device.bus_path = "platform-emei-dkb-hifi"
I: [pulseaudio] sink.c: sysfs.path = "/devices/platform/emei-dkb-hifi/sound/card0"
I: [pulseaudio] sink.c: device.form_factor = "internal"
I: [pulseaudio] sink.c: device.string = "_ucm0001.hw:emeidkbhifi"
I: [pulseaudio] sink.c: device.buffering.buffer_size = "20480"
I: [pulseaudio] sink.c: device.buffering.fragment_size = "4096"
I: [pulseaudio] sink.c: device.access_mode = "mmap+timer"
I: [pulseaudio] sink.c: device.profile.name = "HiFi: hw:emeidkbhifi: sink"
I: [pulseaudio] sink.c: device.profile.description = "Internal speaker"
I: [pulseaudio] sink.c: alsa.mixer_device = "_ucm0001.hw:emeidkbhifi"
I: [pulseaudio] sink.c: device.description = "Built-in Audio Internal speaker"
I: [pulseaudio] sink.c: module-udev-detect.discovered = "1"
I: [pulseaudio] sink.c: device.icon_name = "audio-card"
I: [pulseaudio] source.c: Created source 0 "alsa_output.platform-emei-dkb-hifi.HiFi__hw_emeidkbhifi__sink.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c: device.description = "Monitor of Built-in Audio Internal speaker"
I: [pulseaudio] source.c: device.class = "monitor"
I: [pulseaudio] source.c: alsa.card = "0"
I: [pulseaudio] source.c: alsa.card_name = "emei-dkb-hifi"
I: [pulseaudio] source.c: alsa.long_card_name = "emei-dkb-hifi"
I: [pulseaudio] source.c: device.bus_path = "platform-emei-dkb-hifi"
I: [pulseaudio] source.c: sysfs.path = "/devices/platform/emei-dkb-hifi/sound/card0"
I: [pulseaudio] source.c: device.form_factor = "internal"
I: [pulseaudio] source.c: device.string = "0"
I: [pulseaudio] source.c: module-udev-detect.discovered = "1"
I: [pulseaudio] source.c: device.icon_name = "audio-card"
I: [pulseaudio] alsa-sink.c: Using 5.0 fragments of size 4096 bytes (23.22ms), buffer size is 20480 bytes (116.10ms)
I: [pulseaudio] alsa-sink.c: Time scheduling watermark is 20.00ms
D: [pulseaudio] alsa-sink.c: hwbuf_unused=0
D: [pulseaudio] alsa-sink.c: setting avail_min=4238
D: [pulseaudio] alsa-ucm.c: Enable ucm device Speaker
D: [pulseaudio] alsa-util.c: snd_pcm_dump():
D: [pulseaudio] alsa-util.c: Hardware PCM card 0 'emei-dkb-hifi' device 0 subdevice 0
D: [pulseaudio] alsa-util.c: Its setup is:
D: [pulseaudio] alsa-util.c: stream : PLAYBACK
D: [pulseaudio] alsa-util.c: access : MMAP_INTERLEAVED
D: [pulseaudio] alsa-util.c: format : S16_LE
D: [pulseaudio] alsa-util.c: subformat : STD
D: [pulseaudio] alsa-util.c: channels : 2
D: [pulseaudio] alsa-util.c: rate : 44100
D: [pulseaudio] alsa-util.c: exact rate : 44100 (44100/1)
D: [pulseaudio] alsa-util.c: msbits : 16
D: [pulseaudio] alsa-util.c: buffer_size : 5120
D: [pulseaudio] alsa-util.c: period_size : 1024
D: [pulseaudio] alsa-util.c: period_time : 23219
D: [pulseaudio] alsa-util.c: tstamp_mode : ENABLE
D: [pulseaudio] alsa-util.c: tstamp_type : MONOTONIC
D: [pulseaudio] alsa-util.c: period_step : 1
D: [pulseaudio] alsa-util.c: avail_min : 4238
D: [pulseaudio] alsa-util.c: period_event : 0
D: [pulseaudio] alsa-util.c: start_threshold : -1
D: [pulseaudio] alsa-util.c: stop_threshold : 1342177280
D: [pulseaudio] alsa-util.c: silence_threshold: 0
D: [pulseaudio] alsa-util.c: silence_size : 0
D: [pulseaudio] alsa-util.c: boundary : 1342177280
D: [pulseaudio] alsa-util.c: appl_ptr : 0
D: [pulseaudio] alsa-util.c: hw_ptr : 0
D: [alsa-sink-audio playback 88pm805-i2s-0] alsa-sink.c: Thread starting up
I: [alsa-sink-audio playback 88pm805-i2s-0] util.c: Failed to acquire real-time scheduling: Not supported
D: [pulseaudio] sink.c: alsa_output.platform-emei-dkb-hifi.HiFi__hw_emeidkbhifi__sink: state: INIT -> IDLE
Failed to handle SIGBUS.
Aborted