termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.36k stars 3.08k forks source link

[Bug]: Pulseaudio crashes on background #20797

Open MrRare2 opened 4 months ago

MrRare2 commented 4 months ago

Problem description

When something is played in Termux using Pulseaudio, leaving the app causes it to crash for no reason, I turned off all battery optimizations it still crashes

MrRare@localhost:~$ play music.mp3

music.mp3:

 File Size: 2.14M     Bit Rate: 128k
  Encoding: MPEG audio
  Channels: 2 @ 16-bit
Samplerate: 44100Hz
Replaygain: off
  Duration: 00:02:13.60

In:5.42% 00:00:07.24 [00:02:06.36] Out:319k  [ -====|====- ] Hd:5.9 Clip:0    play FAIL sox: `default' error writing to pulse audio device: Connection terminated: Operation not permitted
Done.
MrRare@localhost:~$

leaving the app, focusing on other apps (on split screen) causes pulseaudio to crash

What steps will reproduce the bug?

apt install sox pulseaudio
pulseaudio --start
play music.mp3

leave the app for a few seconds and open it again

What is the expected behavior?

It should not crash

System information

Termux Variables:
TERMUX_API_VERSION=0.50.1+adc835d
TERMUX_APK_RELEASE=GITHUB
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=19593
TERMUX_IS_DEBUGGABLE_BUILD=1
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.1
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://termux.mentality.rip/termux-main/ stable main
# x11-repo (sources.list.d/x11.list)
deb https://packages-cf.termux.dev/apt/termux-x11/ x11 main
Updatable packages:
clang/stable 18.1.8 aarch64 [upgradable from: 18.1.6]
cmake/stable 3.30.0 aarch64 [upgradable from: 3.29.5]
gh/stable 2.52.0 aarch64 [upgradable from: 2.50.0]
glib/stable 2.80.3 aarch64 [upgradable from: 2.80.2]
libcompiler-rt/stable 18.1.8 aarch64 [upgradable from: 18.1.6]
libllvm/stable 18.1.8 aarch64 [upgradable from: 18.1.6]
lld/stable 18.1.8 aarch64 [upgradable from: 18.1.6]
llvm/stable 18.1.8 aarch64 [upgradable from: 18.1.6]
openssh-sftp-server/stable 9.8p1-3 aarch64 [upgradable from: 9.7p1]
openssh/stable 9.8p1-3 aarch64 [upgradable from: 9.7p1]
termux-tools version:
1.42.4
Android version:
11
Kernel build information:
Linux localhost 4.19.127+ #1 SMP PREEMPT Mon Dec 4 23:55:45 CST 2023 aarch64 Android
Device manufacturer:
OPPO
Device model:
CPH2269
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.api versionCode:51
com.termux.styling versionCode:32
twaik commented 1 month ago

Unfortunately we are not able to help with this until you post pulseaudio's crash log.

MrRare2 commented 1 month ago

Here's a video showing the bug.

twaik commented 1 month ago

Video is not a crash log. It just shows us problem exists, but no details.

MrRare2 commented 1 month ago

I think I kind of fixed it.

Running pulseaudio on foreground then playing, then making Termux run on background works fine, but as soon as I don't make pulseaudio run on background, it just kills it when the app is on background.

maybe this is a phone issue...

twaik commented 1 month ago

Again, we are not able to say what is wrong until you post a crash log.

MrRare2 commented 1 month ago

Using sox's play

MrRare@localhost:~$ logcat *:IWE
--------- beginning of system
--------- beginning of main
10-21 21:30:10.291 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-21 21:30:10.292 31160 31160 I chatty  : uid=10299(com.termux.api) com.termux identical 4 lines
10-21 21:30:10.292 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-21 21:30:10.292 31160 31160 I InputTransport: Create ARC handle: 0x7c31db0820
10-21 21:30:11.104 31864 31864 W pulseaudio: [pulseaudio] pid.c: Stale PID file, overwriting.
10-21 21:30:11.123 31864 31866 E pulseaudio: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
10-21 21:30:11.124 31864 31866 I chatty  : uid=10299(com.termux.api) null-sink identical 3 lines
10-21 21:30:11.124 31864 31866 E pulseaudio: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
10-21 21:30:11.130 31864 31864 E pulseaudio: [pulseaudio] module-console-kit.c: Unable to contact D-Bus system bus: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
10-21 21:30:11.131 31864 31864 E pulseaudio: [pulseaudio] module.c: Failed to load module "module-console-kit" (argument: ""): initialization failed.
10-21 21:30:11.137 31864 31864 W pulseaudio: [pulseaudio] cli-command.c: stat('/data/data/com.termux/files/usr/etc/pulse/default.pa.d'): Unknown error 2
10-21 21:30:11.387 31864 31864 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
10-21 21:30:11.425 31864 31864 W pulseaudio: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
10-21 21:30:11.425 31864 31864 W pulseaudio: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
10-21 21:30:12.118 31160 31160 I InputTransport: Destroy ARC handle: 0x7c31db0820
10-21 21:30:12.158 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-21 21:30:12.158 31160 31160 I chatty  : uid=10299(com.termux.api) com.termux identical 4 lines
10-21 21:30:12.158 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-21 21:30:12.158 31160 31160 I InputTransport: Create ARC handle: 0x7c318289e0
10-21 21:30:14.175 31160 31160 I InputTransport: Destroy ARC handle: 0x7c318289e0
# Termux will be on background here... #
10-21 21:30:46.196 31160 31886 E Parcel  : Reading a NULL string not supported here.
10-21 21:30:46.204 31160 31887 I CCodec  : Created component [c2.android.vorbis.decoder]
10-21 21:30:46.210 31160 31887 I CCodecConfig: query failed after returning 7 values (BAD_INDEX)
10-21 21:30:46.214 31160 31887 W Codec2Client: query -- param skipped: index = 1107298332.
10-21 21:30:46.219 31160 31887 W Codec2Client: query -- param skipped: index = 1342179345.
10-21 21:30:46.220 31160 31887 W Codec2Client: query -- param skipped: index = 2415921170.
10-21 21:30:46.221 31160 31887 E FMQ     : grantorIdx must be less than 3
10-21 21:30:46.221 31160 31887 E FMQ     : grantorIdx must be less than 3
10-21 21:30:46.225 31160 31887 I CCodecBufferChannel: [c2.android.vorbis.decoder#625] Created output block pool with allocatorID 16 => poolID 15468 - OK
10-21 21:30:46.228 31160 31887 E FMQ     : grantorIdx must be less than 3
10-21 21:30:46.245 31160 31241 E FMQ     : grantorIdx must be less than 3
10-21 21:30:46.275 31160 31887 I chatty  : uid=10299(com.termux.api) NDK MediaCodec_ identical 1 line
10-21 21:30:46.278 31160 31887 I hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients

Using vlc

MrRare@localhost:~$ logcat *:IWE
--------- beginning of system
--------- beginning of main
10-21 21:32:55.656 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-21 21:32:55.657 31160 31160 I chatty  : uid=10299(com.termux.api) com.termux identical 4 lines
10-21 21:32:55.657 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-21 21:32:55.657 31160 31160 I InputTransport: Create ARC handle: 0x7c2a52f700
10-21 21:32:57.652 31160 31160 I InputTransport: Destroy ARC handle: 0x7c2a52f700
10-21 21:32:58.132 32467 32467 W pulseaudio: [pulseaudio] pid.c: Stale PID file, overwriting.
10-21 21:32:58.151 32467 32468 E pulseaudio: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
10-21 21:32:58.153 32467 32468 I chatty  : uid=10299(com.termux.api) null-sink identical 3 lines
10-21 21:32:58.154 32467 32468 E pulseaudio: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
10-21 21:32:58.159 32467 32467 E pulseaudio: [pulseaudio] module-console-kit.c: Unable to contact D-Bus system bus: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
10-21 21:32:58.160 32467 32467 E pulseaudio: [pulseaudio] module.c: Failed to load module "module-console-kit" (argument: ""): initialization failed.
10-21 21:32:58.168 32467 32467 W pulseaudio: [pulseaudio] cli-command.c: stat('/data/data/com.termux/files/usr/etc/pulse/default.pa.d'): Unknown error 2
10-21 21:32:58.192 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-21 21:32:58.193 31160 31160 I chatty  : uid=10299(com.termux.api) com.termux identical 4 lines
10-21 21:32:58.193 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-21 21:32:58.193 31160 31160 I InputTransport: Create ARC handle: 0x7c3192e1a0
10-21 21:32:58.481 32467 32467 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
10-21 21:32:58.516 32467 32467 W pulseaudio: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
10-21 21:32:58.516 32467 32467 W pulseaudio: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
10-21 21:32:58.528 32461 32461 E VLC     : [b400007f0635d5d0/7ecd] dbus interface: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
10-21 21:32:58.529 32461 32461 E VLC     : [b400007f0635d5d0/7ecd] main interface: no suitable interface module
10-21 21:32:58.529 32461 32461 E VLC     : [b400007f06232090/7ecd] main libvlc: interface "dbus,none" initialization failed
10-21 21:32:58.529 32461 32461 E VLC     : [b400007f0635d6b0/7ecd] main interface: no suitable interface module
10-21 21:32:58.529 32461 32461 E VLC     : [b400007f06232090/7ecd] main libvlc: interface "globalhotkeys,none" initialization failed
10-21 21:32:58.529 32461 32461 I VLC     : [b400007f06232090/7ecd] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
10-21 21:32:58.537 32461 32477 I VLC     : [b400007f0635d6b0/7edd] lua interface: Listening on host "*console".
10-21 21:33:00.188 31160 31160 I InputTransport: Destroy ARC handle: 0x7c3192e1a0
# Termux will be on background after this comment... #
10-21 21:33:36.544 31160 32590 E Parcel  : Reading a NULL string not supported here.
10-21 21:33:36.551 31160 32591 I CCodec  : Created component [c2.android.vorbis.decoder]
10-21 21:33:36.559 31160 32591 I CCodecConfig: query failed after returning 7 values (BAD_INDEX)
10-21 21:33:36.568 31160 32591 W Codec2Client: query -- param skipped: index = 1107298332.
10-21 21:33:36.573 31160 32591 W Codec2Client: query -- param skipped: index = 1342179345.
10-21 21:33:36.573 31160 32591 W Codec2Client: query -- param skipped: index = 2415921170.
10-21 21:33:36.574 31160 32591 E FMQ     : grantorIdx must be less than 3
10-21 21:33:36.575 31160 32591 E FMQ     : grantorIdx must be less than 3
10-21 21:33:36.582 31160 32591 I CCodecBufferChannel: [c2.android.vorbis.decoder#795] Created output block pool with allocatorID 16 => poolID 15476 - OK
10-21 21:33:36.587 31160 32591 E FMQ     : grantorIdx must be less than 3
10-21 21:33:36.606 31160 31241 E FMQ     : grantorIdx must be less than 3
10-21 21:33:36.643 31160 32591 I chatty  : uid=10299(com.termux.api) NDK MediaCodec_ identical 1 line
10-21 21:33:36.649 31160 32591 I hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
10-21 21:33:38.806 32461 32483 E VLC     : [b400007e70c30090/7ee3] vlcpulse audio output: cannot write: Connection terminated
10-21 21:33:39.071 32461 32483 I chatty  : uid=10299(com.termux.api) vlc identical 12 lines
10-21 21:33:39.117 32461 32483 E VLC     : [b400007e70c30090/7ee3] vlcpulse audio output: cannot write: Connection terminated
10-21 21:33:39.143 32461 32483 E VLC     : [b400007e70c30090/7ee3] vlcpulse audio output: cannot write: Connection terminated
10-21 21:33:39.143 32461 32483 E VLC     : [b400007e70c30090/7ee3] vlcpulse audio output: cannot write: Connection terminated
10-21 21:33:39.189 32461 32483 E VLC     : [b400007e70c30090/7ee3] vlcpulse audio output: cannot write: Connection terminated
10-21 21:33:39.190 32461 32483 E VLC     : [b400007e70c30090/7ee3] vlcpulse audio output: cannot write: Connection terminated
10-21 21:33:39.238 32461 32483 E VLC     : [b400007e70c30090/7ee3] vlcpulse audio output: cannot write: Connection terminated
10-21 21:33:39.358 32461 32483 I chatty  : uid=10299(com.termux.api) vlc identical 5 lines
10-21 21:33:39.358 32461 32483 E VLC     : [b400007e70c30090/7ee3] vlcpulse audio output: cannot write: Connection terminated
10-21 21:33:39.406 32461 32483 E VLC     : [b400007e70c30090/7ee3] vlcpulse audio output: cannot write: Connection terminated
10-21 21:33:39.910 32461 32483 I chatty  : uid=10299(com.termux.api) vlc identical 21 lines
10-21 21:33:39.910 32461 32483 E VLC     : [b400007e70c30090/7ee3] vlcpulse audio output: cannot write: Connection terminated
10-21 21:33:39.958 32461 32483 E VLC     : [b400007e70c30090/7ee3] vlcpulse audio output: cannot write: Connection terminated
10-21 21:33:39.958 32461 32483 E VLC     : [b400007e70c30090/7ee3] vlcpulse audio output: cannot write: Connection terminated
10-21 21:33:40.006 32461 32483 E VLC     : [b400007e70c30090/7ee3] vlcpulse audio output: cannot write: Connection terminated
10-21 21:33:40.462 32461 32483 I chatty  : uid=10299(com.termux.api) vlc identical 19 lines
10-21 21:33:40.463 32461 32483 E VLC     : [b400007e70c30090/7ee3] vlcpulse audio output: cannot write: Connection terminated
10-21 21:33:40.509 32461 32483 E VLC     : [b400007e70c30090/7ee3] vlcpulse audio output: cannot write: Connection terminated

edit: Surprisingly, the playback still continues when using mpv, but I got this Audio device underrun detected. warning.

idk if these are enough...

twaik commented 1 month ago

You told us pulseaudio is crashing, not its clients. We need a crash log of pulseaudio...

MrRare2 commented 1 month ago

Well, the main issue here is the playback stopped when I make the app run on background, and that's why on the logcat, were getting these "cannot write" errors, which I think only happens when pulseaudio crashed or is being killed, I already take the steps to make Termux run on background without the battery optimization taking place to stop the app from running on the background.

I just want to know if this problem from the device itself, a Termux misconfiguration(s), or pulseaudio itself.

also, I can't seem to find the pulseaudio logs though, where do I find the logs that pulseaudio created?

twaik commented 1 month ago

AFAIK it outputs to stdout and stderr.

MrRare2 commented 1 month ago
MrRare@localhost:~$ pulseaudio -vv --daemon
I: [pulseaudio] main.c: Daemon startup successful.
MrRare@localhost:~$ pulseaudio -vv --daemon
E: [pulseaudio] main.c: Daemon startup failed.
MrRare@localhost:~$ pulseaudio -vv --daemon
E: [pulseaudio] main.c: Daemon startup failed.
MrRare@localhost:~$ # Termux will be on the background now after this comment #
MrRare@localhost:~$ pulseaudio -vv --daemon
I: [pulseaudio] main.c: Daemon startup successful.
MrRare@localhost:~$
twaik commented 1 month ago

Try without --daemon to make sure it keeps printing.

MrRare2 commented 1 month ago
MrRare@localhost:~$ pulseaudio -vv I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Unknown error 1
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: setpriority() worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 17.0-dirty                 D: [pulseaudio] main.c: Compilation CFLAGS: Not yet supported on mesonD: [pulseaudio] main.c: Running on host: Linux aarch64 4.19.127+ #1 SMP PREEMPT Mon Dec 4 23:55:45 CST 2023
D: [pulseaudio] main.c: Found 8 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 30b3630367b0b0d259e95c4d66530c13.
I: [pulseaudio] main.c: Using runtime directory /data/data/com.termux/files/home/.config/pulse/30b3630367b0b0d259e95c4d66530c13-runtime.
I: [pulseaudio] main.c: Using state directory /data/data/com.termux/files/home/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /data/data/com.termux/files/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 65472
I: [pulseaudio] database.c: Successfully opened 'device-volumes' database file '/data/data/com.termux/files/home/.config/pulse/30b3630367b0b0d259e95c4d66530c13-device-volumes.simple'.
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: "").
I: [pulseaudio] database.c: Successfully opened 'stream-volumes' database file '/data/data/com.termux/files/home/.config/pulse/30b3630367b0b0d259e95c4d66530c13-stream-volumes.simple'.
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
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry1
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry2
I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1; argument: "").
I: [pulseaudio] database.c: Successfully opened 'card-database' database file '/data/data/com.termux/files/home/.config/pulse/30b3630367b0b0d259e95c4d66530c13-card-database.simple'.
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 '/data/data/com.termux/files/usr/lib/pulseaudio/modules/module-detect.so': success
D: [pulseaudio] module.c: Checking for existence of '/data/data/com.termux/files/usr/lib/pulseaudio/modules/module-jackdbus-detect.so': failure
D: [pulseaudio] module.c: Checking for existence of '/data/data/com.termux/files/usr/lib/pulseaudio/modules/module-esound-protocol-unix.so': failure
I: [pulseaudio] module.c: Loaded "module-native-protocol-unix" (index: #5; argument: "").
I: [pulseaudio] module-default-device-restore.c: No previous default sink setting, ignoring.
I: [pulseaudio] module-default-device-restore.c: No previous default source setting, ignoring.
I: [pulseaudio] module.c: Loaded "module-default-device-restore" (index: #6; argument: "").
D: [pulseaudio] module-always-sink.c: Autoloading null-sink as no other sinks detected.
I: [pulseaudio] sink.c: Created sink 0 "auto_null" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink.c:     device.description = "Dummy Output"
I: [pulseaudio] sink.c:     device.class = "abstract"
I: [pulseaudio] sink.c:     device.icon_name = "audio-card"
I: [pulseaudio] source.c: Created source 0 "auto_null.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c:     device.description = "Monitor of Dummy Output"
I: [pulseaudio] source.c:     device.class = "monitor"
I: [pulseaudio] source.c:     device.icon_name = "audio-input-microphone"
D: [null-sink] module-null-sink.c: Thread starting up
E: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
E: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
E: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
E: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
E: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
I: [null-sink] util.c: Failed to acquire real-time scheduling: Unknown error 5
D: [pulseaudio] sink.c: auto_null: state: INIT -> IDLE
D: [pulseaudio] source.c: auto_null.monitor: state: INIT -> IDLE
I: [pulseaudio] core.c: default_source: (unset) -> auto_null.monitor
I: [pulseaudio] core.c: default_sink: (unset) -> auto_null
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
I: [pulseaudio] module.c: Loaded "module-null-sink" (index: #8; argument: "sink_name=auto_null sink_properties='device.description="Dummy Output"'").
I: [pulseaudio] module.c: Loaded "module-always-sink" (index: #7; argument: "").
I: [pulseaudio] module.c: Loaded "module-intended-roles" (index: #9; argument: "").
D: [pulseaudio] module-suspend-on-idle.c: Sink auto_null becomes idle, timeout in 5 seconds.
I: [pulseaudio] module.c: Loaded "module-suspend-on-idle" (index: #10; argument: "").
D: [pulseaudio] module.c: Checking for existence of '/data/data/com.termux/files/usr/lib/pulseaudio/modules/module-console-kit.so': success
E: [pulseaudio] module-console-kit.c: Unable to contact D-Bus system bus: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
E: [pulseaudio] module.c: Failed to load module "module-console-kit" (argument: ""): initialization failed.
D: [pulseaudio] module.c: Checking for existence of '/data/data/com.termux/files/usr/lib/pulseaudio/modules/module-systemd-login.so': failure
I: [pulseaudio] module.c: Loaded "module-position-event-sounds" (index: #12; argument: "").
D: [pulseaudio] stream-interaction.c: Using role 'phone' as trigger role.
D: [pulseaudio] stream-interaction.c: Using roles 'music' and 'video' as cork roles.
I: [pulseaudio] module.c: Loaded "module-role-cork" (index: #13; argument: "").
I: [pulseaudio] module.c: Loaded "module-filter-heuristics" (index: #14; argument: "").
I: [pulseaudio] module.c: Loaded "module-filter-apply" (index: #15; argument: "").
W: [pulseaudio] cli-command.c: stat('/data/data/com.termux/files/usr/etc/pulse/default.pa.d'): Unknown error 2
I: [pulseaudio] sink.c: Created sink 1 "OpenSL_ES_sink" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink.c:     device.description = "OpenSL ES Output"
I: [pulseaudio] sink.c:     device.class = "abstract"
I: [pulseaudio] sink.c:     device.icon_name = "audio-card"
I: [pulseaudio] source.c: Created source 1 "OpenSL_ES_sink.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c:     device.description = "Monitor of OpenSL ES Output"
I: [pulseaudio] source.c:     device.class = "monitor"
I: [pulseaudio] source.c:     device.icon_name = "audio-input-microphone"
D: [sles-sink] module-sles-sink.c: Thread starting up
D: [pulseaudio] sink.c: OpenSL_ES_sink: state: INIT -> IDLE
D: [pulseaudio] source.c: OpenSL_ES_sink.monitor: state: INIT -> IDLE
D: [pulseaudio] module-suspend-on-idle.c: State of monitor source 'OpenSL_ES_sink.monitor' has changed, checking state of monitored sink
D: [pulseaudio] module-device-restore.c: Could not set format on sink OpenSL_ES_sink
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes idle, timeout in 5 seconds.
I: [pulseaudio] module-always-sink.c: A new sink has been discovered. Unloading null-sink.
I: [pulseaudio] module.c: Loaded "module-sles-sink" (index: #16; argument: "").
W: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
W: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
I: [pulseaudio] main.c: Daemon startup complete.
I: [pulseaudio] module.c: Unloading "module-null-sink" (index: #8).
I: [pulseaudio] core.c: default_sink: auto_null -> OpenSL_ES_sink
I: [pulseaudio] core.c: default_source: auto_null.monitor -> OpenSL_ES_sink.monitor
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [pulseaudio] source.c: auto_null.monitor: state: IDLE -> UNLINKED
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
D: [pulseaudio] sink.c: auto_null: state: IDLE -> UNLINKED
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
D: [null-sink] module-null-sink.c: Thread shutting down
I: [pulseaudio] sink.c: Freeing sink 0 "auto_null"
I: [pulseaudio] source.c: Freeing source 0 "auto_null.monitor"
I: [pulseaudio] module.c: Unloaded "module-null-sink" (index: #8).
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
I: [pulseaudio] client.c: Created 0 "Native client (UNIX socket client)"
D: [pulseaudio] protocol-native.c: Protocol version: remote 35, local 35
I: [pulseaudio] protocol-native.c: Got credentials: uid=10299 gid=10299 success=1
D: [pulseaudio] protocol-native.c: SHM possible: yes
D: [pulseaudio] protocol-native.c: Negotiated SHM: yes
D: [pulseaudio] protocol-native.c: Memfd possible: yes
D: [pulseaudio] protocol-native.c: Negotiated SHM type: shared memfd
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 65472
D: [pulseaudio] srbchannel.c: SHM block is 65472 bytes, ringbuffer capacity is 2 * 32712 bytes
D: [pulseaudio] protocol-native.c: Enabling srbchannel...
D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for sox
D: [pulseaudio] protocol-native.c: Client enabled srbchannel.
D: [pulseaudio] module-intended-roles.c: Not setting device for stream playback, because it lacks role.
D: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format = "\"s32le\""  format.rate = "44100"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
I: [pulseaudio] sink-input.c: Trying to change sample spec
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes busy, resuming.
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes idle, timeout in 5 seconds.
I: [pulseaudio] resampler.c: Forcing resampler 'copy', because of fixed, identical sample rates.
D: [pulseaudio] resampler.c: Resampler:
D: [pulseaudio] resampler.c:   rate 44100 -> 44100 (method copy)
D: [pulseaudio] resampler.c:   format s32le -> s16le (intermediate s16le)
D: [pulseaudio] resampler.c:   channels 2 -> 2 (resampling 2)
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=8, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=8, prebuf=0, minreq=8 maxrewind=0
I: [pulseaudio] sink-input.c: Created input 0 "playback" on OpenSL_ES_sink with sample spec s32le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink-input.c:     media.name = "playback"
I: [pulseaudio] sink-input.c:     application.name = "SoX"
I: [pulseaudio] sink-input.c:     native-protocol.peer = "UNIX socket client"
I: [pulseaudio] sink-input.c:     native-protocol.version = "35"
I: [pulseaudio] sink-input.c:     application.process.id = "31104"
I: [pulseaudio] sink-input.c:     application.process.user = "MrRare"
I: [pulseaudio] sink-input.c:     application.process.host = "localhost"
I: [pulseaudio] sink-input.c:     application.process.binary = "sox"
I: [pulseaudio] sink-input.c:     application.language = "C.UTF-8"
I: [pulseaudio] sink-input.c:     application.process.machine_id = "30b3630367b0b0d259e95c4d66530c13"
I: [pulseaudio] sink-input.c:     module-stream-restore.id = "sink-input-by-application-name:SoX"
I: [pulseaudio] protocol-native.c: Requested tlength=250.00 ms, minreq=20.00 ms
D: [pulseaudio] protocol-native.c: Adjust latency mode enabled, configuring sink latency to half of overall latency.
D: [pulseaudio] protocol-native.c: Requested latency=105.00 ms, Received latency=125.00 ms
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=58216, base=8, prebuf=51168, minreq=7056 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=58216, base=8, prebuf=51168, minreq=7056 maxrewind=0
I: [pulseaudio] protocol-native.c: Final latency 290.01 ms = 125.01 ms + 2*20.00 ms + 125.00 ms
D: [pulseaudio] sink.c: OpenSL_ES_sink: state: IDLE -> RUNNING
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes idle, timeout in 5 seconds.
D: [pulseaudio] sink.c: OpenSL_ES_sink: state: RUNNING -> IDLE
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes idle, timeout in 5 seconds.
D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.
I: [pulseaudio] sink-input.c: Freeing input 0 "playback"
I: [pulseaudio] client.c: Freed 0 "SoX"
I: [pulseaudio] protocol-native.c: Connection died.
I: [pulseaudio] client.c: Created 1 "Native client (UNIX socket client)"
D: [pulseaudio] protocol-native.c: Protocol version: remote 35, local 35
I: [pulseaudio] protocol-native.c: Got credentials: uid=10299 gid=10299 success=1
D: [pulseaudio] protocol-native.c: SHM possible: yes
D: [pulseaudio] protocol-native.c: Negotiated SHM: yes
D: [pulseaudio] protocol-native.c: Memfd possible: yes
D: [pulseaudio] protocol-native.c: Negotiated SHM type: shared memfd
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 65472
D: [pulseaudio] srbchannel.c: SHM block is 65472 bytes, ringbuffer capacity is 2 * 32712 bytes
D: [pulseaudio] protocol-native.c: Enabling srbchannel...
D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for sox
D: [pulseaudio] protocol-native.c: Client enabled srbchannel.
D: [pulseaudio] module-intended-roles.c: Not setting device for stream playback, because it lacks role.
D: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format = "\"s32le\""  format.rate = "44100"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
I: [pulseaudio] sink-input.c: Trying to change sample spec
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes busy, resuming.
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes idle, timeout in 5 seconds.
I: [pulseaudio] resampler.c: Forcing resampler 'copy', because of fixed, identical sample rates.
D: [pulseaudio] resampler.c: Resampler:
D: [pulseaudio] resampler.c:   rate 44100 -> 44100 (method copy)
D: [pulseaudio] resampler.c:   format s32le -> s16le (intermediate s16le)
D: [pulseaudio] resampler.c:   channels 2 -> 2 (resampling 2)
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=8, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=8, prebuf=0, minreq=8 maxrewind=0
I: [pulseaudio] sink-input.c: Created input 1 "playback" on OpenSL_ES_sink with sample spec s32le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink-input.c:     media.name = "playback"
I: [pulseaudio] sink-input.c:     application.name = "SoX"
I: [pulseaudio] sink-input.c:     native-protocol.peer = "UNIX socket client"
I: [pulseaudio] sink-input.c:     native-protocol.version = "35"
I: [pulseaudio] sink-input.c:     application.process.id = "31104"
I: [pulseaudio] sink-input.c:     application.process.user = "MrRare"
I: [pulseaudio] sink-input.c:     application.process.host = "localhost"
I: [pulseaudio] sink-input.c:     application.process.binary = "sox"
I: [pulseaudio] sink-input.c:     application.language = "C.UTF-8"
I: [pulseaudio] sink-input.c:     application.process.machine_id = "30b3630367b0b0d259e95c4d66530c13"
I: [pulseaudio] sink-input.c:     module-stream-restore.id = "sink-input-by-application-name:SoX"
I: [pulseaudio] protocol-native.c: Requested tlength=250.00 ms, minreq=20.00 ms
D: [pulseaudio] protocol-native.c: Adjust latency mode enabled, configuring sink latency to half of overall latency.
D: [pulseaudio] protocol-native.c: Requested latency=105.00 ms, Received latency=125.00 ms
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=58216, base=8, prebuf=51168, minreq=7056 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=58216, base=8, prebuf=51168, minreq=7056 maxrewind=0
I: [pulseaudio] protocol-native.c: Final latency 290.01 ms = 125.01 ms + 2*20.00 ms + 125.00 ms
D: [pulseaudio] sink.c: OpenSL_ES_sink: state: IDLE -> RUNNING
D: [sles-sink] protocol-native.c: Requesting rewind due to end of underrun.
# Termux will be on background after this comment #
D: [sles-sink] protocol-native.c: Implicit drain of 'playback'
D: [sles-sink] protocol-native.c: Drain acknowledged of 'playback'
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes idle, timeout in 5 seconds.
D: [pulseaudio] sink.c: OpenSL_ES_sink: state: RUNNING -> IDLE
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes idle, timeout in 5 seconds.
D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.
I: [pulseaudio] sink-input.c: Freeing input 1 "playback"
I: [pulseaudio] client.c: Freed 1 "SoX"
I: [pulseaudio] protocol-native.c: Connection died.
I: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink idle for too long, suspending ...
D: [pulseaudio] sink.c: OpenSL_ES_sink: suspend_cause: (none) -> IDLE
D: [pulseaudio] sink.c: OpenSL_ES_sink: state: IDLE -> SUSPENDED
D: [pulseaudio] source.c: OpenSL_ES_sink.monitor: suspend_cause: (none) -> IDLE
D: [pulseaudio] source.c: OpenSL_ES_sink.monitor: state: IDLE -> SUSPENDED
D: [pulseaudio] module-suspend-on-idle.c: State of monitor source 'OpenSL_ES_sink.monitor' has changed, checking state of monitored sink
D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.
I: [pulseaudio] core.c: We are idle, quitting...
I: [pulseaudio] main.c: Daemon shutdown initiated.
I: [pulseaudio] module.c: Unloading "module-sles-sink" (index: #16).
D: [pulseaudio] module-always-sink.c: Autoloading null-sink as no other sinks detected.
I: [pulseaudio] sink.c: Created sink 2 "auto_null" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink.c:     device.description = "Dummy Output"
I: [pulseaudio] sink.c:     device.class = "abstract"
I: [pulseaudio] sink.c:     device.icon_name = "audio-card"
I: [pulseaudio] source.c: Created source 2 "auto_null.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c:     device.description = "Monitor of Dummy Output"
I: [pulseaudio] source.c:     device.class = "monitor"
I: [pulseaudio] source.c:     device.icon_name = "audio-input-microphone"
D: [null-sink] module-null-sink.c: Thread starting up
E: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
E: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
E: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
E: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
E: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
I: [null-sink] util.c: Failed to acquire real-time scheduling: Unknown error 5
D: [pulseaudio] sink.c: auto_null: state: INIT -> IDLE
D: [pulseaudio] source.c: auto_null.monitor: state: INIT -> IDLE
D: [pulseaudio] module-suspend-on-idle.c: State of monitor source 'auto_null.monitor' has changed, checking state of monitored sink
D: [pulseaudio] module-suspend-on-idle.c: Sink auto_null becomes idle, timeout in 5 seconds.
I: [pulseaudio] module.c: Loaded "module-null-sink" (index: #17; argument: "sink_name=auto_null sink_properties='device.description="Dummy Output"'").
I: [pulseaudio] core.c: default_sink: OpenSL_ES_sink -> auto_null
I: [pulseaudio] core.c: default_source: OpenSL_ES_sink.monitor -> auto_null.monitor
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [pulseaudio] source.c: OpenSL_ES_sink.monitor: state: SUSPENDED -> UNLINKED
D: [pulseaudio] sink.c: OpenSL_ES_sink: state: SUSPENDED -> UNLINKED
D: [sles-sink] module-sles-sink.c: Thread shutting down
I: [pulseaudio] sink.c: Freeing sink 1 "OpenSL_ES_sink"
I: [pulseaudio] source.c: Freeing source 1 "OpenSL_ES_sink.monitor"
I: [pulseaudio] module.c: Unloaded "module-sles-sink" (index: #16).
I: [pulseaudio] module.c: Unloading "module-filter-apply" (index: #15).
I: [pulseaudio] module.c: Unloaded "module-filter-apply" (index: #15).
I: [pulseaudio] module.c: Unloading "module-filter-heuristics" (index: #14).
I: [pulseaudio] module.c: Unloaded "module-filter-heuristics" (index: #14).
I: [pulseaudio] module.c: Unloading "module-role-cork" (index: #13).
I: [pulseaudio] module.c: Unloaded "module-role-cork" (index: #13).
I: [pulseaudio] module.c: Unloading "module-position-event-sounds" (index: #12).
I: [pulseaudio] module.c: Unloaded "module-position-event-sounds" (index: #12).
I: [pulseaudio] module.c: Unloading "module-suspend-on-idle" (index: #10).
I: [pulseaudio] module.c: Unloaded "module-suspend-on-idle" (index: #10).
I: [pulseaudio] module.c: Unloading "module-intended-roles" (index: #9).
I: [pulseaudio] module.c: Unloaded "module-intended-roles" (index: #9).
I: [pulseaudio] module.c: Unloading "module-always-sink" (index: #7).
I: [pulseaudio] module.c: Unloaded "module-always-sink" (index: #7).
I: [pulseaudio] module.c: Unloading "module-default-device-restore" (index: #6).
I: [pulseaudio] module.c: Unloaded "module-default-device-restore" (index: #6).
I: [pulseaudio] module.c: Unloading "module-native-protocol-unix" (index: #5).
I: [pulseaudio] module.c: Unloaded "module-native-protocol-unix" (index: #5).
I: [pulseaudio] module.c: Unloading "module-switch-on-port-available" (index: #4).
I: [pulseaudio] module.c: Unloaded "module-switch-on-port-available" (index: #4).
I: [pulseaudio] module.c: Unloading "module-augment-properties" (index: #3).
I: [pulseaudio] module.c: Unloaded "module-augment-properties" (index: #3).
I: [pulseaudio] module.c: Unloading "module-card-restore" (index: #2).
I: [pulseaudio] module.c: Unloaded "module-card-restore" (index: #2).
I: [pulseaudio] module.c: Unloading "module-stream-restore" (index: #1).
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1 removed from object /org/pulseaudio/stream_restore1
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry removed from object /org/pulseaudio/stream_restore1/entry0
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry removed from object /org/pulseaudio/stream_restore1/entry1
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry removed from object /org/pulseaudio/stream_restore1/entry2
I: [pulseaudio] module.c: Unloaded "module-stream-restore" (index: #1).
I: [pulseaudio] module.c: Unloading "module-device-restore" (index: #0).
I: [pulseaudio] module.c: Unloaded "module-device-restore" (index: #0).
W: [pulseaudio] module.c: After module unload, module 'module-null-sink' was still loaded!
I: [pulseaudio] module.c: Unloading "module-null-sink" (index: #17).
I: [pulseaudio] core.c: default_sink: auto_null -> (unset)
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
I: [pulseaudio] core.c: default_source: auto_null.monitor -> (unset)
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [pulseaudio] source.c: auto_null.monitor: state: IDLE -> UNLINKED
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
D: [pulseaudio] sink.c: auto_null: state: IDLE -> UNLINKED
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
D: [null-sink] module-null-sink.c: Thread shutting down
I: [pulseaudio] sink.c: Freeing sink 2 "auto_null"
I: [pulseaudio] source.c: Freeing source 2 "auto_null.monitor"
I: [pulseaudio] module.c: Unloaded "module-null-sink" (index: #17).
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
I: [pulseaudio] main.c: Daemon terminated.
MrRare@localhost:~$ 

It seems to run just fine when pulseaudio is on the foreground, but as a daemon (edit: background service), I think that's when the playback start stopping when Termux is on background.

twaik commented 1 month ago

Try pulseaudio -vv --log-target=file:log --daemon.

MrRare2 commented 1 month ago
MrRare@localhost:~$ cat log
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Unknown error 1
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: setpriority() worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 17.0-dirty
D: [pulseaudio] main.c: Compilation CFLAGS: Not yet supported on meson
D: [pulseaudio] main.c: Running on host: Linux aarch64 4.19.127+ #1 SMP PREEMPT Mon Dec 4 23:55:45 CST 2023
D: [pulseaudio] main.c: Found 8 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 30b3630367b0b0d259e95c4d66530c13.
I: [pulseaudio] main.c: Using runtime directory /data/data/com.termux/files/home/.config/pulse/30b3630367b0b0d259e95c4d66530c13-runtime.
I: [pulseaudio] main.c: Using state directory /data/data/com.termux/files/home/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /data/data/com.termux/files/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 65472
I: [pulseaudio] database.c: Successfully opened 'device-volumes' database file '/data/data/com.termux/files/home/.config/pulse/30b3630367b0b0d259e95c4d66530c13-device-volumes.simple'.
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: "").
I: [pulseaudio] database.c: Successfully opened 'stream-volumes' database file '/data/data/com.termux/files/home/.config/pulse/30b3630367b0b0d259e95c4d66530c13-stream-volumes.simple'.
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
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry1
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry2
I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1; argument: "").
I: [pulseaudio] database.c: Successfully opened 'card-database' database file '/data/data/com.termux/files/home/.config/pulse/30b3630367b0b0d259e95c4d66530c13-card-database.simple'.
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 '/data/data/com.termux/files/usr/lib/pulseaudio/modules/module-detect.so': success
D: [pulseaudio] module.c: Checking for existence of '/data/data/com.termux/files/usr/lib/pulseaudio/modules/module-jackdbus-detect.so': failure
D: [pulseaudio] module.c: Checking for existence of '/data/data/com.termux/files/usr/lib/pulseaudio/modules/module-esound-protocol-unix.so': failure
I: [pulseaudio] module.c: Loaded "module-native-protocol-unix" (index: #5; argument: "").
I: [pulseaudio] module-default-device-restore.c: No previous default sink setting, ignoring.
I: [pulseaudio] module-default-device-restore.c: No previous default source setting, ignoring.
I: [pulseaudio] module.c: Loaded "module-default-device-restore" (index: #6; argument: "").
D: [pulseaudio] module-always-sink.c: Autoloading null-sink as no other sinks detected.
I: [pulseaudio] sink.c: Created sink 0 "auto_null" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink.c:     device.description = "Dummy Output"
I: [pulseaudio] sink.c:     device.class = "abstract"
I: [pulseaudio] sink.c:     device.icon_name = "audio-card"
I: [pulseaudio] source.c: Created source 0 "auto_null.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c:     device.description = "Monitor of Dummy Output"
I: [pulseaudio] source.c:     device.class = "monitor"
I: [pulseaudio] source.c:     device.icon_name = "audio-input-microphone"
D: [null-sink] module-null-sink.c: Thread starting up
E: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
E: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
E: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
E: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
E: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
I: [null-sink] util.c: Failed to acquire real-time scheduling: Unknown error 5
D: [pulseaudio] sink.c: auto_null: state: INIT -> IDLE
D: [pulseaudio] source.c: auto_null.monitor: state: INIT -> IDLE
I: [pulseaudio] core.c: default_source: (unset) -> auto_null.monitor
I: [pulseaudio] core.c: default_sink: (unset) -> auto_null
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
I: [pulseaudio] module.c: Loaded "module-null-sink" (index: #8; argument: "sink_name=auto_null sink_properties='device.description="Dummy Output"'").
I: [pulseaudio] module.c: Loaded "module-always-sink" (index: #7; argument: "").
I: [pulseaudio] module.c: Loaded "module-intended-roles" (index: #9; argument: "").
D: [pulseaudio] module-suspend-on-idle.c: Sink auto_null becomes idle, timeout in 5 seconds.
I: [pulseaudio] module.c: Loaded "module-suspend-on-idle" (index: #10; argument: "").
D: [pulseaudio] module.c: Checking for existence of '/data/data/com.termux/files/usr/lib/pulseaudio/modules/module-console-kit.so': success
E: [pulseaudio] module-console-kit.c: Unable to contact D-Bus system bus: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
E: [pulseaudio] module.c: Failed to load module "module-console-kit" (argument: ""): initialization failed.
D: [pulseaudio] module.c: Checking for existence of '/data/data/com.termux/files/usr/lib/pulseaudio/modules/module-systemd-login.so': failure
I: [pulseaudio] module.c: Loaded "module-position-event-sounds" (index: #12; argument: "").
D: [pulseaudio] stream-interaction.c: Using role 'phone' as trigger role.
D: [pulseaudio] stream-interaction.c: Using roles 'music' and 'video' as cork roles.
I: [pulseaudio] module.c: Loaded "module-role-cork" (index: #13; argument: "").
I: [pulseaudio] module.c: Loaded "module-filter-heuristics" (index: #14; argument: "").
I: [pulseaudio] module.c: Loaded "module-filter-apply" (index: #15; argument: "").
W: [pulseaudio] cli-command.c: stat('/data/data/com.termux/files/usr/etc/pulse/default.pa.d'): Unknown error 2
I: [pulseaudio] sink.c: Created sink 1 "OpenSL_ES_sink" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink.c:     device.description = "OpenSL ES Output"
I: [pulseaudio] sink.c:     device.class = "abstract"
I: [pulseaudio] sink.c:     device.icon_name = "audio-card"
I: [pulseaudio] source.c: Created source 1 "OpenSL_ES_sink.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c:     device.description = "Monitor of OpenSL ES Output"
I: [pulseaudio] source.c:     device.class = "monitor"
I: [pulseaudio] source.c:     device.icon_name = "audio-input-microphone"
D: [sles-sink] module-sles-sink.c: Thread starting up
D: [pulseaudio] sink.c: OpenSL_ES_sink: state: INIT -> IDLE
D: [pulseaudio] source.c: OpenSL_ES_sink.monitor: state: INIT -> IDLE
D: [pulseaudio] module-suspend-on-idle.c: State of monitor source 'OpenSL_ES_sink.monitor' has changed, checking state of monitored sink
D: [pulseaudio] module-device-restore.c: Could not set format on sink OpenSL_ES_sink
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes idle, timeout in 5 seconds.
I: [pulseaudio] module-always-sink.c: A new sink has been discovered. Unloading null-sink.
I: [pulseaudio] module.c: Loaded "module-sles-sink" (index: #16; argument: "").
W: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
W: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
I: [pulseaudio] main.c: Daemon startup complete.
I: [pulseaudio] module.c: Unloading "module-null-sink" (index: #8).
I: [pulseaudio] core.c: default_sink: auto_null -> OpenSL_ES_sink
I: [pulseaudio] core.c: default_source: auto_null.monitor -> OpenSL_ES_sink.monitor
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
I: [pulseaudio] main.c: Daemon startup successful.
D: [pulseaudio] source.c: auto_null.monitor: state: IDLE -> UNLINKED
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
D: [pulseaudio] sink.c: auto_null: state: IDLE -> UNLINKED
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
D: [null-sink] module-null-sink.c: Thread shutting down
I: [pulseaudio] sink.c: Freeing sink 0 "auto_null"
I: [pulseaudio] source.c: Freeing source 0 "auto_null.monitor"
I: [pulseaudio] module.c: Unloaded "module-null-sink" (index: #8).
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
I: [pulseaudio] client.c: Created 0 "Native client (UNIX socket client)"
D: [pulseaudio] protocol-native.c: Protocol version: remote 35, local 35
I: [pulseaudio] protocol-native.c: Got credentials: uid=10299 gid=10299 success=1
D: [pulseaudio] protocol-native.c: SHM possible: yes
D: [pulseaudio] protocol-native.c: Negotiated SHM: yes
D: [pulseaudio] protocol-native.c: Memfd possible: yes
D: [pulseaudio] protocol-native.c: Negotiated SHM type: shared memfd
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 65472
D: [pulseaudio] srbchannel.c: SHM block is 65472 bytes, ringbuffer capacity is 2 * 32712 bytes
D: [pulseaudio] protocol-native.c: Enabling srbchannel...
D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for sox
D: [pulseaudio] protocol-native.c: Client enabled srbchannel.
D: [pulseaudio] module-intended-roles.c: Not setting device for stream playback, because it lacks role.
D: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format = "\"s32le\""  format.rate = "44100"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
I: [pulseaudio] sink-input.c: Trying to change sample spec
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes busy, resuming.
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes idle, timeout in 5 seconds.
I: [pulseaudio] resampler.c: Forcing resampler 'copy', because of fixed, identical sample rates.
D: [pulseaudio] resampler.c: Resampler:
D: [pulseaudio] resampler.c:   rate 44100 -> 44100 (method copy)
D: [pulseaudio] resampler.c:   format s32le -> s16le (intermediate s16le)
D: [pulseaudio] resampler.c:   channels 2 -> 2 (resampling 2)
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=8, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=8, prebuf=0, minreq=8 maxrewind=0
I: [pulseaudio] sink-input.c: Created input 0 "playback" on OpenSL_ES_sink with sample spec s32le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink-input.c:     media.name = "playback"
I: [pulseaudio] sink-input.c:     application.name = "SoX"
I: [pulseaudio] sink-input.c:     native-protocol.peer = "UNIX socket client"
I: [pulseaudio] sink-input.c:     native-protocol.version = "35"
I: [pulseaudio] sink-input.c:     application.process.id = "9253"
I: [pulseaudio] sink-input.c:     application.process.user = "MrRare"
I: [pulseaudio] sink-input.c:     application.process.host = "localhost"
I: [pulseaudio] sink-input.c:     application.process.binary = "sox"
I: [pulseaudio] sink-input.c:     application.language = "C.UTF-8"
I: [pulseaudio] sink-input.c:     application.process.machine_id = "30b3630367b0b0d259e95c4d66530c13"
I: [pulseaudio] sink-input.c:     module-stream-restore.id = "sink-input-by-application-name:SoX"
I: [pulseaudio] protocol-native.c: Requested tlength=250.00 ms, minreq=20.00 ms
D: [pulseaudio] protocol-native.c: Adjust latency mode enabled, configuring sink latency to half of overall latency.
D: [pulseaudio] protocol-native.c: Requested latency=105.00 ms, Received latency=125.00 ms
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=58216, base=8, prebuf=51168, minreq=7056 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=58216, base=8, prebuf=51168, minreq=7056 maxrewind=0
I: [pulseaudio] protocol-native.c: Final latency 290.01 ms = 125.01 ms + 2*20.00 ms + 125.00 ms
D: [pulseaudio] sink.c: OpenSL_ES_sink: state: IDLE -> RUNNING
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes idle, timeout in 5 seconds.
D: [pulseaudio] sink.c: OpenSL_ES_sink: state: RUNNING -> IDLE
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes idle, timeout in 5 seconds.
D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.
I: [pulseaudio] sink-input.c: Freeing input 0 "playback"
I: [pulseaudio] client.c: Freed 0 "SoX"
I: [pulseaudio] protocol-native.c: Connection died.
I: [pulseaudio] client.c: Created 1 "Native client (UNIX socket client)"
D: [pulseaudio] protocol-native.c: Protocol version: remote 35, local 35
I: [pulseaudio] protocol-native.c: Got credentials: uid=10299 gid=10299 success=1
D: [pulseaudio] protocol-native.c: SHM possible: yes
D: [pulseaudio] protocol-native.c: Negotiated SHM: yes
D: [pulseaudio] protocol-native.c: Memfd possible: yes
D: [pulseaudio] protocol-native.c: Negotiated SHM type: shared memfd
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 65472
D: [pulseaudio] srbchannel.c: SHM block is 65472 bytes, ringbuffer capacity is 2 * 32712 bytes
D: [pulseaudio] protocol-native.c: Enabling srbchannel...
D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for sox
D: [pulseaudio] protocol-native.c: Client enabled srbchannel.
D: [pulseaudio] module-intended-roles.c: Not setting device for stream playback, because it lacks role.
D: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format = "\"s32le\""  format.rate = "44100"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
I: [pulseaudio] sink-input.c: Trying to change sample spec
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes busy, resuming.
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes idle, timeout in 5 seconds.
I: [pulseaudio] resampler.c: Forcing resampler 'copy', because of fixed, identical sample rates.
D: [pulseaudio] resampler.c: Resampler:
D: [pulseaudio] resampler.c:   rate 44100 -> 44100 (method copy)
D: [pulseaudio] resampler.c:   format s32le -> s16le (intermediate s16le)
D: [pulseaudio] resampler.c:   channels 2 -> 2 (resampling 2)
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=8, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=8, prebuf=0, minreq=8 maxrewind=0
I: [pulseaudio] sink-input.c: Created input 1 "playback" on OpenSL_ES_sink with sample spec s32le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink-input.c:     media.name = "playback"
I: [pulseaudio] sink-input.c:     application.name = "SoX"
I: [pulseaudio] sink-input.c:     native-protocol.peer = "UNIX socket client"
I: [pulseaudio] sink-input.c:     native-protocol.version = "35"
I: [pulseaudio] sink-input.c:     application.process.id = "9253"
I: [pulseaudio] sink-input.c:     application.process.user = "MrRare"
I: [pulseaudio] sink-input.c:     application.process.host = "localhost"
I: [pulseaudio] sink-input.c:     application.process.binary = "sox"
I: [pulseaudio] sink-input.c:     application.language = "C.UTF-8"
I: [pulseaudio] sink-input.c:     application.process.machine_id = "30b3630367b0b0d259e95c4d66530c13"
I: [pulseaudio] sink-input.c:     module-stream-restore.id = "sink-input-by-application-name:SoX"
I: [pulseaudio] protocol-native.c: Requested tlength=250.00 ms, minreq=20.00 ms
D: [pulseaudio] protocol-native.c: Adjust latency mode enabled, configuring sink latency to half of overall latency.
D: [pulseaudio] protocol-native.c: Requested latency=105.00 ms, Received latency=125.00 ms
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=58216, base=8, prebuf=51168, minreq=7056 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=58216, base=8, prebuf=51168, minreq=7056 maxrewind=0
I: [pulseaudio] protocol-native.c: Final latency 290.01 ms = 125.01 ms + 2*20.00 ms + 125.00 ms
D: [pulseaudio] sink.c: OpenSL_ES_sink: state: IDLE -> RUNNING
D: [sles-sink] protocol-native.c: Requesting rewind due to end of underrun.
MrRare@localhost:~$

This time, it crashed play and vlc (or unexpected playback stop)

twaik commented 1 month ago

And logcat output please right after pulseaudio crashes? But please, run logcat -c right before starting pulseaudio.

MrRare2 commented 1 month ago
MrRare@localhost:~$ logcat -c; logcat *:IME
--------- beginning of main
10-24 01:49:29.596 31160 31160 I InputTransport: Destroy ARC handle: 0x7c31927ec0
--------- beginning of system
^C
MrRare@localhost:~$ logcat -c; logcat *:IME
--------- beginning of system
--------- beginning of main
10-24 01:49:35.305 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:49:35.306 31160 31160 I chatty  : uid=10299(com.termux.api) com.termux identical 4 lines
10-24 01:49:35.307 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:49:35.307 31160 31160 I InputTransport: Create ARC handle: 0x7c2a52f440
10-24 01:49:35.826 25364 25364 W pulseaudio: [pulseaudio] pid.c: Stale PID file, overwriting.
10-24 01:49:35.846 25364 25365 E pulseaudio: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
10-24 01:49:35.846 25364 25365 I chatty  : uid=10299(com.termux.api) null-sink identical 3 lines
10-24 01:49:35.846 25364 25365 E pulseaudio: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
10-24 01:49:35.851 25364 25364 E pulseaudio: [pulseaudio] module-console-kit.c: Unable to contact D-Bus system bus: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
10-24 01:49:35.852 25364 25364 E pulseaudio: [pulseaudio] module.c: Failed to load module "module-console-kit" (argument: ""): initialization failed.
10-24 01:49:35.859 25364 25364 W pulseaudio: [pulseaudio] cli-command.c: stat('/data/data/com.termux/files/usr/etc/pulse/default.pa.d'): Unknown error 2
10-24 01:49:36.137 25364 25364 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
10-24 01:49:36.195 25364 25364 W pulseaudio: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
10-24 01:49:36.195 25364 25364 W pulseaudio: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
10-24 01:49:36.561 31160 31160 I InputTransport: Destroy ARC handle: 0x7c2a52f440
10-24 01:49:36.596 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:49:36.597 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:49:36.597 31160 31160 I chatty  : uid=10299(com.termux.api) com.termux identical 3 lines
10-24 01:49:36.597 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:49:36.598 31160 31160 I InputTransport: Create ARC handle: 0x7c31aa9b00
10-24 01:49:37.286 25425 25425 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:49:38.370 25452 25452 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:49:38.610 31160 31160 I InputTransport: Destroy ARC handle: 0x7c31aa9b00
10-24 01:49:39.456 25466 25466 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:49:40.537 25482 25482 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:49:41.654 25494 25494 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:49:42.741 25503 25503 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:49:43.825 25521 25521 W pulseaudio: [pulseaudio] pid.c: Stale PID file, overwriting.
10-24 01:49:43.844 25521 25522 E pulseaudio: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
10-24 01:49:43.845 25521 25522 I chatty  : uid=10299(com.termux.api) null-sink identical 3 lines
10-24 01:49:43.845 25521 25522 E pulseaudio: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
10-24 01:49:43.850 25521 25521 E pulseaudio: [pulseaudio] module-console-kit.c: Unable to contact D-Bus system bus: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
10-24 01:49:43.850 25521 25521 E pulseaudio: [pulseaudio] module.c: Failed to load module "module-console-kit" (argument: ""): initialization failed.
10-24 01:49:43.857 25521 25521 W pulseaudio: [pulseaudio] cli-command.c: stat('/data/data/com.termux/files/usr/etc/pulse/default.pa.d'): Unknown error 2
10-24 01:49:43.974 31160 31174 I com.termux: Background concurrent copying GC freed 326714(12MB) AllocSpace objects, 7(204KB) LOS objects, 66% free, 6862KB/20MB, paused 149us total 127.413ms
10-24 01:49:44.162 25521 25521 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
10-24 01:49:44.208 25521 25521 W pulseaudio: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
10-24 01:49:44.209 25521 25521 W pulseaudio: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
10-24 01:49:45.295 25630 25630 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:49:46.386 25639 25639 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:49:46.468 25640 25640 I libc    : SetHeapTaggingLevel: tag level set to 0
10-24 01:49:46.479 25640 25640 I com.termux.api: Late-enabling -Xcheck:jni
10-24 01:49:46.533 25640 25640 I com.termux.api: Unquickening 23 vdex files!
10-24 01:49:46.534 25640 25640 E com.termux.api: Unknown bits set in runtime_flags: 0x40000000
10-24 01:49:46.565 25640 25640 E RefClass: java.lang.reflect.InvocationTargetException
10-24 01:49:46.566 25640 25640 I OneTrace: Mark active for pid=25640? true
10-24 01:49:46.609 25640 25640 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusScreenModeFeature
10-24 01:49:46.609 25640 25640 I oplus.android.OplusFrameworkFactoryImpl: getOplusScreenModeFeature
10-24 01:49:46.639 25640 25640 E libc    : Access denied finding property "ro.odm.prev.product.name"
10-24 01:49:47.183 31160 25676 E Parcel  : Reading a NULL string not supported here.
10-24 01:49:47.191 31160 25677 I CCodec  : Created component [c2.android.vorbis.decoder]
10-24 01:49:47.198 31160 25677 I CCodecConfig: query failed after returning 7 values (BAD_INDEX)
10-24 01:49:47.204 31160 25677 W Codec2Client: query -- param skipped: index = 1107298332.
10-24 01:49:47.206 31160 25677 W Codec2Client: query -- param skipped: index = 1342179345.
10-24 01:49:47.206 31160 25677 W Codec2Client: query -- param skipped: index = 2415921170.
10-24 01:49:47.207 31160 25677 E FMQ     : grantorIdx must be less than 3
10-24 01:49:47.208 31160 25677 E FMQ     : grantorIdx must be less than 3
10-24 01:49:47.211 31160 25677 I CCodecBufferChannel: [c2.android.vorbis.decoder#1] Created output block pool with allocatorID 16 => poolID 17902 - OK
10-24 01:49:47.214 31160 25677 E FMQ     : grantorIdx must be less than 3
10-24 01:49:47.228 31160 31241 E FMQ     : grantorIdx must be less than 3
10-24 01:49:47.260 31160 25677 I chatty  : uid=10299(com.termux.api) NDK MediaCodec_ identical 1 line
10-24 01:49:47.266 31160 25677 I hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
10-24 01:49:47.499 25684 25684 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:49:48.596 25731 25731 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:50:09.087 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:50:09.088 31160 31160 I chatty  : uid=10299(com.termux.api) com.termux identical 4 lines
10-24 01:50:09.088 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:50:09.088 31160 31160 I InputTransport: Create ARC handle: 0x7c90c5cc20
10-24 01:50:09.110 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:50:09.110 31160 31160 I chatty  : uid=10299(com.termux.api) com.termux identical 4 lines
10-24 01:50:09.110 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:50:09.111 31160 31160 I InputTransport: Create ARC handle: 0x7c90d74880
10-24 01:50:09.224 31160 31160 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
10-24 01:50:09.224 31160 31160 I chatty  : uid=10299(com.termux.api) com.termux identical 2 lines
10-24 01:50:09.224 31160 31160 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
10-24 01:50:09.547 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:50:09.548 31160 31160 I chatty  : uid=10299(com.termux.api) com.termux identical 4 lines
10-24 01:50:09.548 31160 31160 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:50:09.548 31160 31160 I InputTransport: Create ARC handle: 0x7c322cfc00
10-24 01:50:09.688 31160 31160 I InputTransport: Destroy ARC handle: 0x7c322cfc00
10-24 01:50:10.132 31160 31160 I InputTransport: Destroy ARC handle: 0x7c90c5cc20

I just opened a new terminal session (which launches the daemon because bash), and put Termux to background then go back, and this happened

twaik commented 1 month ago

The log says the daemon is already running. Try to force-stop termux and start over.

MrRare2 commented 1 month ago
Welcome to Termux!

Community forum: https://termux.com/community
Gitter chat:     https://gitter.im/termux/termux
IRC channel:     #termux on libera.chat

Working with packages:

 * Search packages:   pkg search <query>
 * Install a package: pkg install <package>
 * Upgrade packages:  pkg upgrade

Subscribing to additional repositories:

 * Root:     pkg install root-repo
 * X11:      pkg install x11-repo

Report issues at https://termux.com/issues

MrRare@localhost:~$ logcat *:IME   --------- beginning of main
10-24 01:59:19.168 31010 31010 I libc    : SetHeapTaggingLevel: tag level set to 0
10-24 01:59:19.181 31010 31010 I com.termux: Late-enabling -Xcheck:jni
10-24 01:59:19.232 31010 31010 I com.termux: Unquickening 23 vdex files!
10-24 01:59:19.233 31010 31010 E com.termux: Unknown bits set in runtime_flags: 0x40000000
10-24 01:59:19.259 31010 31010 E RefClass: java.lang.reflect.InvocationTargetException
10-24 01:59:19.261 31010 31010 I OneTrace: Mark active for pid=31010? true
10-24 01:59:19.324 31010 31010 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusScreenModeFeature
10-24 01:59:19.324 31010 31010 I oplus.android.OplusFrameworkFactoryImpl: getOplusScreenModeFeature
10-24 01:59:19.365 31010 31010 E libc    : Access denied finding property "ro.odm.prev.product.name"
10-24 01:59:19.662 31010 31038 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:59:19.693 31010 31010 I oplus.android.OplusFrameworkFactoryImpl: getOplusRedPacketManager
--------- beginning of system
10-24 01:59:19.946 31010 31010 E OplusCustomizeRestrictionManager: sInstance is null, start a new sInstance
10-24 01:59:20.099 31010 31010 I SurfaceFactory: [static] sSurfaceFactory = com.mediatek.view.impl.SurfaceFactoryImpl@fde7e3c
10-24 01:59:20.102 31010 31042 E Parcel  : Reading a NULL string not supported here.
10-24 01:59:20.108 31010 31043 I Codec2Client: Available Codec2 services: "software"
10-24 01:59:20.124 31010 31043 I CCodec  : Created component [c2.android.vorbis.decoder]
10-24 01:59:20.131 31010 31043 I CCodecConfig: query failed after returning 7 values (BAD_INDEX)
10-24 01:59:20.135 31010 31043 W Codec2Client: query -- param skipped: index = 1107298332.
10-24 01:59:20.137 31010 31043 W Codec2Client: query -- param skipped: index = 1342179345.
10-24 01:59:20.137 31010 31043 W Codec2Client: query -- param skipped: index = 2415921170.
10-24 01:59:20.138 31010 31043 E FMQ     : grantorIdx must be less than 3
10-24 01:59:20.139 31010 31043 E FMQ     : grantorIdx must be less than 3
10-24 01:59:20.141 31010 31043 I CCodecBufferChannel: [c2.android.vorbis.decoder#228] Created output block pool with allocatorID 16 => poolID 17924 - OK
10-24 01:59:20.142 31010 31043 E ion     : ioctl c0044901 failed with code -1: Invalid argument
10-24 01:59:20.145 31010 31010 I OplusFeatureCache: Milliseconds spent on init(): 38
10-24 01:59:20.146 31010 31043 E FMQ     : grantorIdx must be less than 3
10-24 01:59:20.156 31010 31047 E FMQ     : grantorIdx must be less than 3
10-24 01:59:20.186 31010 31010 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:59:20.187 31010 31043 I chatty  : uid=10299(com.termux.api) com.termux identical 1 line
10-24 01:59:20.188 31010 31010 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:59:20.189 31010 31010 I chatty  : uid=10299(com.termux.api) com.termux identical 3 lines
10-24 01:59:20.189 31010 31010 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:59:20.189 31010 31043 I hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
10-24 01:59:20.189 31010 31010 I InputTransport: Create ARC handle: 0x7ca45ddac0
10-24 01:59:20.564 31010 31036 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:59:20.573 31010 31036 I libMEOW_gift: try to register callback & init again
10-24 01:59:20.574 31010 31036 E Parcel  : Reading a NULL string not supported here.
10-24 01:59:20.576 31010 31036 E Parcel  : Reading a NULL string not supported here.
10-24 01:59:20.588 31010 31036 I libMEOW_gift: ctx:0x7c9d618680, ARC not Enabled.
10-24 01:59:20.589 31010 31036 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:59:20.591 31010 31036 I chatty  : uid=10299(com.termux.api) RenderThread identical 7 lines
10-24 01:59:20.591 31010 31036 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:59:20.591 31010 31036 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:59:20.597 31010 31036 I chatty  : uid=10299(com.termux.api) RenderThread identical 56 lines
10-24 01:59:20.598 31010 31036 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:59:20.845 31010 31036 E ion     : ioctl c0044901 failed with code -1: Invalid argument
10-24 01:59:20.978 31010 31010 W com.termux: Accessing hidden field Ljava/io/FileDescriptor;->descriptor:I (greylist, reflection, allowed)
10-24 01:59:21.099 31010 31010 E ScreenmodeClient:  display mode not support
10-24 01:59:21.323 31010 31010 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:59:21.324 31010 31010 I chatty  : uid=10299(com.termux.api) com.termux identical 4 lines
10-24 01:59:21.324 31010 31010 E libEGL  : Invalid file path for libcolorx-loader.so
10-24 01:59:21.325 31010 31010 I InputTransport: Create ARC handle: 0x7c37214720
10-24 01:59:21.927 31111 31111 W pulseaudio: [pulseaudio] pid.c: Stale PID file, overwriting.
10-24 01:59:22.009 31111 31112 E pulseaudio: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
10-24 01:59:22.010 31111 31112 I chatty  : uid=10299(com.termux.api) pulseaudio identical 3 lines
10-24 01:59:22.010 31111 31112 E pulseaudio: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
10-24 01:59:22.023 31111 31111 E pulseaudio: [pulseaudio] module-console-kit.c: Unable to contact D-Bus system bus: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
10-24 01:59:22.023 31111 31111 E pulseaudio: [pulseaudio] module.c: Failed to load module "module-console-kit" (argument: ""): initialization failed.
10-24 01:59:22.037 31111 31111 W pulseaudio: [pulseaudio] cli-command.c: stat('/data/data/com.termux/files/usr/etc/pulse/default.pa.d'): Unknown error 2
10-24 01:59:23.079 31111 31111 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
10-24 01:59:23.284 31111 31228 E libOpenSLES: frameworks/wilhelm/src/itf/IBufferQueue.cpp:56: pthread_mutex_lock_timeout_np returned 110
10-24 01:59:23.342 31111 31111 W pulseaudio: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
10-24 01:59:23.343 31111 31111 W pulseaudio: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
10-24 01:59:23.374 31010 31010 I InputTransport: Destroy ARC handle: 0x7c37214720
10-24 01:59:23.450 31236 31236 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:59:24.534 31248 31248 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:59:25.636 31259 31259 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:59:26.008 31010 31010 I OplusBaseSystemVibrator: SystemVibrator vibrate is uid= 10299,opPkg =com.termux,duration=50,effect=OneShot{mDuration=50, mAmplitude=-1},Binder.getCallingPid()=31010
10-24 01:59:26.158 31010 31010 I OplusBaseSystemVibrator: SystemVibrator vibrate is uid= 10299,opPkg =com.termux,duration=50,effect=OneShot{mDuration=50, mAmplitude=-1},Binder.getCallingPid()=31010
10-24 01:59:26.307 31010 31010 I OplusBaseSystemVibrator: SystemVibrator vibrate is uid= 10299,opPkg =com.termux,duration=50,effect=OneShot{mDuration=50, mAmplitude=-1},Binder.getCallingPid()=31010
10-24 01:59:26.718 31268 31268 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:59:27.800 31283 31283 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:59:28.893 31293 31293 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:59:29.976 31307 31307 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:59:31.061 31325 31325 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:59:32.145 31336 31336 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:59:33.228 31345 31345 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:59:34.306 31355 31355 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:59:35.382 31364 31364 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:59:36.463 31373 31373 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:59:37.590 31382 31382 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:59:38.696 31400 31400 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:59:39.799 31435 31435 E pulseaudio: [pulseaudio] pid.c: Daemon already running.
10-24 01:59:40.922 31468 31468 W pulseaudio: [pulseaudio] pid.c: Stale PID file, overwriting.
10-24 01:59:40.961 31468 31469 E pulseaudio: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
10-24 01:59:40.961 31468 31469 I chatty  : uid=10299(com.termux.api) null-sink identical 3 lines
10-24 01:59:40.961 31468 31469 E pulseaudio: [null-sink] util.c: Failed to connect to system bus: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
10-24 01:59:40.970 31468 31468 E pulseaudio: [pulseaudio] module-console-kit.c: Unable to contact D-Bus system bus: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /data/data/com.termux/files/usr/var/run/dbus/system_bus_socket: No such file or directory
10-24 01:59:40.970 31468 31468 E pulseaudio: [pulseaudio] module.c: Failed to load module "module-console-kit" (argument: ""): initialization failed.
10-24 01:59:40.978 31468 31468 W pulseaudio: [pulseaudio] cli-command.c: stat('/data/data/com.termux/files/usr/etc/pulse/default.pa.d'): Unknown error 2
10-24 01:59:41.407 31468 31468 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
10-24 01:59:41.480 31468 31468 W pulseaudio: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
10-24 01:59:41.480 31468 31468 W pulseaudio: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
10-24 01:59:46.487 31010 31536 E Parcel  : Reading a NULL string not supported here.
10-24 01:59:46.515 31010 31537 I CCodec  : Created component [c2.android.vorbis.decoder]
10-24 01:59:46.522 31010 31537 I CCodecConfig: query failed after returning 7 values (BAD_INDEX)
10-24 01:59:46.526 31010 31537 W Codec2Client: query -- param skipped: index = 1107298332.
10-24 01:59:46.530 31010 31537 W Codec2Client: query -- param skipped: index = 1342179345.
10-24 01:59:46.530 31010 31537 W Codec2Client: query -- param skipped: index = 2415921170.
10-24 01:59:46.532 31010 31537 E FMQ     : grantorIdx must be less than 3
10-24 01:59:46.533 31010 31537 E FMQ     : grantorIdx must be less than 3
10-24 01:59:46.535 31010 31537 I CCodecBufferChannel: [c2.android.vorbis.decoder#191] Created output block pool with allocatorID 16 => poolID 17930 - OK
10-24 01:59:46.539 31010 31537 E FMQ     : grantorIdx must be less than 3
10-24 01:59:46.554 31010 31047 E FMQ     : grantorIdx must be less than 3
10-24 01:59:46.656 31010 31537 I chatty  : uid=10299(com.termux.api) NDK MediaCodec_ identical 1 line
10-24 01:59:46.658 31010 31537 I hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
twaik commented 1 month ago

Did pulseaudio crash? Because there is nothing in logs.

MrRare2 commented 1 month ago

It just stop spamming that "Daemon already running" after I put Termux (in) background and came back

truboxl commented 4 weeks ago

Have you try termux-wake-lock?

MrRare2 commented 3 weeks ago

It still stops playback.